public class DatabaseContentObjectQueryImpl extends AbstractQuery<DatabaseContentObjectQuery,DatabaseContentObject> implements DatabaseContentObjectQuery, CacheAwareQuery<DatabaseContentObjectEntity>, Serializable
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultType
Query.NullHandlingOnOrder
Modifier and Type | Field and Description |
---|---|
protected Date |
createdDate |
protected Date |
createdDateAfter |
protected Date |
createdDateBefore |
protected String |
id |
protected Set<String> |
ids |
commandContext, commandExecutor
databaseType, 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, singleResult
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
enhanceCachedValue
protected String id
protected Date createdDate
protected Date createdDateBefore
protected Date createdDateAfter
public DatabaseContentObjectQueryImpl(CommandContext commandContext)
public DatabaseContentObjectQueryImpl(CommandExecutor commandExecutor)
public DatabaseContentObjectQueryImpl id(String id)
DatabaseContentObjectQuery
id
in interface DatabaseContentObjectQuery
public DatabaseContentObjectQueryImpl ids(Set<String> ids)
DatabaseContentObjectQuery
ids
in interface DatabaseContentObjectQuery
public DatabaseContentObjectQueryImpl createdDate(Date createdDate)
DatabaseContentObjectQuery
createdDate
in interface DatabaseContentObjectQuery
public DatabaseContentObjectQueryImpl createdDateBefore(Date createdDateBefore)
DatabaseContentObjectQuery
createdDateBefore
in interface DatabaseContentObjectQuery
public DatabaseContentObjectQueryImpl createdDateAfter(Date createdDateAfter)
DatabaseContentObjectQuery
createdDateAfter
in interface DatabaseContentObjectQuery
public DatabaseContentObjectQuery orderByCreatedDate()
DatabaseContentObjectQuery
Query.asc()
or Query.desc()
).orderByCreatedDate
in interface DatabaseContentObjectQuery
public 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()