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 String
auditDefinitionId
protected String
auditDefinitionIdLike
protected Date
createdAfter
protected Date
createdBefore
protected String
creatorId
protected String
externalId
protected String
id
protected Set<String>
ids
protected String
scopeDefinitionId
protected String
scopeId
protected String
scopeType
protected String
subScopeId
protected String
subType
protected String
tenantId
protected String
tenantIdLike
protected String
type
protected boolean
withoutTenantId
-
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 AuditInstanceQueryImpl
auditDefinitionId(String auditDefinitionId)
Only select audit instances with the given audit definition id.AuditInstanceQueryImpl
auditDefinitionIdLike(String auditDefinitionIdLike)
Only select audit instances with an audit definition id like the given string.AuditInstanceQuery
createdAfter(Date createdAfter)
AuditInstanceQuery
createdBefore(Date createdBefore)
AuditInstanceQuery
creatorId(String creatorId)
Select audit instances using a given creatorId.long
executeCount(CommandContext commandContext)
List<AuditInstance>
executeList(CommandContext commandContext)
AuditInstanceQueryImpl
externalId(String externalId)
Only select audit instances with the given external id.String
getAuditDefinitionId()
String
getAuditDefinitionIdLike()
String
getCreatorId()
String
getExternalId()
String
getId()
Set<String>
getIds()
String
getScopeDefinitionId()
String
getScopeId()
String
getScopeType()
String
getSubType()
String
getTenantId()
String
getTenantIdLike()
String
getType()
AuditInstanceQueryImpl
id(String id)
Only select audit instances with the given id.AuditInstanceQueryImpl
ids(Set<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(String scopeDefinitionId)
Only select audit instances with the given scope definition id.AuditInstanceQueryImpl
scopeId(String scopeId)
Only select audit instances with the given scope id.AuditInstanceQueryImpl
scopeType(String scopeType)
Only select audit instances with the given scope type.AuditInstanceQueryImpl
subScopeId(String subScopeId)
Only select audit instances with the given sub scope id.AuditInstanceQueryImpl
subType(String subType)
Only select audit instances with the given sub type.AuditInstanceQueryImpl
tenantId(String tenantId)
Only select audit instances that have the given tenant id.AuditInstanceQueryImpl
tenantIdLike(String tenantIdLike)
Only select audit instances with a tenant id like the given one.AuditInstanceQueryImpl
type(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, 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:AuditInstanceQuery
Only select audit instances with the given id.- Specified by:
id
in interfaceAuditInstanceQuery
-
ids
public AuditInstanceQueryImpl ids(Set<String> ids)
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given ids.- Specified by:
ids
in interfaceAuditInstanceQuery
-
auditDefinitionId
public AuditInstanceQueryImpl auditDefinitionId(String auditDefinitionId)
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given audit definition id.- Specified by:
auditDefinitionId
in interfaceAuditInstanceQuery
-
auditDefinitionIdLike
public AuditInstanceQueryImpl auditDefinitionIdLike(String 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
public AuditInstanceQueryImpl scopeId(String scopeId)
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given scope id.- Specified by:
scopeId
in interfaceAuditInstanceQuery
-
subScopeId
public AuditInstanceQueryImpl subScopeId(String subScopeId)
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given sub scope id.- Specified by:
subScopeId
in interfaceAuditInstanceQuery
-
scopeType
public AuditInstanceQueryImpl scopeType(String scopeType)
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given scope type.- Specified by:
scopeType
in interfaceAuditInstanceQuery
-
scopeDefinitionId
public AuditInstanceQueryImpl scopeDefinitionId(String scopeDefinitionId)
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given scope definition id.- Specified by:
scopeDefinitionId
in interfaceAuditInstanceQuery
-
externalId
public AuditInstanceQueryImpl externalId(String externalId)
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given external id.- Specified by:
externalId
in interfaceAuditInstanceQuery
-
type
public AuditInstanceQueryImpl type(String type)
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given type.- Specified by:
type
in interfaceAuditInstanceQuery
-
subType
public AuditInstanceQueryImpl subType(String subType)
Description copied from interface:AuditInstanceQuery
Only select audit instances with the given sub type.- Specified by:
subType
in interfaceAuditInstanceQuery
-
createdBefore
public AuditInstanceQuery createdBefore(Date createdBefore)
- Specified by:
createdBefore
in interfaceAuditInstanceQuery
-
createdAfter
public AuditInstanceQuery createdAfter(Date createdAfter)
- Specified by:
createdAfter
in interfaceAuditInstanceQuery
-
tenantId
public AuditInstanceQueryImpl tenantId(String tenantId)
Description copied from interface:AuditInstanceQuery
Only select audit instances that have the given tenant id.- Specified by:
tenantId
in interfaceAuditInstanceQuery
-
tenantIdLike
public AuditInstanceQueryImpl tenantIdLike(String tenantIdLike)
Description copied from interface:AuditInstanceQuery
Only select audit instances with a tenant id like the given one.- Specified by:
tenantIdLike
in interfaceAuditInstanceQuery
-
withoutTenantId
public AuditInstanceQueryImpl withoutTenantId()
Description copied from interface:AuditInstanceQuery
Only select audit instances that do not have a tenant id.- Specified by:
withoutTenantId
in interfaceAuditInstanceQuery
-
creatorId
public AuditInstanceQuery creatorId(String creatorId)
Description copied from interface:AuditInstanceQuery
Select audit instances using a given creatorId.- Specified by:
creatorId
in interfaceAuditInstanceQuery
-
orderByCreationTime
public AuditInstanceQuery 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(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<AuditInstanceQuery,AuditInstance>
-
executeList
public List<AuditInstance> executeList(CommandContext commandContext)
- Specified by:
executeList
in classAbstractQuery<AuditInstanceQuery,AuditInstance>
-
getId
public String getId()
- Specified by:
getId
in 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()
-
-