Class AuditInstanceQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<AuditInstanceQuery,AuditInstance>
-
- com.flowable.audit.engine.impl.runtime.AuditInstanceQueryImpl
-
- All Implemented Interfaces:
AuditInstanceQuery,Serializable,CacheAwareQuery<AuditInstanceEntity>,Query<AuditInstanceQuery,AuditInstance>,Command<Object>
public class AuditInstanceQueryImpl extends AbstractQuery<AuditInstanceQuery,AuditInstance> implements AuditInstanceQuery, CacheAwareQuery<AuditInstanceEntity>, Serializable
- Author:
- Tijs Rademakers, Joram Barrez
- 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 StringauditDefinitionIdprotected StringauditDefinitionIdLikeprotected DatecreatedAfterprotected DatecreatedBeforeprotected StringcreatorIdprotected StringexternalIdprotected Stringidprotected Set<String>idsprotected StringscopeDefinitionIdprotected StringscopeIdprotected StringscopeTypeprotected StringsubScopeIdprotected StringsubTypeprotected StringtenantIdprotected StringtenantIdLikeprotected Stringtypeprotected booleanwithoutTenantId-
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 AuditInstanceQueryImpl()AuditInstanceQueryImpl(CommandContext commandContext)AuditInstanceQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditInstanceQueryImplauditDefinitionId(String auditDefinitionId)Only select audit instances with the given audit definition id.AuditInstanceQueryImplauditDefinitionIdLike(String auditDefinitionIdLike)Only select audit instances with an audit definition id like the given string.AuditInstanceQuerycreatedAfter(Date createdAfter)AuditInstanceQuerycreatedBefore(Date createdBefore)AuditInstanceQuerycreatorId(String creatorId)Select audit instances using a given creatorId.longexecuteCount(CommandContext commandContext)List<AuditInstance>executeList(CommandContext commandContext)AuditInstanceQueryImplexternalId(String externalId)Only select audit instances with the given external id.StringgetAuditDefinitionId()StringgetAuditDefinitionIdLike()StringgetCreatorId()StringgetExternalId()StringgetId()Set<String>getIds()StringgetScopeDefinitionId()StringgetScopeId()StringgetScopeType()StringgetSubType()StringgetTenantId()StringgetTenantIdLike()StringgetType()AuditInstanceQueryImplid(String id)Only select audit instances with the given id.AuditInstanceQueryImplids(Set<String> ids)Only select audit instances with the given ids.booleanisWithoutTenantId()AuditInstanceQueryorderByCreationTime()Order by start date (needs to be followed byQuery.asc()orQuery.desc()).AuditInstanceQueryImplscopeDefinitionId(String scopeDefinitionId)Only select audit instances with the given scope definition id.AuditInstanceQueryImplscopeId(String scopeId)Only select audit instances with the given scope id.AuditInstanceQueryImplscopeType(String scopeType)Only select audit instances with the given scope type.AuditInstanceQueryImplsubScopeId(String subScopeId)Only select audit instances with the given sub scope id.AuditInstanceQueryImplsubType(String subType)Only select audit instances with the given sub type.AuditInstanceQueryImpltenantId(String tenantId)Only select audit instances that have the given tenant id.AuditInstanceQueryImpltenantIdLike(String tenantIdLike)Only select audit instances with a tenant id like the given one.AuditInstanceQueryImpltype(String type)Only select audit instances with the given type.AuditInstanceQueryImplwithoutTenantId()Only select audit instances that do not have a tenant id.-
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
-
-
-
-
Field Detail
-
id
protected String id
-
auditDefinitionId
protected String auditDefinitionId
-
auditDefinitionIdLike
protected String auditDefinitionIdLike
-
scopeId
protected String scopeId
-
subScopeId
protected String subScopeId
-
scopeType
protected String scopeType
-
scopeDefinitionId
protected String scopeDefinitionId
-
externalId
protected String externalId
-
type
protected String type
-
subType
protected String subType
-
createdBefore
protected Date createdBefore
-
createdAfter
protected Date createdAfter
-
tenantId
protected String tenantId
-
tenantIdLike
protected String tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId
-
creatorId
protected String creatorId
-
-
Constructor Detail
-
AuditInstanceQueryImpl
public AuditInstanceQueryImpl()
-
AuditInstanceQueryImpl
public AuditInstanceQueryImpl(CommandContext commandContext)
-
AuditInstanceQueryImpl
public AuditInstanceQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
id
public AuditInstanceQueryImpl id(String id)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given id.- Specified by:
idin interfaceAuditInstanceQuery
-
ids
public AuditInstanceQueryImpl ids(Set<String> ids)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given ids.- Specified by:
idsin interfaceAuditInstanceQuery
-
auditDefinitionId
public AuditInstanceQueryImpl auditDefinitionId(String auditDefinitionId)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given audit definition id.- Specified by:
auditDefinitionIdin interfaceAuditInstanceQuery
-
auditDefinitionIdLike
public AuditInstanceQueryImpl auditDefinitionIdLike(String auditDefinitionIdLike)
Description copied from interface:AuditInstanceQueryOnly select audit instances with an audit definition id like the given string.- Specified by:
auditDefinitionIdLikein interfaceAuditInstanceQuery
-
scopeId
public AuditInstanceQueryImpl scopeId(String scopeId)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given scope id.- Specified by:
scopeIdin interfaceAuditInstanceQuery
-
subScopeId
public AuditInstanceQueryImpl subScopeId(String subScopeId)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given sub scope id.- Specified by:
subScopeIdin interfaceAuditInstanceQuery
-
scopeType
public AuditInstanceQueryImpl scopeType(String scopeType)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given scope type.- Specified by:
scopeTypein interfaceAuditInstanceQuery
-
scopeDefinitionId
public AuditInstanceQueryImpl scopeDefinitionId(String scopeDefinitionId)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given scope definition id.- Specified by:
scopeDefinitionIdin interfaceAuditInstanceQuery
-
externalId
public AuditInstanceQueryImpl externalId(String externalId)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given external id.- Specified by:
externalIdin interfaceAuditInstanceQuery
-
type
public AuditInstanceQueryImpl type(String type)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given type.- Specified by:
typein interfaceAuditInstanceQuery
-
subType
public AuditInstanceQueryImpl subType(String subType)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given sub type.- Specified by:
subTypein interfaceAuditInstanceQuery
-
createdBefore
public AuditInstanceQuery createdBefore(Date createdBefore)
- Specified by:
createdBeforein interfaceAuditInstanceQuery
-
createdAfter
public AuditInstanceQuery createdAfter(Date createdAfter)
- Specified by:
createdAfterin interfaceAuditInstanceQuery
-
tenantId
public AuditInstanceQueryImpl tenantId(String tenantId)
Description copied from interface:AuditInstanceQueryOnly select audit instances that have the given tenant id.- Specified by:
tenantIdin interfaceAuditInstanceQuery
-
tenantIdLike
public AuditInstanceQueryImpl tenantIdLike(String tenantIdLike)
Description copied from interface:AuditInstanceQueryOnly select audit instances with a tenant id like the given one.- Specified by:
tenantIdLikein interfaceAuditInstanceQuery
-
withoutTenantId
public AuditInstanceQueryImpl withoutTenantId()
Description copied from interface:AuditInstanceQueryOnly select audit instances that do not have a tenant id.- Specified by:
withoutTenantIdin interfaceAuditInstanceQuery
-
creatorId
public AuditInstanceQuery creatorId(String creatorId)
Description copied from interface:AuditInstanceQuerySelect audit instances using a given creatorId.- Specified by:
creatorIdin interfaceAuditInstanceQuery
-
orderByCreationTime
public AuditInstanceQuery orderByCreationTime()
Description copied from interface:AuditInstanceQueryOrder by start date (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByCreationTimein interfaceAuditInstanceQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<AuditInstanceQuery,AuditInstance>
-
executeList
public List<AuditInstance> executeList(CommandContext commandContext)
- Specified by:
executeListin classAbstractQuery<AuditInstanceQuery,AuditInstance>
-
getId
public String getId()
- Specified by:
getIdin interfaceCacheAwareQuery<AuditInstanceEntity>
-
getAuditDefinitionId
public String getAuditDefinitionId()
-
getAuditDefinitionIdLike
public String getAuditDefinitionIdLike()
-
getScopeId
public String getScopeId()
-
getScopeType
public String getScopeType()
-
getScopeDefinitionId
public String getScopeDefinitionId()
-
getExternalId
public String getExternalId()
-
getType
public String getType()
-
getSubType
public String getSubType()
-
getTenantId
public String getTenantId()
-
getTenantIdLike
public String getTenantIdLike()
-
isWithoutTenantId
public boolean isWithoutTenantId()
-
getCreatorId
public String getCreatorId()
-
-