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
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.DatecreatedDateprotected java.util.DatecreatedDateAfterprotected java.util.DatecreatedDateBeforeprotected java.lang.Stringidprotected 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseContentObjectQueryImplcreatedDate(java.util.Date createdDate)Only select rendition items created on the given timeDatabaseContentObjectQueryImplcreatedDateAfter(java.util.Date createdDateAfter)Only select rendition items created after the given timeDatabaseContentObjectQueryImplcreatedDateBefore(java.util.Date createdDateBefore)Only select rendition items created before the given timelongexecuteCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)java.util.List<DatabaseContentObject>executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)java.util.DategetCreatedDate()java.util.DategetCreatedDateAfter()java.util.DategetCreatedDateBefore()java.lang.StringgetId()java.util.Set<java.lang.String>getIds()DatabaseContentObjectQueryImplid(java.lang.String id)Only select rendition items with the given id.DatabaseContentObjectQueryImplids(java.util.Set<java.lang.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, 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
-
-
-
-
Constructor Detail
-
DatabaseContentObjectQueryImpl
public DatabaseContentObjectQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-
DatabaseContentObjectQueryImpl
public DatabaseContentObjectQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
-
Method Detail
-
id
public DatabaseContentObjectQueryImpl id(java.lang.String id)
Description copied from interface:DatabaseContentObjectQueryOnly select rendition items with the given id.- Specified by:
idin interfaceDatabaseContentObjectQuery
-
ids
public DatabaseContentObjectQueryImpl ids(java.util.Set<java.lang.String> ids)
Description copied from interface:DatabaseContentObjectQueryOnly select rendition items with the given ids.- Specified by:
idsin interfaceDatabaseContentObjectQuery
-
createdDate
public DatabaseContentObjectQueryImpl createdDate(java.util.Date createdDate)
Description copied from interface:DatabaseContentObjectQueryOnly select rendition items created on the given time- Specified by:
createdDatein interfaceDatabaseContentObjectQuery
-
createdDateBefore
public DatabaseContentObjectQueryImpl createdDateBefore(java.util.Date createdDateBefore)
Description copied from interface:DatabaseContentObjectQueryOnly select rendition items created before the given time- Specified by:
createdDateBeforein interfaceDatabaseContentObjectQuery
-
createdDateAfter
public DatabaseContentObjectQueryImpl createdDateAfter(java.util.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(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
- Specified by:
executeCountin 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:
executeListin classorg.flowable.common.engine.impl.query.AbstractQuery<DatabaseContentObjectQuery,DatabaseContentObject>
-
getId
public java.lang.String getId()
- Specified by:
getIdin 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()
-
-