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
,java.io.Serializable
,org.flowable.common.engine.api.query.CacheAwareQuery<AuditInstanceEntity>
,org.flowable.common.engine.api.query.Query<AuditInstanceQuery,AuditInstance>
,org.flowable.common.engine.impl.interceptor.Command<java.lang.Object>
public class AuditInstanceQueryImpl extends org.flowable.common.engine.impl.query.AbstractQuery<AuditInstanceQuery,AuditInstance> implements AuditInstanceQuery, org.flowable.common.engine.api.query.CacheAwareQuery<AuditInstanceEntity>, java.io.Serializable
- Author:
- Tijs Rademakers, Joram Barrez
- See Also:
- Serialized Form
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
auditDefinitionId
protected java.lang.String
auditDefinitionIdLike
protected java.util.Date
createdAfter
protected java.util.Date
createdBefore
protected java.lang.String
creatorId
protected java.lang.String
externalId
protected java.lang.String
id
protected java.util.Set<java.lang.String>
ids
protected java.lang.String
scopeDefinitionId
protected java.lang.String
scopeId
protected java.lang.String
scopeType
protected java.lang.String
subScopeId
protected java.lang.String
subType
protected java.lang.String
tenantId
protected java.lang.String
tenantIdLike
protected java.lang.String
type
protected boolean
withoutTenantId
-
Constructor Summary
Constructors Constructor Description AuditInstanceQueryImpl()
AuditInstanceQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
AuditInstanceQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
Method Summary
Modifier and Type Method Description AuditInstanceQueryImpl
auditDefinitionId(java.lang.String auditDefinitionId)
Only select audit instances with the given audit definition id.AuditInstanceQueryImpl
auditDefinitionIdLike(java.lang.String auditDefinitionIdLike)
Only select audit instances with an audit definition id like the given string.AuditInstanceQuery
createdAfter(java.util.Date createdAfter)
AuditInstanceQuery
createdBefore(java.util.Date createdBefore)
AuditInstanceQuery
creatorId(java.lang.String creatorId)
Select audit instances using a given creatorId.long
executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
java.util.List<AuditInstance>
executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
AuditInstanceQueryImpl
externalId(java.lang.String externalId)
Only select audit instances with the given external id.java.lang.String
getAuditDefinitionId()
java.lang.String
getAuditDefinitionIdLike()
java.lang.String
getCreatorId()
java.lang.String
getExternalId()
java.lang.String
getId()
java.util.Set<java.lang.String>
getIds()
java.lang.String
getScopeDefinitionId()
java.lang.String
getScopeId()
java.lang.String
getScopeType()
java.lang.String
getSubType()
java.lang.String
getTenantId()
java.lang.String
getTenantIdLike()
java.lang.String
getType()
AuditInstanceQueryImpl
id(java.lang.String id)
Only select audit instances with the given id.AuditInstanceQueryImpl
ids(java.util.Set<java.lang.String> ids)
Only select audit instances with the given ids.boolean
isWithoutTenantId()
AuditInstanceQuery
orderByCreationTime()
Order by start date (needs to be followed byQuery.asc()
orQuery.desc()
).AuditInstanceQueryImpl
scopeDefinitionId(java.lang.String scopeDefinitionId)
Only select audit instances with the given scope definition id.AuditInstanceQueryImpl
scopeId(java.lang.String scopeId)
Only select audit instances with the given scope id.AuditInstanceQueryImpl
scopeType(java.lang.String scopeType)
Only select audit instances with the given scope type.AuditInstanceQueryImpl
subScopeId(java.lang.String subScopeId)
Only select audit instances with the given sub scope id.AuditInstanceQueryImpl
subType(java.lang.String subType)
Only select audit instances with the given sub type.AuditInstanceQueryImpl
tenantId(java.lang.String tenantId)
Only select audit instances that have the given tenant id.AuditInstanceQueryImpl
tenantIdLike(java.lang.String tenantIdLike)
Only select audit instances with a tenant id like the given one.AuditInstanceQueryImpl
type(java.lang.String type)
Only select audit instances with the given type.AuditInstanceQueryImpl
withoutTenantId()
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, 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 -
auditDefinitionId
protected java.lang.String auditDefinitionId -
auditDefinitionIdLike
protected java.lang.String auditDefinitionIdLike -
scopeId
protected java.lang.String scopeId -
subScopeId
protected java.lang.String subScopeId -
scopeType
protected java.lang.String scopeType -
scopeDefinitionId
protected java.lang.String scopeDefinitionId -
externalId
protected java.lang.String externalId -
type
protected java.lang.String type -
subType
protected java.lang.String subType -
createdBefore
protected java.util.Date createdBefore -
createdAfter
protected java.util.Date createdAfter -
tenantId
protected java.lang.String tenantId -
tenantIdLike
protected java.lang.String tenantIdLike -
withoutTenantId
protected boolean withoutTenantId -
creatorId
protected java.lang.String creatorId
-
-
Constructor Details
-
AuditInstanceQueryImpl
public AuditInstanceQueryImpl() -
AuditInstanceQueryImpl
public AuditInstanceQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
AuditInstanceQueryImpl
public AuditInstanceQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
-
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
public long executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
executeCount
in classorg.flowable.common.engine.impl.query.AbstractQuery<AuditInstanceQuery,AuditInstance>
-
executeList
public java.util.List<AuditInstance> executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
executeList
in classorg.flowable.common.engine.impl.query.AbstractQuery<AuditInstanceQuery,AuditInstance>
-
getId
public java.lang.String getId()- Specified by:
getId
in interfaceorg.flowable.common.engine.api.query.CacheAwareQuery<AuditInstanceEntity>
-
getIds
public java.util.Set<java.lang.String> getIds() -
getAuditDefinitionId
public java.lang.String getAuditDefinitionId() -
getAuditDefinitionIdLike
public java.lang.String getAuditDefinitionIdLike() -
getScopeId
public java.lang.String getScopeId() -
getScopeType
public java.lang.String getScopeType() -
getScopeDefinitionId
public java.lang.String getScopeDefinitionId() -
getExternalId
public java.lang.String getExternalId() -
getType
public java.lang.String getType() -
getSubType
public java.lang.String getSubType() -
getTenantId
public java.lang.String getTenantId() -
getTenantIdLike
public java.lang.String getTenantIdLike() -
isWithoutTenantId
public boolean isWithoutTenantId() -
getCreatorId
public java.lang.String getCreatorId()
-