Package org.flowable.engine.impl
Class HistoricProcessInstanceQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<T,U>
org.flowable.variable.service.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
org.flowable.engine.impl.HistoricProcessInstanceQueryImpl
- All Implemented Interfaces:
Serializable
,org.flowable.common.engine.api.query.BatchDeleteQuery<HistoricProcessInstanceQuery>
,org.flowable.common.engine.api.query.CacheAwareQuery<org.flowable.engine.impl.persistence.entity.HistoricProcessInstanceEntity>
,org.flowable.common.engine.api.query.DeleteQuery<HistoricProcessInstanceQuery,
,HistoricProcessInstance> org.flowable.common.engine.api.query.Query<HistoricProcessInstanceQuery,
,HistoricProcessInstance> org.flowable.common.engine.impl.interceptor.Command<Object>
,HistoricProcessInstanceQuery
public class HistoricProcessInstanceQueryImpl
extends org.flowable.variable.service.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
implements HistoricProcessInstanceQuery, org.flowable.common.engine.api.query.CacheAwareQuery<org.flowable.engine.impl.persistence.entity.HistoricProcessInstanceEntity>
- Author:
- Tom Baeyens, Tijs Rademakers, Falko Menge, Bernd Ruecker, Joram Barrez
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.db.ListQueryParameterObject.OrderBy, org.flowable.common.engine.impl.db.ListQueryParameterObject.ResultType
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
org.flowable.common.engine.api.query.Query.NullHandlingOnOrder
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected HistoricProcessInstanceQueryImpl
protected boolean
protected String
protected boolean
protected boolean
protected Date
protected Date
protected boolean
protected boolean
protected IdentityLinkQueryObject
protected String
protected IdentityLinkQueryObject
protected String
protected String
protected String
protected String
protected boolean
protected List<HistoricProcessInstanceQueryImpl>
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected Integer
protected org.flowable.engine.impl.cfg.ProcessEngineConfigurationImpl
protected String
protected String
protected String
protected String
protected Date
protected Date
protected String
protected String
protected String
protected String
protected String
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
Fields inherited from class org.flowable.variable.service.impl.AbstractVariableQueryImpl
queryVariableValues, variableValueProvider
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
ConstructorDescriptionHistoricProcessInstanceQueryImpl
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, org.flowable.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration) HistoricProcessInstanceQueryImpl
(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor, org.flowable.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionactiveActivityId
(String activityId) Select the historic process instances which have an active activity instance like the provided id.activeActivityIds
(Set<String> activityIds) Select the historic process instances which have an active activity instance like the provided ids.protected void
addCachedVariableForQueryById
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, List<HistoricProcessInstance> results) void
delete()
deleted()
Only select historic process instances that are deleted.deleteInParallelUsingBatch
(int batchSize, String batchName) deleteSequentiallyUsingBatch
(int batchSize, String batchName) void
Deprecated.deploymentId
(String deploymentId) Only select historic process instances that are defined by a process definition with the given deployment identifier.deploymentIdIn
(List<String> deploymentIds) Only select historic process instances that are defined by a process definition with one of the given deployment identifiers.endOr()
End an OR statement.void
enhanceCachedValue
(org.flowable.engine.impl.persistence.entity.HistoricProcessInstanceEntity processInstance) protected void
excludeSubprocesses
(boolean excludeSubprocesses) Exclude sub processes from the query result;long
executeCount
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) executeList
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) finished()
Only select historic process instances that are completely finished.finishedAfter
(Date finishedAfter) Only select historic process instances that were finished after the given date.finishedBefore
(Date finishedBefore) Only select historic process instances that were finished before the given date.getId()
getName()
Include process variables in the process query resultinvolvedGroup
(String groupId, String identityLinkType) Only select the historic process instances with which the group with the given id and link type is involved.involvedGroups
(Set<String> involvedGroups) Only select the historic process instances with which the group with the given ids are involved.involvedUser
(String involvedUser) Only select the historic process instances with which the user with the given id is involved.involvedUser
(String userId, String identityLinkType) Only select the historic process instances with which the user with the given id and link type is involved.boolean
boolean
boolean
boolean
boolean
boolean
boolean
isOpen()
boolean
boolean
boolean
boolean
boolean
boolean
Localize historic process name and description to specified locale.localVariableExists
(String name) Only select process instances which have a local variable with the given name.localVariableNotExists
(String name) Only select process instances which does not have a local variable with the given name.localVariableValueEquals
(Object variableValue) Only select process instances which had at least one local variable with the given value when they ended.localVariableValueEquals
(String variableName, Object variableValue) Only select process instances which had a local variable with the given value when they ended.localVariableValueEqualsIgnoreCase
(String name, String value) Only select historic process instances which have a local string variable with the given value, case insensitive.localVariableValueGreaterThan
(String name, Object value) Only select process instances which had a local variable value greater than the passed value when they ended.localVariableValueGreaterThanOrEqual
(String name, Object value) Only select process instances which had a local variable value greater than or equal to the passed value when they ended.localVariableValueLessThan
(String name, Object value) Only select process instances which had a local variable value less than the passed value when the ended.localVariableValueLessThanOrEqual
(String name, Object value) Only select process instances which has a local variable value less than or equal to the passed value when they ended.localVariableValueLike
(String name, String value) Only select process instances which had a local variable value like the given value when they ended.localVariableValueLikeIgnoreCase
(String name, String value) Only select process instances which had a local variable value like (case insensitive) the given value when they ended.localVariableValueNotEquals
(String variableName, Object variableValue) Only select process instances which had a local variable with the given name, but with a different value than the passed value when they ended.localVariableValueNotEqualsIgnoreCase
(String name, String value) Only select historic process instances which have a local string variable not matching the given value, case insensitive.Only select historic process instance that are not deleted.or()
Begin an OR statement.Order by the process definition id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the business key (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the duration of the process instance (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the end time (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the process instance id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the start time (needs to be followed byQuery.asc()
orQuery.desc()
).Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).processDefinitionCategory
(String processDefinitionCategory) Only select historic process instances whose process definition category is processDefinitionCategory.processDefinitionCategoryLike
(String processDefinitionCategoryLike) Only select historic process instances whose process definition category is like the given value.processDefinitionCategoryLikeIgnoreCase
(String processDefinitionCategoryLikeIgnoreCase) Only select historic process instances whose process definition category is like the given value, ignoring upper/lower case.processDefinitionId
(String processDefinitionId) Only select historic process instances for the given process definitionprocessDefinitionKey
(String processDefinitionKey) Only select historic process instances that are defined by a process definition with the given key.processDefinitionKeyIn
(List<String> processDefinitionKeys) Only select historic process instances that are defined by a process definition with one of the given process definition keys.processDefinitionKeyLike
(String processDefinitionKeyLike) Select historic process instances whose process definition key is like the given valueprocessDefinitionKeyLikeIgnoreCase
(String processDefinitionKeyLikeIgnoreCase) Select historic process instances whose process definition key is like the given value, ignoring upper/lower case.processDefinitionKeyNotIn
(List<String> processDefinitionKeys) Only select historic process instances that don't have a process-definition of which the key is present in the given listprocessDefinitionName
(String processDefinitionName) Select process historic instances whose process definition name is processDefinitionNameprocessDefinitionNameLike
(String processDefinitionNameLike) Select process historic instances whose process definition name is like the given valueprocessDefinitionNameLikeIgnoreCase
(String processDefinitionNameLikeIgnoreCase) Select process historic instances whose process definition name is like the given value, ignoring upper/lower caseprocessDefinitionVersion
(Integer processDefinitionVersion) Only select historic process instances with a certain process definition version.processInstanceBusinessKey
(String businessKey) Only select historic process instances with the given business keyprocessInstanceBusinessKeyLike
(String businessKeyLike) Only select historic process instances with a business key like the given value.processInstanceBusinessKeyLikeIgnoreCase
(String businessKeyLikeIgnoreCase) Only select historic process instances with a business key like the given value, ignoring upper/lower case.processInstanceBusinessStatus
(String businessStatus) Only select historic process instances with the given business statusprocessInstanceBusinessStatusLike
(String businessStatusLike) Only select historic process instances with a business status like the given value.processInstanceBusinessStatusLikeIgnoreCase
(String businessStatusLikeIgnoreCase) Only select historic process instances with a business status like the given value, ignoring upper/lower case.processInstanceCallbackId
(String callbackId) Only select process instances with the given callback identifier.processInstanceCallbackType
(String callbackType) Only select process instances with the given callback type.processInstanceId
(String processInstanceId) Only select historic process instances with the given process instance.processInstanceIds
(Set<String> processInstanceIds) Only select historic process instances whose id is in the given set of ids.processInstanceName
(String name) Only select process instances with the given name.processInstanceNameLike
(String nameLike) Only select process instances with a name like the given value.processInstanceNameLikeIgnoreCase
(String nameLikeIgnoreCase) Only select process instances with a name like the given value, ignoring upper/lower case.processInstanceParentScopeId
(String parentId) Only select historic process instances with the given parent process instance id.processInstanceReferenceId
(String referenceId) Only select process instances with the given reference identifier.processInstanceReferenceType
(String referenceType) Only select process instances with the given reference type.processInstanceRootScopeId
(String rootScopeId) Only select historic process instances with a root instance with a name like the given value.processInstanceTenantId
(String tenantId) Only select process instances that have the given tenant id.processInstanceTenantIdLike
(String tenantIdLike) Only select process instances with a tenant id like the given one.processInstanceTenantIdLikeIgnoreCase
(String tenantIdLikeIgnoreCase) Only select process instances with a tenant id like the given one, ignoring upper/lower case.Only select process instances that do not have a tenant id.void
setSafeInvolvedGroups
(List<List<String>> safeInvolvedGroups) startedAfter
(Date startedAfter) Only select historic process instances that were started after the given date.startedBefore
(Date startedBefore) Only select historic process instances that were started before the given date.Only select historic process instance that are started by the given user.superProcessInstanceId
(String superProcessInstanceId) Only select historic process instances started by the given process instance.Only select historic process instance that are not yet finished.variableExists
(String name) Only select process instances which have a global variable with the given name.variableNotExists
(String name) Only select process instances which does not have a global variable with the given name.variableValueEquals
(Object variableValue) Only select process instances which had at least one global variable with the given value when they ended.variableValueEquals
(String variableName, Object variableValue) Only select process instances which had a global variable with the given value when they ended.variableValueEqualsIgnoreCase
(String name, String value) Only select historic process instances which have a global string variable with the given value, case insensitive.variableValueGreaterThan
(String name, Object value) Only select process instances which had a global variable value greater than the passed value when they ended.variableValueGreaterThanOrEqual
(String name, Object value) Only select process instances which had a global variable value greater than or equal to the passed value when they ended.variableValueLessThan
(String name, Object value) Only select process instances which had a global variable value less than the passed value when the ended.variableValueLessThanOrEqual
(String name, Object value) Only select process instances which has a global variable value less than or equal to the passed value when they ended.variableValueLike
(String name, String value) Only select process instances which had a global variable value like the given value when they ended.variableValueLikeIgnoreCase
(String name, String value) Only select process instances which had a global variable value like (case insensitive) the given value when they ended.variableValueNotEquals
(String variableName, Object variableValue) Only select process instances which had a global variable with the given name, but with a different value than the passed value when they ended.variableValueNotEqualsIgnoreCase
(String name, String value) Only select historic process instances which have a global string variable not matching the given value, case insensitive.Only select process instances that failed due to an exception happening during a job execution.Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.Only select process instances that do not have a callback identifier.Methods inherited from class org.flowable.variable.service.impl.AbstractVariableQueryImpl
addVariable, addVariable, getQueryVariableValues, hasLocalQueryVariableValue, hasNonLocalQueryVariableValue, hasValueComparisonQueryVariables, isBoolean, scopedVariableExists, scopedVariableNotExists, scopedVariableValueEquals, scopedVariableValueEquals, scopedVariableValueEqualsIgnoreCase, scopedVariableValueGreaterThan, scopedVariableValueGreaterThanOrEqual, scopedVariableValueLessThan, scopedVariableValueLessThanOrEqual, scopedVariableValueLike, scopedVariableValueLikeIgnoreCase, scopedVariableValueNotEquals, scopedVariableValueNotEqualsIgnoreCase, variableExists, variableNotExists, variableValueEquals, variableValueEquals, variableValueEqualsIgnoreCase, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueLikeIgnoreCase, variableValueNotEquals, variableValueNotEqualsIgnoreCase
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.Query
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
-
Field Details
-
processEngineConfiguration
protected org.flowable.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration -
processInstanceId
-
processDefinitionId
-
businessKey
-
businessKeyLike
-
businessKeyLikeIgnoreCase
-
businessStatus
-
businessStatusLike
-
businessStatusLikeIgnoreCase
-
deploymentId
-
deploymentIds
-
finished
protected boolean finished -
unfinished
protected boolean unfinished -
deleted
protected boolean deleted -
notDeleted
protected boolean notDeleted -
startedBy
-
superProcessInstanceId
-
excludeSubprocesses
protected boolean excludeSubprocesses -
processDefinitionKeyIn
-
processKeyNotIn
-
startedBefore
-
startedAfter
-
finishedBefore
-
finishedAfter
-
processDefinitionKey
-
processDefinitionKeyLike
-
processDefinitionKeyLikeIgnoreCase
-
processDefinitionCategory
-
processDefinitionCategoryLike
-
processDefinitionCategoryLikeIgnoreCase
-
processDefinitionName
-
processDefinitionNameLike
-
processDefinitionNameLikeIgnoreCase
-
processDefinitionVersion
-
processInstanceIds
-
activeActivityId
-
activeActivityIds
-
involvedUser
-
involvedUserIdentityLink
-
involvedGroups
-
involvedGroupIdentityLink
-
includeProcessVariables
protected boolean includeProcessVariables -
withJobException
protected boolean withJobException -
tenantId
-
tenantIdLike
-
tenantIdLikeIgnoreCase
-
withoutTenantId
protected boolean withoutTenantId -
name
-
nameLike
-
nameLikeIgnoreCase
-
rootScopeId
-
parentScopeId
-
callbackId
-
callbackType
-
withoutCallbackId
protected boolean withoutCallbackId -
referenceId
-
referenceType
-
locale
-
withLocalizationFallback
protected boolean withLocalizationFallback -
orQueryObjects
-
currentOrQueryObject
-
inOrStatement
protected boolean inOrStatement
-
-
Constructor Details
-
HistoricProcessInstanceQueryImpl
public HistoricProcessInstanceQueryImpl() -
HistoricProcessInstanceQueryImpl
public HistoricProcessInstanceQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, org.flowable.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration) -
HistoricProcessInstanceQueryImpl
public HistoricProcessInstanceQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor, org.flowable.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration)
-
-
Method Details
-
processInstanceId
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances with the given process instance.ProcessInstance
ids andHistoricProcessInstance
ids match.- Specified by:
processInstanceId
in interfaceHistoricProcessInstanceQuery
-
processInstanceIds
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances whose id is in the given set of ids.ProcessInstance
ids andHistoricProcessInstance
ids match.- Specified by:
processInstanceIds
in interfaceHistoricProcessInstanceQuery
-
processDefinitionId
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances for the given process definition- Specified by:
processDefinitionId
in interfaceHistoricProcessInstanceQuery
-
processDefinitionKey
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that are defined by a process definition with the given key.- Specified by:
processDefinitionKey
in interfaceHistoricProcessInstanceQuery
-
processDefinitionKeyIn
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that are defined by a process definition with one of the given process definition keys.- Specified by:
processDefinitionKeyIn
in interfaceHistoricProcessInstanceQuery
-
processDefinitionKeyLike
Description copied from interface:HistoricProcessInstanceQuery
Select historic process instances whose process definition key is like the given value- Specified by:
processDefinitionKeyLike
in interfaceHistoricProcessInstanceQuery
-
processDefinitionKeyLikeIgnoreCase
public HistoricProcessInstanceQuery processDefinitionKeyLikeIgnoreCase(String processDefinitionKeyLikeIgnoreCase) Description copied from interface:HistoricProcessInstanceQuery
Select historic process instances whose process definition key is like the given value, ignoring upper/lower case.- Specified by:
processDefinitionKeyLikeIgnoreCase
in interfaceHistoricProcessInstanceQuery
-
processDefinitionCategory
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances whose process definition category is processDefinitionCategory.- Specified by:
processDefinitionCategory
in interfaceHistoricProcessInstanceQuery
-
processDefinitionCategoryLike
public HistoricProcessInstanceQuery processDefinitionCategoryLike(String processDefinitionCategoryLike) Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances whose process definition category is like the given value.- Specified by:
processDefinitionCategoryLike
in interfaceHistoricProcessInstanceQuery
-
processDefinitionCategoryLikeIgnoreCase
public HistoricProcessInstanceQuery processDefinitionCategoryLikeIgnoreCase(String processDefinitionCategoryLikeIgnoreCase) Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances whose process definition category is like the given value, ignoring upper/lower case.- Specified by:
processDefinitionCategoryLikeIgnoreCase
in interfaceHistoricProcessInstanceQuery
-
processDefinitionName
Description copied from interface:HistoricProcessInstanceQuery
Select process historic instances whose process definition name is processDefinitionName- Specified by:
processDefinitionName
in interfaceHistoricProcessInstanceQuery
-
processDefinitionNameLike
Description copied from interface:HistoricProcessInstanceQuery
Select process historic instances whose process definition name is like the given value- Specified by:
processDefinitionNameLike
in interfaceHistoricProcessInstanceQuery
-
processDefinitionNameLikeIgnoreCase
public HistoricProcessInstanceQuery processDefinitionNameLikeIgnoreCase(String processDefinitionNameLikeIgnoreCase) Description copied from interface:HistoricProcessInstanceQuery
Select process historic instances whose process definition name is like the given value, ignoring upper/lower case- Specified by:
processDefinitionNameLikeIgnoreCase
in interfaceHistoricProcessInstanceQuery
-
processDefinitionVersion
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances with a certain process definition version. Particularly useful when used in combination withHistoricProcessInstanceQuery.processDefinitionKey(String)
- Specified by:
processDefinitionVersion
in interfaceHistoricProcessInstanceQuery
-
processInstanceBusinessKey
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances with the given business key- Specified by:
processInstanceBusinessKey
in interfaceHistoricProcessInstanceQuery
-
processInstanceBusinessKeyLike
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances with a business key like the given value.- Specified by:
processInstanceBusinessKeyLike
in interfaceHistoricProcessInstanceQuery
-
processInstanceBusinessKeyLikeIgnoreCase
public HistoricProcessInstanceQuery processInstanceBusinessKeyLikeIgnoreCase(String businessKeyLikeIgnoreCase) Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances with a business key like the given value, ignoring upper/lower case.- Specified by:
processInstanceBusinessKeyLikeIgnoreCase
in interfaceHistoricProcessInstanceQuery
-
processInstanceBusinessStatus
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances with the given business status- Specified by:
processInstanceBusinessStatus
in interfaceHistoricProcessInstanceQuery
-
processInstanceBusinessStatusLike
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances with a business status like the given value.- Specified by:
processInstanceBusinessStatusLike
in interfaceHistoricProcessInstanceQuery
-
processInstanceBusinessStatusLikeIgnoreCase
public HistoricProcessInstanceQuery processInstanceBusinessStatusLikeIgnoreCase(String businessStatusLikeIgnoreCase) Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances with a business status like the given value, ignoring upper/lower case.- Specified by:
processInstanceBusinessStatusLikeIgnoreCase
in interfaceHistoricProcessInstanceQuery
-
processInstanceRootScopeId
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances with a root instance with a name like the given value.- Specified by:
processInstanceRootScopeId
in interfaceHistoricProcessInstanceQuery
-
processInstanceParentScopeId
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances with the given parent process instance id.- Specified by:
processInstanceParentScopeId
in interfaceHistoricProcessInstanceQuery
-
deploymentId
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that are defined by a process definition with the given deployment identifier.- Specified by:
deploymentId
in interfaceHistoricProcessInstanceQuery
-
deploymentIdIn
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that are defined by a process definition with one of the given deployment identifiers.- Specified by:
deploymentIdIn
in interfaceHistoricProcessInstanceQuery
-
finished
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that are completely finished.- Specified by:
finished
in interfaceHistoricProcessInstanceQuery
-
unfinished
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instance that are not yet finished.- Specified by:
unfinished
in interfaceHistoricProcessInstanceQuery
-
deleted
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that are deleted.- Specified by:
deleted
in interfaceHistoricProcessInstanceQuery
-
notDeleted
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instance that are not deleted.- Specified by:
notDeleted
in interfaceHistoricProcessInstanceQuery
-
startedBy
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instance that are started by the given user.- Specified by:
startedBy
in interfaceHistoricProcessInstanceQuery
-
processDefinitionKeyNotIn
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that don't have a process-definition of which the key is present in the given list- Specified by:
processDefinitionKeyNotIn
in interfaceHistoricProcessInstanceQuery
-
startedAfter
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that were started after the given date.- Specified by:
startedAfter
in interfaceHistoricProcessInstanceQuery
-
startedBefore
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that were started before the given date.- Specified by:
startedBefore
in interfaceHistoricProcessInstanceQuery
-
finishedAfter
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that were finished after the given date.- Specified by:
finishedAfter
in interfaceHistoricProcessInstanceQuery
-
finishedBefore
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances that were finished before the given date.- Specified by:
finishedBefore
in interfaceHistoricProcessInstanceQuery
-
superProcessInstanceId
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances started by the given process instance.ProcessInstance
ids andHistoricProcessInstance
ids match.- Specified by:
superProcessInstanceId
in interfaceHistoricProcessInstanceQuery
-
excludeSubprocesses
Description copied from interface:HistoricProcessInstanceQuery
Exclude sub processes from the query result;- Specified by:
excludeSubprocesses
in interfaceHistoricProcessInstanceQuery
-
activeActivityId
Description copied from interface:HistoricProcessInstanceQuery
Select the historic process instances which have an active activity instance like the provided id.- Specified by:
activeActivityId
in interfaceHistoricProcessInstanceQuery
-
activeActivityIds
Description copied from interface:HistoricProcessInstanceQuery
Select the historic process instances which have an active activity instance like the provided ids.- Specified by:
activeActivityIds
in interfaceHistoricProcessInstanceQuery
-
involvedUser
Description copied from interface:HistoricProcessInstanceQuery
Only select the historic process instances with which the user with the given id is involved.- Specified by:
involvedUser
in interfaceHistoricProcessInstanceQuery
-
involvedUser
Description copied from interface:HistoricProcessInstanceQuery
Only select the historic process instances with which the user with the given id and link type is involved.- Specified by:
involvedUser
in interfaceHistoricProcessInstanceQuery
-
involvedGroup
Description copied from interface:HistoricProcessInstanceQuery
Only select the historic process instances with which the group with the given id and link type is involved.- Specified by:
involvedGroup
in interfaceHistoricProcessInstanceQuery
-
involvedGroups
Description copied from interface:HistoricProcessInstanceQuery
Only select the historic process instances with which the group with the given ids are involved.- Specified by:
involvedGroups
in interfaceHistoricProcessInstanceQuery
-
includeProcessVariables
Description copied from interface:HistoricProcessInstanceQuery
Include process variables in the process query result- Specified by:
includeProcessVariables
in interfaceHistoricProcessInstanceQuery
-
withJobException
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances that failed due to an exception happening during a job execution.- Specified by:
withJobException
in interfaceHistoricProcessInstanceQuery
-
processInstanceTenantId
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances that have the given tenant id.- Specified by:
processInstanceTenantId
in interfaceHistoricProcessInstanceQuery
-
processInstanceTenantIdLike
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances with a tenant id like the given one.- Specified by:
processInstanceTenantIdLike
in interfaceHistoricProcessInstanceQuery
-
processInstanceTenantIdLikeIgnoreCase
public HistoricProcessInstanceQuery processInstanceTenantIdLikeIgnoreCase(String tenantIdLikeIgnoreCase) Description copied from interface:HistoricProcessInstanceQuery
Only select process instances with a tenant id like the given one, ignoring upper/lower case.- Specified by:
processInstanceTenantIdLikeIgnoreCase
in interfaceHistoricProcessInstanceQuery
-
processInstanceWithoutTenantId
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances that do not have a tenant id.- Specified by:
processInstanceWithoutTenantId
in interfaceHistoricProcessInstanceQuery
-
processInstanceName
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances with the given name.- Specified by:
processInstanceName
in interfaceHistoricProcessInstanceQuery
-
processInstanceNameLike
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances with a name like the given value.- Specified by:
processInstanceNameLike
in interfaceHistoricProcessInstanceQuery
-
processInstanceNameLikeIgnoreCase
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances with a name like the given value, ignoring upper/lower case.- Specified by:
processInstanceNameLikeIgnoreCase
in interfaceHistoricProcessInstanceQuery
-
processInstanceCallbackId
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances with the given callback identifier.- Specified by:
processInstanceCallbackId
in interfaceHistoricProcessInstanceQuery
-
processInstanceCallbackType
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances with the given callback type.- Specified by:
processInstanceCallbackType
in interfaceHistoricProcessInstanceQuery
-
withoutProcessInstanceCallbackId
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances that do not have a callback identifier.- Specified by:
withoutProcessInstanceCallbackId
in interfaceHistoricProcessInstanceQuery
-
processInstanceReferenceId
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances with the given reference identifier.- Specified by:
processInstanceReferenceId
in interfaceHistoricProcessInstanceQuery
-
processInstanceReferenceType
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances with the given reference type.- Specified by:
processInstanceReferenceType
in interfaceHistoricProcessInstanceQuery
-
variableValueEquals
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which had a global variable with the given value when they ended. The type only applies to already ended process instances, otherwise use aProcessInstanceQuery
instead! A variable type is determined based on the value, using types configured inProcessEngineConfigurationImpl.getVariableTypes()
. Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueEquals
in interfaceHistoricProcessInstanceQuery
- Overrides:
variableValueEquals
in classorg.flowable.variable.service.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance> - Parameters:
variableName
- of the variable, cannot be null.
-
localVariableValueEquals
public HistoricProcessInstanceQuery localVariableValueEquals(String variableName, Object variableValue) Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which had a local variable with the given value when they ended. The type only applies to already ended process instances, otherwise use aProcessInstanceQuery
instead! A variable type is determined based on the value, using types configured inProcessEngineConfigurationImpl.getVariableTypes()
. Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
localVariableValueEquals
in interfaceHistoricProcessInstanceQuery
- Parameters:
variableName
- of the variable, cannot be null.
-
variableValueNotEquals
public HistoricProcessInstanceQuery variableValueNotEquals(String variableName, Object variableValue) Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which had a global variable with the given name, but with a different value than the passed value when they ended. Only select process instances which have a variable value greater than the passed value. Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueNotEquals
in interfaceHistoricProcessInstanceQuery
- Overrides:
variableValueNotEquals
in classorg.flowable.variable.service.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance> - Parameters:
variableName
- of the variable, cannot be null.
-
localVariableValueNotEquals
public HistoricProcessInstanceQuery localVariableValueNotEquals(String variableName, Object variableValue) Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which had a local variable with the given name, but with a different value than the passed value when they ended. Only select process instances which have a variable value greater than the passed value. Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
localVariableValueNotEquals
in interfaceHistoricProcessInstanceQuery
- Parameters:
variableName
- of the variable, cannot be null.
-
variableValueEquals
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which had at least one global variable with the given value when they ended. The type only applies to already ended process instances, otherwise use aProcessInstanceQuery
instead! A variable type is determined based on the value, using types configured inProcessEngineConfigurationImpl.getVariableTypes()
. Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueEquals
in interfaceHistoricProcessInstanceQuery
- Overrides:
variableValueEquals
in classorg.flowable.variable.service.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance>
-
localVariableValueEquals
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which had at least one local variable with the given value when they ended. The type only applies to already ended process instances, otherwise use aProcessInstanceQuery
instead! A variable type is determined based on the value, using types configured inProcessEngineConfigurationImpl.getVariableTypes()
. Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
localVariableValueEquals
in interfaceHistoricProcessInstanceQuery
-
variableValueEqualsIgnoreCase
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances which have a global string variable with the given value, case insensitive.- Specified by:
variableValueEqualsIgnoreCase
in interfaceHistoricProcessInstanceQuery
- Overrides:
variableValueEqualsIgnoreCase
in classorg.flowable.variable.service.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance> - Parameters:
name
- name of the variable, cannot be null.value
- value of the variable, cannot be null.
-
localVariableValueEqualsIgnoreCase
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances which have a local string variable with the given value, case insensitive.- Specified by:
localVariableValueEqualsIgnoreCase
in interfaceHistoricProcessInstanceQuery
- Parameters:
name
- name of the variable, cannot be null.value
- value of the variable, cannot be null.
-
variableValueNotEqualsIgnoreCase
Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances which have a global string variable not matching the given value, case insensitive.- Specified by:
variableValueNotEqualsIgnoreCase
in interfaceHistoricProcessInstanceQuery
- Overrides:
variableValueNotEqualsIgnoreCase
in classorg.flowable.variable.service.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance> - Parameters:
name
- name of the variable, cannot be null.value
- value of the variable, cannot be null.
-
localVariableValueNotEqualsIgnoreCase
public HistoricProcessInstanceQuery localVariableValueNotEqualsIgnoreCase(String name, String value) Description copied from interface:HistoricProcessInstanceQuery
Only select historic process instances which have a local string variable not matching the given value, case insensitive.- Specified by:
localVariableValueNotEqualsIgnoreCase
in interfaceHistoricProcessInstanceQuery
- Parameters:
name
- name of the variable, cannot be null.value
- value of the variable, cannot be null.
-
variableValueLikeIgnoreCase
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which had a global variable value like (case insensitive) the given value when they ended. Only applies to already ended process instances, otherwise use aProcessInstanceQuery
instead! This can be used on string variables only.- Specified by:
variableValueLikeIgnoreCase
in interfaceHistoricProcessInstanceQuery
- Overrides:
variableValueLikeIgnoreCase
in classorg.flowable.variable.service.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance> - Parameters:
name
- cannot be null.value
- cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
localVariableValueLikeIgnoreCase
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which had a local variable value like (case insensitive) the given value when they ended. Only applies to already ended process instances, otherwise use aProcessInstanceQuery
instead! This can be used on string variables only.- Specified by:
localVariableValueLikeIgnoreCase
in interfaceHistoricProcessInstanceQuery
- Parameters:
name
- cannot be null.value
- cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
variableValueGreaterThan
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which had a global variable value greater than the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported. Only select process instances which have a variable value greater than the passed value.- Specified by:
variableValueGreaterThan
in interfaceHistoricProcessInstanceQuery
- Overrides:
variableValueGreaterThan
in classorg.flowable.variable.service.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance> - Parameters:
name
- cannot be null.value
- cannot be null.
-
localVariableValueGreaterThan
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which had a local variable value greater than the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported. Only select process instances which have a variable value greater than the passed value.- Specified by:
localVariableValueGreaterThan
in interfaceHistoricProcessInstanceQuery
- Parameters:
name
- cannot be null.value
- cannot be null.
-
variableValueGreaterThanOrEqual
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which had a global variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported. Only applies to already ended process instances, otherwise use aProcessInstanceQuery
instead!- Specified by:
variableValueGreaterThanOrEqual
in interfaceHistoricProcessInstanceQuery
- Overrides:
variableValueGreaterThanOrEqual
in classorg.flowable.variable.service.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance> - Parameters:
name
- cannot be null.value
- cannot be null.
-
localVariableValueGreaterThanOrEqual
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which had a local variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported. Only applies to already ended process instances, otherwise use aProcessInstanceQuery
instead!- Specified by:
localVariableValueGreaterThanOrEqual
in interfaceHistoricProcessInstanceQuery
- Parameters:
name
- cannot be null.value
- cannot be null.
-
variableValueLessThan
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which had a global variable value less than the passed value when the ended. Only applies to already ended process instances, otherwise use aProcessInstanceQuery
instead! Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueLessThan
in interfaceHistoricProcessInstanceQuery
- Overrides:
variableValueLessThan
in classorg.flowable.variable.service.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance> - Parameters:
name
- cannot be null.value
- cannot be null.
-
localVariableValueLessThan
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which had a local variable value less than the passed value when the ended. Only applies to already ended process instances, otherwise use aProcessInstanceQuery
instead! Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
localVariableValueLessThan
in interfaceHistoricProcessInstanceQuery
- Parameters:
name
- cannot be null.value
- cannot be null.
-
variableValueLessThanOrEqual
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which has a global variable value less than or equal to the passed value when they ended. Only applies to already ended process instances, otherwise use aProcessInstanceQuery
instead! Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueLessThanOrEqual
in interfaceHistoricProcessInstanceQuery
- Overrides:
variableValueLessThanOrEqual
in classorg.flowable.variable.service.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance> - Parameters:
name
- cannot be null.value
- cannot be null.
-
localVariableValueLessThanOrEqual
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which has a local variable value less than or equal to the passed value when they ended. Only applies to already ended process instances, otherwise use aProcessInstanceQuery
instead! Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
localVariableValueLessThanOrEqual
in interfaceHistoricProcessInstanceQuery
- Parameters:
name
- cannot be null.value
- cannot be null.
-
variableValueLike
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which had a global variable value like the given value when they ended. Only applies to already ended process instances, otherwise use aProcessInstanceQuery
instead! This can be used on string variables only.- Specified by:
variableValueLike
in interfaceHistoricProcessInstanceQuery
- Overrides:
variableValueLike
in classorg.flowable.variable.service.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance> - Parameters:
name
- cannot be null.value
- cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
localVariableValueLike
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which had a local variable value like the given value when they ended. Only applies to already ended process instances, otherwise use aProcessInstanceQuery
instead! This can be used on string variables only.- Specified by:
localVariableValueLike
in interfaceHistoricProcessInstanceQuery
- Parameters:
name
- cannot be null.value
- cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
variableExists
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which have a global variable with the given name.- Specified by:
variableExists
in interfaceHistoricProcessInstanceQuery
- Overrides:
variableExists
in classorg.flowable.variable.service.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance> - Parameters:
name
- cannot be null.
-
localVariableExists
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which have a local variable with the given name.- Specified by:
localVariableExists
in interfaceHistoricProcessInstanceQuery
- Parameters:
name
- cannot be null.
-
variableNotExists
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which does not have a global variable with the given name.- Specified by:
variableNotExists
in interfaceHistoricProcessInstanceQuery
- Overrides:
variableNotExists
in classorg.flowable.variable.service.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance> - Parameters:
name
- cannot be null.
-
localVariableNotExists
Description copied from interface:HistoricProcessInstanceQuery
Only select process instances which does not have a local variable with the given name.- Specified by:
localVariableNotExists
in interfaceHistoricProcessInstanceQuery
- Parameters:
name
- cannot be null.
-
locale
Description copied from interface:HistoricProcessInstanceQuery
Localize historic process name and description to specified locale.- Specified by:
locale
in interfaceHistoricProcessInstanceQuery
-
withLocalizationFallback
Description copied from interface:HistoricProcessInstanceQuery
Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.- Specified by:
withLocalizationFallback
in interfaceHistoricProcessInstanceQuery
-
or
Description copied from interface:HistoricProcessInstanceQuery
Begin an OR statement. Make sure you invoke the endOr method at the end of your OR statement. Only one OR statement is allowed, for the second call to this method an exception will be thrown.- Specified by:
or
in interfaceHistoricProcessInstanceQuery
-
endOr
Description copied from interface:HistoricProcessInstanceQuery
End an OR statement. Only one OR statement is allowed, for the second call to this method an exception will be thrown.- Specified by:
endOr
in interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceBusinessKey
Description copied from interface:HistoricProcessInstanceQuery
Order by the business key (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessInstanceBusinessKey
in interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceDuration
Description copied from interface:HistoricProcessInstanceQuery
Order by the duration of the process instance (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessInstanceDuration
in interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceStartTime
Description copied from interface:HistoricProcessInstanceQuery
Order by the start time (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessInstanceStartTime
in interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceEndTime
Description copied from interface:HistoricProcessInstanceQuery
Order by the end time (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessInstanceEndTime
in interfaceHistoricProcessInstanceQuery
-
orderByProcessDefinitionId
Description copied from interface:HistoricProcessInstanceQuery
Order by the process definition id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessDefinitionId
in interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceId
Description copied from interface:HistoricProcessInstanceQuery
Order by the process instance id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessInstanceId
in interfaceHistoricProcessInstanceQuery
-
orderByTenantId
Description copied from interface:HistoricProcessInstanceQuery
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTenantId
in interfaceHistoricProcessInstanceQuery
-
executeCount
public long executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
executeCount
in classorg.flowable.variable.service.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance>
-
executeList
public List<HistoricProcessInstance> executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
executeList
in classorg.flowable.variable.service.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance>
-
addCachedVariableForQueryById
protected void addCachedVariableForQueryById(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, List<HistoricProcessInstance> results) -
enhanceCachedValue
public void enhanceCachedValue(org.flowable.engine.impl.persistence.entity.HistoricProcessInstanceEntity processInstance) - Specified by:
enhanceCachedValue
in interfaceorg.flowable.common.engine.api.query.CacheAwareQuery<org.flowable.engine.impl.persistence.entity.HistoricProcessInstanceEntity>
-
ensureVariablesInitialized
protected void ensureVariablesInitialized()- Overrides:
ensureVariablesInitialized
in classorg.flowable.variable.service.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,
HistoricProcessInstance>
-
delete
public void delete()- Specified by:
delete
in interfaceorg.flowable.common.engine.api.query.DeleteQuery<HistoricProcessInstanceQuery,
HistoricProcessInstance>
-
deleteWithRelatedData
Deprecated.- Specified by:
deleteWithRelatedData
in interfaceorg.flowable.common.engine.api.query.DeleteQuery<HistoricProcessInstanceQuery,
HistoricProcessInstance>
-
deleteInParallelUsingBatch
- Specified by:
deleteInParallelUsingBatch
in interfaceorg.flowable.common.engine.api.query.BatchDeleteQuery<HistoricProcessInstanceQuery>
-
deleteSequentiallyUsingBatch
- Specified by:
deleteSequentiallyUsingBatch
in interfaceorg.flowable.common.engine.api.query.BatchDeleteQuery<HistoricProcessInstanceQuery>
-
getBusinessKey
-
getBusinessKeyLike
-
getBusinessKeyLikeIgnoreCase
-
getBusinessStatus
-
getBusinessStatusLike
-
getBusinessStatusLikeIgnoreCase
-
isOpen
public boolean isOpen() -
getProcessDefinitionId
-
getProcessDefinitionKey
-
getProcessDefinitionKeyLike
-
getProcessDefinitionKeyLikeIgnoreCase
-
getProcessDefinitionKeyIn
-
getProcessDefinitionIdLike
-
getProcessDefinitionName
-
getProcessDefinitionNameLike
-
getProcessDefinitionNameLikeIgnoreCase
-
getProcessDefinitionCategory
-
getProcessDefinitionCategoryLike
-
getProcessDefinitionCategoryLikeIgnoreCase
-
getProcessDefinitionVersion
-
getProcessInstanceId
-
getId
- Specified by:
getId
in interfaceorg.flowable.common.engine.api.query.CacheAwareQuery<org.flowable.engine.impl.persistence.entity.HistoricProcessInstanceEntity>
-
getProcessInstanceIds
-
getStartedBy
-
getSuperProcessInstanceId
-
isExcludeSubprocesses
public boolean isExcludeSubprocesses() -
getProcessKeyNotIn
-
getStartedAfter
-
getStartedBefore
-
getFinishedAfter
-
getFinishedBefore
-
getActiveActivityId
-
getActiveActivityIds
-
getInvolvedUser
-
getInvolvedGroups
-
getName
-
getNameLike
-
getNameLikeIgnoreCase
-
getDeploymentId
-
getDeploymentIds
-
isFinished
public boolean isFinished() -
isUnfinished
public boolean isUnfinished() -
isDeleted
public boolean isDeleted() -
isNotDeleted
public boolean isNotDeleted() -
isIncludeProcessVariables
public boolean isIncludeProcessVariables() -
isWithException
public boolean isWithException() -
getTenantId
-
getTenantIdLike
-
getTenantIdLikeIgnoreCase
-
isWithoutTenantId
public boolean isWithoutTenantId() -
getCallbackId
-
getCallbackType
-
isWithoutCallbackId
public boolean isWithoutCallbackId() -
getReferenceId
-
getReferenceType
-
getOrQueryObjects
-
getInvolvedUserIdentityLink
-
getInvolvedGroupIdentityLink
-
isWithJobException
public boolean isWithJobException() -
getLocale
-
isWithLocalizationFallback
public boolean isWithLocalizationFallback() -
isNeedsProcessDefinitionOuterJoin
public boolean isNeedsProcessDefinitionOuterJoin() -
getSafeInvolvedGroups
-
setSafeInvolvedGroups
-
getRootScopeId
-
getParentScopeId
-