Class HistoricActionInstanceQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<HistoricActionInstanceQuery,HistoricActionInstance>
-
- com.flowable.action.engine.impl.history.HistoricActionInstanceQueryImpl
-
- All Implemented Interfaces:
HistoricActionInstanceQuery
,Serializable
,CacheAwareQuery<HistoricActionInstanceEntity>
,Query<HistoricActionInstanceQuery,HistoricActionInstance>
,Command<Object>
public class HistoricActionInstanceQueryImpl extends AbstractQuery<HistoricActionInstanceQuery,HistoricActionInstance> implements HistoricActionInstanceQuery, CacheAwareQuery<HistoricActionInstanceEntity>, 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
actionDefinitionId
protected String
actionDefinitionIdLike
protected String
executedBy
protected String
executedByLike
protected Date
executionDate
protected Date
executionDateAfter
protected Date
executionDateBefore
protected String
formInstanceId
protected String
formKey
protected String
id
protected Set<String>
ids
protected Integer
maxPriority
protected Integer
minPriority
protected String
name
protected String
nameLike
protected Integer
priority
protected String
scopeDefinitionId
protected String
scopeId
protected String
scopeType
protected Date
startDate
protected Date
startDateAfter
protected Date
startDateBefore
protected String
subScopeId
protected String
tenantId
protected String
tenantIdLike
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 HistoricActionInstanceQueryImpl()
HistoricActionInstanceQueryImpl(CommandContext commandContext)
HistoricActionInstanceQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HistoricActionInstanceQueryImpl
actionDefinitionId(String actionDefinitionId)
Only select action instances with the given action definition id.HistoricActionInstanceQueryImpl
actionDefinitionIdLike(String actionDefinitionIdLike)
Only select action instances with an action definition id like the given string.long
executeCount(CommandContext commandContext)
HistoricActionInstanceQueryImpl
executedBy(String executedBy)
Only select action instances with the given executed by value.HistoricActionInstanceQueryImpl
executedByLike(String executedByLike)
Only select action instances with an executed by like the given string.List<HistoricActionInstance>
executeList(CommandContext commandContext)
HistoricActionInstanceQueryImpl
executionDate(Date executionDate)
Only select action instances executed on the given timeHistoricActionInstanceQueryImpl
executionDateAfter(Date executionDateAfter)
Only select action instances executed after the given timeHistoricActionInstanceQueryImpl
executionDateBefore(Date executionDateBefore)
Only select action instances executed before the given timeHistoricActionInstanceQueryImpl
formInstanceId(String formInstanceId)
Only select action instances with the given form instance id.HistoricActionInstanceQuery
formKey(String formKey)
Only select action instances with the given form key;String
getActionDefinitionId()
String
getActionDefinitionIdLike()
String
getExecutedBy()
String
getExecutedByLike()
Date
getExecutionDate()
Date
getExecutionDateAfter()
Date
getExecutionDateBefore()
String
getFormInstanceId()
String
getFormKey()
String
getId()
Set<String>
getIds()
Integer
getMaxPriority()
Integer
getMinPriority()
String
getName()
String
getNameLike()
Integer
getPriority()
String
getScopeDefinitionId()
String
getScopeId()
String
getScopeType()
Date
getStartDate()
Date
getStartDateAfter()
Date
getStartDateBefore()
String
getSubScopeId()
String
getTenantId()
String
getTenantIdLike()
HistoricActionInstanceQueryImpl
id(String id)
Only select action instances with the given id.HistoricActionInstanceQueryImpl
ids(Set<String> ids)
Only select action instances with the given ids.boolean
isWithoutTenantId()
HistoricActionInstanceQuery
maxPriority(Integer maxPriority)
Only select action instances with the given priority or lower.HistoricActionInstanceQuery
minPriority(Integer minPriority)
Only select action instances with the given priority or higher.HistoricActionInstanceQuery
name(String name)
Only select action instances with the given name.HistoricActionInstanceQuery
nameLike(String nameLike)
Only select action instances with an name like the given string.HistoricActionInstanceQuery
orderByExecutionDate()
Order by execution date (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricActionInstanceQuery
orderByPriority()
Order by priority (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricActionInstanceQuery
orderByStartDate()
Order by start date (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricActionInstanceQuery
orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricActionInstanceQuery
priority(Integer priority)
Only select action instances with the given priority.HistoricActionInstanceQueryImpl
scopeDefinitionId(String scopeDefinitionId)
Only select action instances with the given scope definition id.HistoricActionInstanceQueryImpl
scopeId(String scopeId)
Only select action instances with the given scope id.HistoricActionInstanceQueryImpl
scopeType(String scopeType)
Only select action instances with the given scope type.HistoricActionInstanceQueryImpl
startDate(Date startDate)
Only select action instances started on the given timeHistoricActionInstanceQueryImpl
startDateAfter(Date startDateAfter)
Only select action instances started after the given timeHistoricActionInstanceQueryImpl
startDateBefore(Date startDateBefore)
Only select action instances started before the given timeHistoricActionInstanceQuery
subScopeId(String subScopeId)
Only select action instances with the given sub scope id.HistoricActionInstanceQueryImpl
tenantId(String tenantId)
Only select action instances that have the given tenant id.HistoricActionInstanceQueryImpl
tenantIdLike(String tenantIdLike)
Only select action instances with a tenant id like the given one.HistoricActionInstanceQueryImpl
withoutTenantId()
Only select action 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
-
actionDefinitionId
protected String actionDefinitionId
-
actionDefinitionIdLike
protected String actionDefinitionIdLike
-
name
protected String name
-
nameLike
protected String nameLike
-
scopeId
protected String scopeId
-
subScopeId
protected String subScopeId
-
scopeType
protected String scopeType
-
scopeDefinitionId
protected String scopeDefinitionId
-
startDate
protected Date startDate
-
startDateBefore
protected Date startDateBefore
-
startDateAfter
protected Date startDateAfter
-
executionDate
protected Date executionDate
-
executionDateBefore
protected Date executionDateBefore
-
executionDateAfter
protected Date executionDateAfter
-
executedBy
protected String executedBy
-
executedByLike
protected String executedByLike
-
formInstanceId
protected String formInstanceId
-
formKey
protected String formKey
-
priority
protected Integer priority
-
maxPriority
protected Integer maxPriority
-
minPriority
protected Integer minPriority
-
tenantId
protected String tenantId
-
tenantIdLike
protected String tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId
-
-
Constructor Detail
-
HistoricActionInstanceQueryImpl
public HistoricActionInstanceQueryImpl()
-
HistoricActionInstanceQueryImpl
public HistoricActionInstanceQueryImpl(CommandContext commandContext)
-
HistoricActionInstanceQueryImpl
public HistoricActionInstanceQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
id
public HistoricActionInstanceQueryImpl id(String id)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances with the given id.- Specified by:
id
in interfaceHistoricActionInstanceQuery
-
ids
public HistoricActionInstanceQueryImpl ids(Set<String> ids)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances with the given ids.- Specified by:
ids
in interfaceHistoricActionInstanceQuery
-
actionDefinitionId
public HistoricActionInstanceQueryImpl actionDefinitionId(String actionDefinitionId)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances with the given action definition id.- Specified by:
actionDefinitionId
in interfaceHistoricActionInstanceQuery
-
actionDefinitionIdLike
public HistoricActionInstanceQueryImpl actionDefinitionIdLike(String actionDefinitionIdLike)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances with an action definition id like the given string.- Specified by:
actionDefinitionIdLike
in interfaceHistoricActionInstanceQuery
-
name
public HistoricActionInstanceQuery name(String name)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances with the given name.- Specified by:
name
in interfaceHistoricActionInstanceQuery
-
nameLike
public HistoricActionInstanceQuery nameLike(String nameLike)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances with an name like the given string.- Specified by:
nameLike
in interfaceHistoricActionInstanceQuery
-
scopeId
public HistoricActionInstanceQueryImpl scopeId(String scopeId)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances with the given scope id.- Specified by:
scopeId
in interfaceHistoricActionInstanceQuery
-
subScopeId
public HistoricActionInstanceQuery subScopeId(String subScopeId)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances with the given sub scope id.- Specified by:
subScopeId
in interfaceHistoricActionInstanceQuery
-
scopeType
public HistoricActionInstanceQueryImpl scopeType(String scopeType)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances with the given scope type.- Specified by:
scopeType
in interfaceHistoricActionInstanceQuery
-
scopeDefinitionId
public HistoricActionInstanceQueryImpl scopeDefinitionId(String scopeDefinitionId)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances with the given scope definition id.- Specified by:
scopeDefinitionId
in interfaceHistoricActionInstanceQuery
-
startDate
public HistoricActionInstanceQueryImpl startDate(Date startDate)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances started on the given time- Specified by:
startDate
in interfaceHistoricActionInstanceQuery
-
startDateBefore
public HistoricActionInstanceQueryImpl startDateBefore(Date startDateBefore)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances started before the given time- Specified by:
startDateBefore
in interfaceHistoricActionInstanceQuery
-
startDateAfter
public HistoricActionInstanceQueryImpl startDateAfter(Date startDateAfter)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances started after the given time- Specified by:
startDateAfter
in interfaceHistoricActionInstanceQuery
-
executionDate
public HistoricActionInstanceQueryImpl executionDate(Date executionDate)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances executed on the given time- Specified by:
executionDate
in interfaceHistoricActionInstanceQuery
-
executionDateBefore
public HistoricActionInstanceQueryImpl executionDateBefore(Date executionDateBefore)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances executed before the given time- Specified by:
executionDateBefore
in interfaceHistoricActionInstanceQuery
-
executionDateAfter
public HistoricActionInstanceQueryImpl executionDateAfter(Date executionDateAfter)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances executed after the given time- Specified by:
executionDateAfter
in interfaceHistoricActionInstanceQuery
-
executedBy
public HistoricActionInstanceQueryImpl executedBy(String executedBy)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances with the given executed by value.- Specified by:
executedBy
in interfaceHistoricActionInstanceQuery
-
executedByLike
public HistoricActionInstanceQueryImpl executedByLike(String executedByLike)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances with an executed by like the given string.- Specified by:
executedByLike
in interfaceHistoricActionInstanceQuery
-
formInstanceId
public HistoricActionInstanceQueryImpl formInstanceId(String formInstanceId)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances with the given form instance id.- Specified by:
formInstanceId
in interfaceHistoricActionInstanceQuery
-
formKey
public HistoricActionInstanceQuery formKey(String formKey)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances with the given form key;- Specified by:
formKey
in interfaceHistoricActionInstanceQuery
-
priority
public HistoricActionInstanceQuery priority(Integer priority)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances with the given priority.- Specified by:
priority
in interfaceHistoricActionInstanceQuery
-
maxPriority
public HistoricActionInstanceQuery maxPriority(Integer maxPriority)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances with the given priority or lower.- Specified by:
maxPriority
in interfaceHistoricActionInstanceQuery
-
minPriority
public HistoricActionInstanceQuery minPriority(Integer minPriority)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances with the given priority or higher.- Specified by:
minPriority
in interfaceHistoricActionInstanceQuery
-
tenantId
public HistoricActionInstanceQueryImpl tenantId(String tenantId)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances that have the given tenant id.- Specified by:
tenantId
in interfaceHistoricActionInstanceQuery
-
tenantIdLike
public HistoricActionInstanceQueryImpl tenantIdLike(String tenantIdLike)
Description copied from interface:HistoricActionInstanceQuery
Only select action instances with a tenant id like the given one.- Specified by:
tenantIdLike
in interfaceHistoricActionInstanceQuery
-
withoutTenantId
public HistoricActionInstanceQueryImpl withoutTenantId()
Description copied from interface:HistoricActionInstanceQuery
Only select action instances that do not have a tenant id.- Specified by:
withoutTenantId
in interfaceHistoricActionInstanceQuery
-
orderByStartDate
public HistoricActionInstanceQuery orderByStartDate()
Description copied from interface:HistoricActionInstanceQuery
Order by start date (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByStartDate
in interfaceHistoricActionInstanceQuery
-
orderByExecutionDate
public HistoricActionInstanceQuery orderByExecutionDate()
Description copied from interface:HistoricActionInstanceQuery
Order by execution date (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByExecutionDate
in interfaceHistoricActionInstanceQuery
-
orderByPriority
public HistoricActionInstanceQuery orderByPriority()
Description copied from interface:HistoricActionInstanceQuery
Order by priority (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByPriority
in interfaceHistoricActionInstanceQuery
-
orderByTenantId
public HistoricActionInstanceQuery orderByTenantId()
Description copied from interface:HistoricActionInstanceQuery
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTenantId
in interfaceHistoricActionInstanceQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<HistoricActionInstanceQuery,HistoricActionInstance>
-
executeList
public List<HistoricActionInstance> executeList(CommandContext commandContext)
- Specified by:
executeList
in classAbstractQuery<HistoricActionInstanceQuery,HistoricActionInstance>
-
getId
public String getId()
- Specified by:
getId
in interfaceCacheAwareQuery<HistoricActionInstanceEntity>
-
getActionDefinitionId
public String getActionDefinitionId()
-
getActionDefinitionIdLike
public String getActionDefinitionIdLike()
-
getName
public String getName()
-
getNameLike
public String getNameLike()
-
getScopeId
public String getScopeId()
-
getSubScopeId
public String getSubScopeId()
-
getScopeType
public String getScopeType()
-
getScopeDefinitionId
public String getScopeDefinitionId()
-
getStartDate
public Date getStartDate()
-
getStartDateBefore
public Date getStartDateBefore()
-
getStartDateAfter
public Date getStartDateAfter()
-
getExecutionDate
public Date getExecutionDate()
-
getExecutionDateBefore
public Date getExecutionDateBefore()
-
getExecutionDateAfter
public Date getExecutionDateAfter()
-
getExecutedBy
public String getExecutedBy()
-
getExecutedByLike
public String getExecutedByLike()
-
getFormInstanceId
public String getFormInstanceId()
-
getFormKey
public String getFormKey()
-
getPriority
public Integer getPriority()
-
getMaxPriority
public Integer getMaxPriority()
-
getMinPriority
public Integer getMinPriority()
-
getTenantId
public String getTenantId()
-
getTenantIdLike
public String getTenantIdLike()
-
isWithoutTenantId
public boolean isWithoutTenantId()
-
-