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:
-
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
Modifier and TypeFieldDescriptionprotected String
protected String
protected Date
protected Date
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected boolean
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
ConstructorDescriptionAuditInstanceQueryImpl
(CommandContext commandContext) AuditInstanceQueryImpl
(CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionauditDefinitionId
(String auditDefinitionId) Only select audit instances with the given audit definition id.auditDefinitionIdLike
(String auditDefinitionIdLike) Only select audit instances with an audit definition id like the given string.createdAfter
(Date createdAfter) createdBefore
(Date createdBefore) Select audit instances using a given creatorId.long
executeCount
(CommandContext commandContext) executeList
(CommandContext commandContext) externalId
(String externalId) Only select audit instances with the given external id.getId()
getIds()
getType()
Only select audit instances with the given id.Only select audit instances with the given ids.boolean
Order by start date (needs to be followed byQuery.asc()
orQuery.desc()
).scopeDefinitionId
(String scopeDefinitionId) Only select audit instances with the given scope definition id.Only select audit instances with the given scope id.Only select audit instances with the given scope type.subScopeId
(String subScopeId) Only select audit instances with the given sub scope id.Only select audit instances with the given sub type.Only select audit instances that have the given tenant id.tenantIdLike
(String tenantIdLike) Only select audit instances with a tenant id like the given one.Only select audit instances with the given type.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 Details
-
id
-
ids
-
auditDefinitionId
-
auditDefinitionIdLike
-
scopeId
-
subScopeId
-
scopeType
-
scopeDefinitionId
-
externalId
-
type
-
subType
-
createdBefore
-
createdAfter
-
tenantId
-
tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId -
creatorId
-
-
Constructor Details
-
AuditInstanceQueryImpl
public AuditInstanceQueryImpl() -
AuditInstanceQueryImpl
-
AuditInstanceQueryImpl
-
-
Method Details
-
id
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given id.- Specified by:
id
in interfaceAuditInstanceQuery
-
ids
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given ids.- Specified by:
ids
in interfaceAuditInstanceQuery
-
auditDefinitionId
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given audit definition id.- Specified by:
auditDefinitionId
in interfaceAuditInstanceQuery
-
auditDefinitionIdLike
Description copied from interface:AuditInstanceQuery
Only select audit instances with an audit definition id like the given string.- Specified by:
auditDefinitionIdLike
in interfaceAuditInstanceQuery
-
scopeId
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given scope id.- Specified by:
scopeId
in interfaceAuditInstanceQuery
-
subScopeId
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given sub scope id.- Specified by:
subScopeId
in interfaceAuditInstanceQuery
-
scopeType
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given scope type.- Specified by:
scopeType
in interfaceAuditInstanceQuery
-
scopeDefinitionId
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given scope definition id.- Specified by:
scopeDefinitionId
in interfaceAuditInstanceQuery
-
externalId
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given external id.- Specified by:
externalId
in interfaceAuditInstanceQuery
-
type
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given type.- Specified by:
type
in interfaceAuditInstanceQuery
-
subType
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given sub type.- Specified by:
subType
in interfaceAuditInstanceQuery
-
createdBefore
- Specified by:
createdBefore
in interfaceAuditInstanceQuery
-
createdAfter
- Specified by:
createdAfter
in interfaceAuditInstanceQuery
-
tenantId
Description copied from interface:AuditInstanceQuery
Only select audit instances that have the given tenant id.- Specified by:
tenantId
in interfaceAuditInstanceQuery
-
tenantIdLike
Description copied from interface:AuditInstanceQuery
Only select audit instances with a tenant id like the given one.- Specified by:
tenantIdLike
in interfaceAuditInstanceQuery
-
withoutTenantId
Description copied from interface:AuditInstanceQuery
Only select audit instances that do not have a tenant id.- Specified by:
withoutTenantId
in interfaceAuditInstanceQuery
-
creatorId
Description copied from interface:AuditInstanceQuery
Select audit instances using a given creatorId.- Specified by:
creatorId
in interfaceAuditInstanceQuery
-
orderByCreationTime
Description copied from interface:AuditInstanceQuery
Order by start date (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByCreationTime
in interfaceAuditInstanceQuery
-
executeCount
- Specified by:
executeCount
in classAbstractQuery<AuditInstanceQuery,
AuditInstance>
-
executeList
- Specified by:
executeList
in classAbstractQuery<AuditInstanceQuery,
AuditInstance>
-
getId
- Specified by:
getId
in interfaceCacheAwareQuery<AuditInstanceEntity>
-
getIds
-
getAuditDefinitionId
-
getAuditDefinitionIdLike
-
getScopeId
-
getScopeType
-
getScopeDefinitionId
-
getExternalId
-
getType
-
getSubType
-
getTenantId
-
getTenantIdLike
-
isWithoutTenantId
public boolean isWithoutTenantId() -
getCreatorId
-