public class DatabaseContentObjectQueryImpl extends AbstractQuery<DatabaseContentObjectQuery,DatabaseContentObject> implements DatabaseContentObjectQuery, CacheAwareQuery<DatabaseContentObjectEntity>, Serializable
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeQuery.NullHandlingOnOrder| Modifier and Type | Field and Description |
|---|---|
protected Date |
createdDate |
protected Date |
createdDateAfter |
protected Date |
createdDateBefore |
protected String |
id |
protected Set<String> |
ids |
commandContext, commandExecutordatabaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC| Constructor and Description |
|---|
DatabaseContentObjectQueryImpl(CommandContext commandContext) |
DatabaseContentObjectQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
DatabaseContentObjectQueryImpl |
createdDate(Date createdDate)
Only select rendition items created on the given time
|
DatabaseContentObjectQueryImpl |
createdDateAfter(Date createdDateAfter)
Only select rendition items created after the given time
|
DatabaseContentObjectQueryImpl |
createdDateBefore(Date createdDateBefore)
Only select rendition items created before the given time
|
long |
executeCount(CommandContext commandContext) |
List<DatabaseContentObject> |
executeList(CommandContext commandContext) |
Date |
getCreatedDate() |
Date |
getCreatedDateAfter() |
Date |
getCreatedDateBefore() |
String |
getId() |
Set<String> |
getIds() |
DatabaseContentObjectQueryImpl |
id(String id)
Only select rendition items with the given id.
|
DatabaseContentObjectQueryImpl |
ids(Set<String> ids)
Only select rendition items with the given ids.
|
DatabaseContentObjectQuery |
orderByCreatedDate()
Order by created date (needs to be followed by
Query.asc() or Query.desc()). |
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultaddOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasc, count, desc, list, listPage, orderBy, orderBy, singleResultenhanceCachedValueprotected String id
protected Date createdDate
protected Date createdDateBefore
protected Date createdDateAfter
public DatabaseContentObjectQueryImpl(CommandContext commandContext)
public DatabaseContentObjectQueryImpl(CommandExecutor commandExecutor)
public DatabaseContentObjectQueryImpl id(String id)
DatabaseContentObjectQueryid in interface DatabaseContentObjectQuerypublic DatabaseContentObjectQueryImpl ids(Set<String> ids)
DatabaseContentObjectQueryids in interface DatabaseContentObjectQuerypublic DatabaseContentObjectQueryImpl createdDate(Date createdDate)
DatabaseContentObjectQuerycreatedDate in interface DatabaseContentObjectQuerypublic DatabaseContentObjectQueryImpl createdDateBefore(Date createdDateBefore)
DatabaseContentObjectQuerycreatedDateBefore in interface DatabaseContentObjectQuerypublic DatabaseContentObjectQueryImpl createdDateAfter(Date createdDateAfter)
DatabaseContentObjectQuerycreatedDateAfter in interface DatabaseContentObjectQuerypublic DatabaseContentObjectQuery orderByCreatedDate()
DatabaseContentObjectQueryQuery.asc() or Query.desc()).orderByCreatedDate in interface DatabaseContentObjectQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<DatabaseContentObjectQuery,DatabaseContentObject>public List<DatabaseContentObject> executeList(CommandContext commandContext)
executeList in class AbstractQuery<DatabaseContentObjectQuery,DatabaseContentObject>public String getId()
getId in interface CacheAwareQuery<DatabaseContentObjectEntity>public Date getCreatedDate()
public Date getCreatedDateBefore()
public Date getCreatedDateAfter()