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
,java.io.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<java.lang.Object>
public class DatabaseContentObjectQueryImpl extends org.flowable.common.engine.impl.query.AbstractQuery<DatabaseContentObjectQuery,DatabaseContentObject> implements DatabaseContentObjectQuery, org.flowable.common.engine.api.query.CacheAwareQuery<DatabaseContentObjectEntity>, java.io.Serializable
- Author:
- Yvo Swillens
- See Also:
- Serialized Form
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Date
createdDate
protected java.util.Date
createdDateAfter
protected java.util.Date
createdDateBefore
protected java.lang.String
id
protected java.util.Set<java.lang.String>
ids
-
Constructor Summary
Constructors Constructor Description DatabaseContentObjectQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
DatabaseContentObjectQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
Method Summary
Modifier and Type Method Description DatabaseContentObjectQueryImpl
createdDate(java.util.Date createdDate)
Only select rendition items created on the given timeDatabaseContentObjectQueryImpl
createdDateAfter(java.util.Date createdDateAfter)
Only select rendition items created after the given timeDatabaseContentObjectQueryImpl
createdDateBefore(java.util.Date createdDateBefore)
Only select rendition items created before the given timelong
executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
java.util.List<DatabaseContentObject>
executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
java.util.Date
getCreatedDate()
java.util.Date
getCreatedDateAfter()
java.util.Date
getCreatedDateBefore()
java.lang.String
getId()
java.util.Set<java.lang.String>
getIds()
DatabaseContentObjectQueryImpl
id(java.lang.String id)
Only select rendition items with the given id.DatabaseContentObjectQueryImpl
ids(java.util.Set<java.lang.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, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByColumnMap, getOrderByColumns, getParameter, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setOrderByColumns, setParameter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
id
protected java.lang.String id -
ids
protected java.util.Set<java.lang.String> ids -
createdDate
protected java.util.Date createdDate -
createdDateBefore
protected java.util.Date createdDateBefore -
createdDateAfter
protected java.util.Date 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 java.util.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
public java.lang.String getId()- Specified by:
getId
in interfaceorg.flowable.common.engine.api.query.CacheAwareQuery<DatabaseContentObjectEntity>
-
getIds
public java.util.Set<java.lang.String> getIds() -
getCreatedDate
public java.util.Date getCreatedDate() -
getCreatedDateBefore
public java.util.Date getCreatedDateBefore() -
getCreatedDateAfter
public java.util.Date getCreatedDateAfter()
-