Package com.flowable.content.engine.impl
Class DatabaseContentObjectQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<DatabaseContentObjectQuery,DatabaseContentObject>
-
- com.flowable.content.engine.impl.DatabaseContentObjectQueryImpl
-
- All Implemented Interfaces:
DatabaseContentObjectQuery,Serializable,CacheAwareQuery<DatabaseContentObjectEntity>,Query<DatabaseContentObjectQuery,DatabaseContentObject>,Command<Object>
public class DatabaseContentObjectQueryImpl extends AbstractQuery<DatabaseContentObjectQuery,DatabaseContentObject> implements DatabaseContentObjectQuery, CacheAwareQuery<DatabaseContentObjectEntity>, Serializable
- Author:
- Yvo Swillens
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultType
-
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
-
Field Summary
Fields Modifier and Type Field Description protected DatecreatedDateprotected DatecreatedDateAfterprotected DatecreatedDateBeforeprotected Stringidprotected Set<String>ids-
Fields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutor
-
Fields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
-
-
Constructor Summary
Constructors Constructor Description DatabaseContentObjectQueryImpl(CommandContext commandContext)DatabaseContentObjectQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseContentObjectQueryImplcreatedDate(Date createdDate)Only select rendition items created on the given timeDatabaseContentObjectQueryImplcreatedDateAfter(Date createdDateAfter)Only select rendition items created after the given timeDatabaseContentObjectQueryImplcreatedDateBefore(Date createdDateBefore)Only select rendition items created before the given timelongexecuteCount(CommandContext commandContext)List<DatabaseContentObject>executeList(CommandContext commandContext)DategetCreatedDate()DategetCreatedDateAfter()DategetCreatedDateBefore()StringgetId()Set<String>getIds()DatabaseContentObjectQueryImplid(String id)Only select rendition items with the given id.DatabaseContentObjectQueryImplids(Set<String> ids)Only select rendition items with the given ids.DatabaseContentObjectQueryorderByCreatedDate()Order by created date (needs to be followed byQuery.asc()orQuery.desc()).-
Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResult
-
Methods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.flowable.common.engine.api.query.CacheAwareQuery
enhanceCachedValue
-
-
-
-
Constructor Detail
-
DatabaseContentObjectQueryImpl
public DatabaseContentObjectQueryImpl(CommandContext commandContext)
-
DatabaseContentObjectQueryImpl
public DatabaseContentObjectQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
id
public DatabaseContentObjectQueryImpl id(String id)
Description copied from interface:DatabaseContentObjectQueryOnly select rendition items with the given id.- Specified by:
idin interfaceDatabaseContentObjectQuery
-
ids
public DatabaseContentObjectQueryImpl ids(Set<String> ids)
Description copied from interface:DatabaseContentObjectQueryOnly select rendition items with the given ids.- Specified by:
idsin interfaceDatabaseContentObjectQuery
-
createdDate
public DatabaseContentObjectQueryImpl createdDate(Date createdDate)
Description copied from interface:DatabaseContentObjectQueryOnly select rendition items created on the given time- Specified by:
createdDatein interfaceDatabaseContentObjectQuery
-
createdDateBefore
public DatabaseContentObjectQueryImpl createdDateBefore(Date createdDateBefore)
Description copied from interface:DatabaseContentObjectQueryOnly select rendition items created before the given time- Specified by:
createdDateBeforein interfaceDatabaseContentObjectQuery
-
createdDateAfter
public DatabaseContentObjectQueryImpl createdDateAfter(Date createdDateAfter)
Description copied from interface:DatabaseContentObjectQueryOnly select rendition items created after the given time- Specified by:
createdDateAfterin interfaceDatabaseContentObjectQuery
-
orderByCreatedDate
public DatabaseContentObjectQuery orderByCreatedDate()
Description copied from interface:DatabaseContentObjectQueryOrder by created date (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByCreatedDatein interfaceDatabaseContentObjectQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<DatabaseContentObjectQuery,DatabaseContentObject>
-
executeList
public List<DatabaseContentObject> executeList(CommandContext commandContext)
- Specified by:
executeListin classAbstractQuery<DatabaseContentObjectQuery,DatabaseContentObject>
-
getId
public String getId()
- Specified by:
getIdin interfaceCacheAwareQuery<DatabaseContentObjectEntity>
-
getCreatedDate
public Date getCreatedDate()
-
getCreatedDateBefore
public Date getCreatedDateBefore()
-
getCreatedDateAfter
public Date getCreatedDateAfter()
-
-