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
,org.flowable.common.engine.api.query.CacheAwareQuery<DatabaseContentObjectEntity>
,org.flowable.common.engine.api.query.Query<DatabaseContentObjectQuery,
,DatabaseContentObject> org.flowable.common.engine.impl.interceptor.Command<Object>
public class DatabaseContentObjectQueryImpl
extends org.flowable.common.engine.impl.query.AbstractQuery<DatabaseContentObjectQuery,DatabaseContentObject>
implements DatabaseContentObjectQuery, org.flowable.common.engine.api.query.CacheAwareQuery<DatabaseContentObjectEntity>, Serializable
- Author:
- Yvo Swillens
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.db.ListQueryParameterObject.OrderBy, org.flowable.common.engine.impl.db.ListQueryParameterObject.ResultType
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
org.flowable.common.engine.api.query.Query.NullHandlingOnOrder
-
Field Summary
FieldsFields 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, ignoreOrderBy, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
-
Constructor Summary
ConstructorsConstructorDescriptionDatabaseContentObjectQueryImpl
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) DatabaseContentObjectQueryImpl
(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptioncreatedDate
(Date createdDate) Only select rendition items created on the given timecreatedDateAfter
(Date createdDateAfter) Only select rendition items created after the given timecreatedDateBefore
(Date createdDateBefore) Only select rendition items created before the given timelong
executeCount
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) executeList
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) getId()
getIds()
Only select rendition items with the given id.Only select rendition items with the given ids.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, getSafeList, 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, setIgnoreOrderBy, 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
Methods inherited from interface org.flowable.common.engine.api.query.Query
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
-
Field Details
-
id
-
ids
-
createdDate
-
createdDateBefore
-
createdDateAfter
-
-
Constructor Details
-
DatabaseContentObjectQueryImpl
public DatabaseContentObjectQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
DatabaseContentObjectQueryImpl
public DatabaseContentObjectQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
-
Method Details
-
id
Description copied from interface:DatabaseContentObjectQuery
Only select rendition items with the given id.- Specified by:
id
in interfaceDatabaseContentObjectQuery
-
ids
Description copied from interface:DatabaseContentObjectQuery
Only select rendition items with the given ids.- Specified by:
ids
in interfaceDatabaseContentObjectQuery
-
createdDate
Description copied from interface:DatabaseContentObjectQuery
Only select rendition items created on the given time- Specified by:
createdDate
in interfaceDatabaseContentObjectQuery
-
createdDateBefore
Description copied from interface:DatabaseContentObjectQuery
Only select rendition items created before the given time- Specified by:
createdDateBefore
in interfaceDatabaseContentObjectQuery
-
createdDateAfter
Description copied from interface:DatabaseContentObjectQuery
Only select rendition items created after the given time- Specified by:
createdDateAfter
in interfaceDatabaseContentObjectQuery
-
orderByCreatedDate
Description copied from interface:DatabaseContentObjectQuery
Order by created date (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByCreatedDate
in interfaceDatabaseContentObjectQuery
-
executeCount
public long executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
executeCount
in classorg.flowable.common.engine.impl.query.AbstractQuery<DatabaseContentObjectQuery,
DatabaseContentObject>
-
executeList
public List<DatabaseContentObject> executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
executeList
in classorg.flowable.common.engine.impl.query.AbstractQuery<DatabaseContentObjectQuery,
DatabaseContentObject>
-
getId
- Specified by:
getId
in interfaceorg.flowable.common.engine.api.query.CacheAwareQuery<DatabaseContentObjectEntity>
-
getIds
-
getCreatedDate
-
getCreatedDateBefore
-
getCreatedDateAfter
-