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
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringauditDefinitionIdprotected java.lang.StringauditDefinitionIdLikeprotected java.util.DatecreatedAfterprotected java.util.DatecreatedBeforeprotected java.lang.StringcreatorIdprotected java.lang.StringexternalIdprotected java.lang.Stringidprotected java.util.Set<java.lang.String>idsprotected java.lang.StringscopeDefinitionIdprotected java.lang.StringscopeIdprotected java.lang.StringscopeTypeprotected java.lang.StringsubScopeIdprotected java.lang.StringsubTypeprotected java.lang.StringtenantIdprotected java.lang.StringtenantIdLikeprotected java.lang.Stringtypeprotected booleanwithoutTenantId
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditInstanceQueryImplauditDefinitionId(java.lang.String auditDefinitionId)Only select audit instances with the given audit definition id.AuditInstanceQueryImplauditDefinitionIdLike(java.lang.String auditDefinitionIdLike)Only select audit instances with an audit definition id like the given string.AuditInstanceQuerycreatedAfter(java.util.Date createdAfter)AuditInstanceQuerycreatedBefore(java.util.Date createdBefore)AuditInstanceQuerycreatorId(java.lang.String creatorId)Select audit instances using a given creatorId.longexecuteCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)java.util.List<AuditInstance>executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)AuditInstanceQueryImplexternalId(java.lang.String externalId)Only select audit instances with the given external id.java.lang.StringgetAuditDefinitionId()java.lang.StringgetAuditDefinitionIdLike()java.lang.StringgetCreatorId()java.lang.StringgetExternalId()java.lang.StringgetId()java.util.Set<java.lang.String>getIds()java.lang.StringgetScopeDefinitionId()java.lang.StringgetScopeId()java.lang.StringgetScopeType()java.lang.StringgetSubType()java.lang.StringgetTenantId()java.lang.StringgetTenantIdLike()java.lang.StringgetType()AuditInstanceQueryImplid(java.lang.String id)Only select audit instances with the given id.AuditInstanceQueryImplids(java.util.Set<java.lang.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(java.lang.String scopeDefinitionId)Only select audit instances with the given scope definition id.AuditInstanceQueryImplscopeId(java.lang.String scopeId)Only select audit instances with the given scope id.AuditInstanceQueryImplscopeType(java.lang.String scopeType)Only select audit instances with the given scope type.AuditInstanceQueryImplsubScopeId(java.lang.String subScopeId)Only select audit instances with the given sub scope id.AuditInstanceQueryImplsubType(java.lang.String subType)Only select audit instances with the given sub type.AuditInstanceQueryImpltenantId(java.lang.String tenantId)Only select audit instances that have the given tenant id.AuditInstanceQueryImpltenantIdLike(java.lang.String tenantIdLike)Only select audit instances with a tenant id like the given one.AuditInstanceQueryImpltype(java.lang.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, 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 Detail
-
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 Detail
-
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 Detail
-
id
public AuditInstanceQueryImpl id(java.lang.String id)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given id.- Specified by:
idin interfaceAuditInstanceQuery
-
ids
public AuditInstanceQueryImpl ids(java.util.Set<java.lang.String> ids)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given ids.- Specified by:
idsin interfaceAuditInstanceQuery
-
auditDefinitionId
public AuditInstanceQueryImpl auditDefinitionId(java.lang.String auditDefinitionId)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given audit definition id.- Specified by:
auditDefinitionIdin interfaceAuditInstanceQuery
-
auditDefinitionIdLike
public AuditInstanceQueryImpl auditDefinitionIdLike(java.lang.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(java.lang.String scopeId)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given scope id.- Specified by:
scopeIdin interfaceAuditInstanceQuery
-
subScopeId
public AuditInstanceQueryImpl subScopeId(java.lang.String subScopeId)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given sub scope id.- Specified by:
subScopeIdin interfaceAuditInstanceQuery
-
scopeType
public AuditInstanceQueryImpl scopeType(java.lang.String scopeType)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given scope type.- Specified by:
scopeTypein interfaceAuditInstanceQuery
-
scopeDefinitionId
public AuditInstanceQueryImpl scopeDefinitionId(java.lang.String scopeDefinitionId)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given scope definition id.- Specified by:
scopeDefinitionIdin interfaceAuditInstanceQuery
-
externalId
public AuditInstanceQueryImpl externalId(java.lang.String externalId)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given external id.- Specified by:
externalIdin interfaceAuditInstanceQuery
-
type
public AuditInstanceQueryImpl type(java.lang.String type)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given type.- Specified by:
typein interfaceAuditInstanceQuery
-
subType
public AuditInstanceQueryImpl subType(java.lang.String subType)
Description copied from interface:AuditInstanceQueryOnly select audit instances with the given sub type.- Specified by:
subTypein interfaceAuditInstanceQuery
-
createdBefore
public AuditInstanceQuery createdBefore(java.util.Date createdBefore)
- Specified by:
createdBeforein interfaceAuditInstanceQuery
-
createdAfter
public AuditInstanceQuery createdAfter(java.util.Date createdAfter)
- Specified by:
createdAfterin interfaceAuditInstanceQuery
-
tenantId
public AuditInstanceQueryImpl tenantId(java.lang.String tenantId)
Description copied from interface:AuditInstanceQueryOnly select audit instances that have the given tenant id.- Specified by:
tenantIdin interfaceAuditInstanceQuery
-
tenantIdLike
public AuditInstanceQueryImpl tenantIdLike(java.lang.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(java.lang.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(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
- Specified by:
executeCountin 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:
executeListin classorg.flowable.common.engine.impl.query.AbstractQuery<AuditInstanceQuery,AuditInstance>
-
getId
public java.lang.String getId()
- Specified by:
getIdin 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()
-
-