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 Date
createdDate
protected Date
createdDateAfter
protected Date
createdDateBefore
protected String
id
protected 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 DatabaseContentObjectQueryImpl
createdDate(Date createdDate)
Only select rendition items created on the given timeDatabaseContentObjectQueryImpl
createdDateAfter(Date createdDateAfter)
Only select rendition items created after the given timeDatabaseContentObjectQueryImpl
createdDateBefore(Date createdDateBefore)
Only select rendition items created before the given timelong
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 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:DatabaseContentObjectQuery
Only select rendition items with the given id.- Specified by:
id
in interfaceDatabaseContentObjectQuery
-
ids
public DatabaseContentObjectQueryImpl ids(Set<String> ids)
Description copied from interface:DatabaseContentObjectQuery
Only select rendition items with the given ids.- Specified by:
ids
in interfaceDatabaseContentObjectQuery
-
createdDate
public DatabaseContentObjectQueryImpl createdDate(Date createdDate)
Description copied from interface:DatabaseContentObjectQuery
Only select rendition items created on the given time- Specified by:
createdDate
in interfaceDatabaseContentObjectQuery
-
createdDateBefore
public DatabaseContentObjectQueryImpl createdDateBefore(Date createdDateBefore)
Description copied from interface:DatabaseContentObjectQuery
Only select rendition items created before the given time- Specified by:
createdDateBefore
in interfaceDatabaseContentObjectQuery
-
createdDateAfter
public DatabaseContentObjectQueryImpl createdDateAfter(Date createdDateAfter)
Description copied from interface:DatabaseContentObjectQuery
Only select rendition items created after the given time- Specified by:
createdDateAfter
in interfaceDatabaseContentObjectQuery
-
orderByCreatedDate
public DatabaseContentObjectQuery 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(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<DatabaseContentObjectQuery,DatabaseContentObject>
-
executeList
public List<DatabaseContentObject> executeList(CommandContext commandContext)
- Specified by:
executeList
in classAbstractQuery<DatabaseContentObjectQuery,DatabaseContentObject>
-
getId
public String getId()
- Specified by:
getId
in interfaceCacheAwareQuery<DatabaseContentObjectEntity>
-
getCreatedDate
public Date getCreatedDate()
-
getCreatedDateBefore
public Date getCreatedDateBefore()
-
getCreatedDateAfter
public Date getCreatedDateAfter()
-
-