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,BatchDeleteQuery<HistoricProcessInstanceQuery>,CacheAwareQuery<HistoricProcessInstanceEntity>,DeleteQuery<HistoricProcessInstanceQuery,HistoricProcessInstance>,Query<HistoricProcessInstanceQuery,HistoricProcessInstance>,Command<Object>,HistoricProcessInstanceQuery
public class HistoricProcessInstanceQueryImpl extends AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance> implements HistoricProcessInstanceQuery, CacheAwareQuery<HistoricProcessInstanceEntity>
- Author:
- Tom Baeyens, Tijs Rademakers, Falko Menge, Bernd Ruecker, 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 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
Constructors Constructor Description HistoricProcessInstanceQueryImpl()HistoricProcessInstanceQueryImpl(CommandContext commandContext, ProcessEngineConfigurationImpl processEngineConfiguration)HistoricProcessInstanceQueryImpl(CommandExecutor commandExecutor, ProcessEngineConfigurationImpl processEngineConfiguration)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HistoricProcessInstanceQueryactiveActivityId(String activityId)Select the historic process instances which have an active activity instance like the provided id.HistoricProcessInstanceQueryactiveActivityIds(Set<String> activityIds)Select the historic process instances which have an active activity instance like the provided ids.protected voidaddCachedVariableForQueryById(CommandContext commandContext, List<HistoricProcessInstance> results)voiddelete()HistoricProcessInstanceQuerydeleted()Only select historic process instances that are deleted.StringdeleteInParallelUsingBatch(int batchSize, String batchName)StringdeleteSequentiallyUsingBatch(int batchSize, String batchName)voiddeleteWithRelatedData()HistoricProcessInstanceQuerydeploymentId(String deploymentId)Only select historic process instances that are defined by a process definition with the given deployment identifier.HistoricProcessInstanceQuerydeploymentIdIn(List<String> deploymentIds)Only select historic process instances that are defined by a process definition with one of the given deployment identifiers.HistoricProcessInstanceQueryendOr()End an OR statement.voidenhanceCachedValue(HistoricProcessInstanceEntity processInstance)protected voidensureVariablesInitialized()HistoricProcessInstanceQueryexcludeSubprocesses(boolean excludeSubprocesses)Exclude sub processes from the query result;longexecuteCount(CommandContext commandContext)List<HistoricProcessInstance>executeList(CommandContext commandContext)HistoricProcessInstanceQueryfinished()Only select historic process instances that are completely finished.HistoricProcessInstanceQueryfinishedAfter(Date finishedAfter)Only select historic process instances that were finished after the given date.HistoricProcessInstanceQueryfinishedBefore(Date finishedBefore)Only select historic process instances that were finished before the given date.StringgetActiveActivityId()Set<String>getActiveActivityIds()StringgetBusinessKey()StringgetBusinessKeyLike()StringgetBusinessStatus()StringgetBusinessStatusLike()StringgetCallbackId()StringgetCallbackType()StringgetDeploymentId()List<String>getDeploymentIds()DategetFinishedAfter()DategetFinishedBefore()StringgetId()IdentityLinkQueryObjectgetInvolvedGroupIdentityLink()Set<String>getInvolvedGroups()StringgetInvolvedUser()IdentityLinkQueryObjectgetInvolvedUserIdentityLink()StringgetLocale()StringgetName()StringgetNameLike()StringgetNameLikeIgnoreCase()List<HistoricProcessInstanceQueryImpl>getOrQueryObjects()StringgetProcessDefinitionCategory()StringgetProcessDefinitionId()StringgetProcessDefinitionIdLike()StringgetProcessDefinitionKey()List<String>getProcessDefinitionKeyIn()StringgetProcessDefinitionName()IntegergetProcessDefinitionVersion()StringgetProcessInstanceId()Set<String>getProcessInstanceIds()List<String>getProcessKeyNotIn()StringgetReferenceId()StringgetReferenceType()List<List<String>>getSafeInvolvedGroups()static longgetSerialversionuid()DategetStartedAfter()DategetStartedBefore()StringgetStartedBy()StringgetSuperProcessInstanceId()StringgetTenantId()StringgetTenantIdLike()HistoricProcessInstanceQueryincludeProcessVariables()Include process variables in the process query resultHistoricProcessInstanceQueryinvolvedGroup(String groupId, String identityLinkType)Only select the historic process instances with which the group with the given id and link type is involved.HistoricProcessInstanceQueryinvolvedGroups(Set<String> involvedGroups)Only select the historic process instances with which the group with the given ids are involved.HistoricProcessInstanceQueryinvolvedUser(String involvedUser)Only select the historic process instances with which the user with the given id is involved.HistoricProcessInstanceQueryinvolvedUser(String userId, String identityLinkType)Only select the historic process instances with which the user with the given id and link type is involved.booleanisDeleted()booleanisExcludeSubprocesses()booleanisFinished()booleanisIncludeProcessVariables()booleanisNeedsProcessDefinitionOuterJoin()booleanisNotDeleted()booleanisOpen()booleanisUnfinished()booleanisWithException()booleanisWithJobException()booleanisWithLocalizationFallback()booleanisWithoutCallbackId()booleanisWithoutTenantId()HistoricProcessInstanceQuerylimitProcessInstanceVariables(Integer processInstanceVariablesLimit)Limit process instance variablesHistoricProcessInstanceQuerylocale(String locale)Localize historic process name and description to specified locale.HistoricProcessInstanceQuerylocalVariableExists(String name)Only select process instances which have a local variable with the given name.HistoricProcessInstanceQuerylocalVariableNotExists(String name)Only select process instances which does not have a local variable with the given name.HistoricProcessInstanceQuerylocalVariableValueEquals(Object variableValue)Only select process instances which had at least one local variable with the given value when they ended.HistoricProcessInstanceQuerylocalVariableValueEquals(String variableName, Object variableValue)Only select process instances which had a local variable with the given value when they ended.HistoricProcessInstanceQuerylocalVariableValueEqualsIgnoreCase(String name, String value)Only select historic process instances which have a local string variable with the given value, case insensitive.HistoricProcessInstanceQuerylocalVariableValueGreaterThan(String name, Object value)Only select process instances which had a local variable value greater than the passed value when they ended.HistoricProcessInstanceQuerylocalVariableValueGreaterThanOrEqual(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.HistoricProcessInstanceQuerylocalVariableValueLessThan(String name, Object value)Only select process instances which had a local variable value less than the passed value when the ended.HistoricProcessInstanceQuerylocalVariableValueLessThanOrEqual(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.HistoricProcessInstanceQuerylocalVariableValueLike(String name, String value)Only select process instances which had a local variable value like the given value when they ended.HistoricProcessInstanceQuerylocalVariableValueLikeIgnoreCase(String name, String value)Only select process instances which had a local variable value like (case insensitive) the given value when they ended.HistoricProcessInstanceQuerylocalVariableValueNotEquals(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.HistoricProcessInstanceQuerylocalVariableValueNotEqualsIgnoreCase(String name, String value)Only select historic process instances which have a local string variable not matching the given value, case insensitive.HistoricProcessInstanceQuerynotDeleted()Only select historic process instance that are not deleted.HistoricProcessInstanceQueryor()Begin an OR statement.HistoricProcessInstanceQueryorderByProcessDefinitionId()Order by the process definition id (needs to be followed byQuery.asc()orQuery.desc()).HistoricProcessInstanceQueryorderByProcessInstanceBusinessKey()Order by the business key (needs to be followed byQuery.asc()orQuery.desc()).HistoricProcessInstanceQueryorderByProcessInstanceDuration()Order by the duration of the process instance (needs to be followed byQuery.asc()orQuery.desc()).HistoricProcessInstanceQueryorderByProcessInstanceEndTime()Order by the end time (needs to be followed byQuery.asc()orQuery.desc()).HistoricProcessInstanceQueryorderByProcessInstanceId()Order by the process instance id (needs to be followed byQuery.asc()orQuery.desc()).HistoricProcessInstanceQueryorderByProcessInstanceStartTime()Order by the start time (needs to be followed byQuery.asc()orQuery.desc()).HistoricProcessInstanceQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).HistoricProcessInstanceQueryprocessDefinitionCategory(String processDefinitionCategory)Only select historic process instances whose process definition category is processDefinitionCategory.HistoricProcessInstanceQueryImplprocessDefinitionId(String processDefinitionId)Only select historic process instances for the given process definitionHistoricProcessInstanceQueryprocessDefinitionKey(String processDefinitionKey)Only select historic process instances that are defined by a process definition with the given key.HistoricProcessInstanceQueryprocessDefinitionKeyIn(List<String> processDefinitionKeys)Only select historic process instances that are defined by a process definition with one of the given process definition keys.HistoricProcessInstanceQueryprocessDefinitionKeyNotIn(List<String> processDefinitionKeys)Only select historic process instances that don't have a process-definition of which the key is present in the given listHistoricProcessInstanceQueryprocessDefinitionName(String processDefinitionName)Select process historic instances whose process definition name is processDefinitionNameHistoricProcessInstanceQueryprocessDefinitionVersion(Integer processDefinitionVersion)Only select historic process instances with a certain process definition version.HistoricProcessInstanceQueryprocessInstanceBusinessKey(String businessKey)Only select historic process instances with the given business keyHistoricProcessInstanceQueryprocessInstanceBusinessKeyLike(String businessKeyLike)Only select historic process instances with a business key like the given value.HistoricProcessInstanceQueryprocessInstanceBusinessStatus(String businessStatus)Only select historic process instances with the given business statusHistoricProcessInstanceQueryprocessInstanceBusinessStatusLike(String businessStatusLike)Only select historic process instances with a business status like the given value.HistoricProcessInstanceQueryprocessInstanceCallbackId(String callbackId)Only select process instances with the given callback identifier.HistoricProcessInstanceQueryprocessInstanceCallbackType(String callbackType)Only select process instances with the given callback type.HistoricProcessInstanceQueryImplprocessInstanceId(String processInstanceId)Only select historic process instances with the given process instance.HistoricProcessInstanceQueryprocessInstanceIds(Set<String> processInstanceIds)Only select historic process instances whose id is in the given set of ids.HistoricProcessInstanceQueryprocessInstanceName(String name)Only select process instances with the given name.HistoricProcessInstanceQueryprocessInstanceNameLike(String nameLike)Only select process instances with a name like the given value.HistoricProcessInstanceQueryprocessInstanceNameLikeIgnoreCase(String nameLikeIgnoreCase)Only select process instances with a name like the given value, ignoring upper/lower case.HistoricProcessInstanceQueryprocessInstanceReferenceId(String referenceId)Only select process instances with the given reference identifier.HistoricProcessInstanceQueryprocessInstanceReferenceType(String referenceType)Only select process instances with the given reference type.HistoricProcessInstanceQueryprocessInstanceTenantId(String tenantId)Only select process instances that have the given tenant id.HistoricProcessInstanceQueryprocessInstanceTenantIdLike(String tenantIdLike)Only select process instances with a tenant id like the given one.HistoricProcessInstanceQueryprocessInstanceWithoutTenantId()Only select process instances that do not have a tenant id.voidsetSafeInvolvedGroups(List<List<String>> safeInvolvedGroups)HistoricProcessInstanceQuerystartedAfter(Date startedAfter)Only select historic process instances that were started after the given date.HistoricProcessInstanceQuerystartedBefore(Date startedBefore)Only select historic process instances that were started before the given date.HistoricProcessInstanceQuerystartedBy(String startedBy)Only select historic process instance that are started by the given user.HistoricProcessInstanceQuerysuperProcessInstanceId(String superProcessInstanceId)Only select historic process instances started by the given process instance.HistoricProcessInstanceQueryunfinished()Only select historic process instance that are not yet finished.HistoricProcessInstanceQueryvariableExists(String name)Only select process instances which have a global variable with the given name.HistoricProcessInstanceQueryvariableNotExists(String name)Only select process instances which does not have a global variable with the given name.HistoricProcessInstanceQueryvariableValueEquals(Object variableValue)Only select process instances which had at least one global variable with the given value when they ended.HistoricProcessInstanceQueryvariableValueEquals(String variableName, Object variableValue)Only select process instances which had a global variable with the given value when they ended.HistoricProcessInstanceQueryvariableValueEqualsIgnoreCase(String name, String value)Only select historic process instances which have a global string variable with the given value, case insensitive.HistoricProcessInstanceQueryvariableValueGreaterThan(String name, Object value)Only select process instances which had a global variable value greater than the passed value when they ended.HistoricProcessInstanceQueryvariableValueGreaterThanOrEqual(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.HistoricProcessInstanceQueryvariableValueLessThan(String name, Object value)Only select process instances which had a global variable value less than the passed value when the ended.HistoricProcessInstanceQueryvariableValueLessThanOrEqual(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.HistoricProcessInstanceQueryvariableValueLike(String name, String value)Only select process instances which had a global variable value like the given value when they ended.HistoricProcessInstanceQueryvariableValueLikeIgnoreCase(String name, String value)Only select process instances which had a global variable value like (case insensitive) the given value when they ended.HistoricProcessInstanceQueryvariableValueNotEquals(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.HistoricProcessInstanceQueryvariableValueNotEqualsIgnoreCase(String name, String value)Only select historic process instances which have a global string variable not matching the given value, case insensitive.HistoricProcessInstanceQuerywithJobException()Only select process instances that failed due to an exception happening during a job execution.HistoricProcessInstanceQuerywithLocalizationFallback()Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.HistoricProcessInstanceQuerywithoutProcessInstanceCallbackId()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
-
-
-
-
Field Detail
-
processEngineConfiguration
protected ProcessEngineConfigurationImpl processEngineConfiguration
-
processInstanceId
protected String processInstanceId
-
processDefinitionId
protected String processDefinitionId
-
businessKey
protected String businessKey
-
businessKeyLike
protected String businessKeyLike
-
businessStatus
protected String businessStatus
-
businessStatusLike
protected String businessStatusLike
-
deploymentId
protected String deploymentId
-
finished
protected boolean finished
-
unfinished
protected boolean unfinished
-
deleted
protected boolean deleted
-
notDeleted
protected boolean notDeleted
-
startedBy
protected String startedBy
-
superProcessInstanceId
protected String superProcessInstanceId
-
excludeSubprocesses
protected boolean excludeSubprocesses
-
startedBefore
protected Date startedBefore
-
startedAfter
protected Date startedAfter
-
finishedBefore
protected Date finishedBefore
-
finishedAfter
protected Date finishedAfter
-
processDefinitionKey
protected String processDefinitionKey
-
processDefinitionCategory
protected String processDefinitionCategory
-
processDefinitionName
protected String processDefinitionName
-
processDefinitionVersion
protected Integer processDefinitionVersion
-
activeActivityId
protected String activeActivityId
-
involvedUser
protected String involvedUser
-
involvedUserIdentityLink
protected IdentityLinkQueryObject involvedUserIdentityLink
-
involvedGroupIdentityLink
protected IdentityLinkQueryObject involvedGroupIdentityLink
-
includeProcessVariables
protected boolean includeProcessVariables
-
withJobException
protected boolean withJobException
-
tenantId
protected String tenantId
-
tenantIdLike
protected String tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId
-
name
protected String name
-
nameLike
protected String nameLike
-
nameLikeIgnoreCase
protected String nameLikeIgnoreCase
-
callbackId
protected String callbackId
-
callbackType
protected String callbackType
-
withoutCallbackId
protected boolean withoutCallbackId
-
referenceId
protected String referenceId
-
referenceType
protected String referenceType
-
locale
protected String locale
-
withLocalizationFallback
protected boolean withLocalizationFallback
-
orQueryObjects
protected List<HistoricProcessInstanceQueryImpl> orQueryObjects
-
currentOrQueryObject
protected HistoricProcessInstanceQueryImpl currentOrQueryObject
-
inOrStatement
protected boolean inOrStatement
-
-
Constructor Detail
-
HistoricProcessInstanceQueryImpl
public HistoricProcessInstanceQueryImpl()
-
HistoricProcessInstanceQueryImpl
public HistoricProcessInstanceQueryImpl(CommandContext commandContext, ProcessEngineConfigurationImpl processEngineConfiguration)
-
HistoricProcessInstanceQueryImpl
public HistoricProcessInstanceQueryImpl(CommandExecutor commandExecutor, ProcessEngineConfigurationImpl processEngineConfiguration)
-
-
Method Detail
-
processInstanceId
public HistoricProcessInstanceQueryImpl processInstanceId(String processInstanceId)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances with the given process instance.ProcessInstanceids andHistoricProcessInstanceids match.- Specified by:
processInstanceIdin interfaceHistoricProcessInstanceQuery
-
processInstanceIds
public HistoricProcessInstanceQuery processInstanceIds(Set<String> processInstanceIds)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances whose id is in the given set of ids.ProcessInstanceids andHistoricProcessInstanceids match.- Specified by:
processInstanceIdsin interfaceHistoricProcessInstanceQuery
-
processDefinitionId
public HistoricProcessInstanceQueryImpl processDefinitionId(String processDefinitionId)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances for the given process definition- Specified by:
processDefinitionIdin interfaceHistoricProcessInstanceQuery
-
processDefinitionKey
public HistoricProcessInstanceQuery processDefinitionKey(String processDefinitionKey)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that are defined by a process definition with the given key.- Specified by:
processDefinitionKeyin interfaceHistoricProcessInstanceQuery
-
processDefinitionKeyIn
public HistoricProcessInstanceQuery processDefinitionKeyIn(List<String> processDefinitionKeys)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that are defined by a process definition with one of the given process definition keys.- Specified by:
processDefinitionKeyInin interfaceHistoricProcessInstanceQuery
-
processDefinitionCategory
public HistoricProcessInstanceQuery processDefinitionCategory(String processDefinitionCategory)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances whose process definition category is processDefinitionCategory.- Specified by:
processDefinitionCategoryin interfaceHistoricProcessInstanceQuery
-
processDefinitionName
public HistoricProcessInstanceQuery processDefinitionName(String processDefinitionName)
Description copied from interface:HistoricProcessInstanceQuerySelect process historic instances whose process definition name is processDefinitionName- Specified by:
processDefinitionNamein interfaceHistoricProcessInstanceQuery
-
processDefinitionVersion
public HistoricProcessInstanceQuery processDefinitionVersion(Integer processDefinitionVersion)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances with a certain process definition version. Particularly useful when used in combination withHistoricProcessInstanceQuery.processDefinitionKey(String)- Specified by:
processDefinitionVersionin interfaceHistoricProcessInstanceQuery
-
processInstanceBusinessKey
public HistoricProcessInstanceQuery processInstanceBusinessKey(String businessKey)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances with the given business key- Specified by:
processInstanceBusinessKeyin interfaceHistoricProcessInstanceQuery
-
processInstanceBusinessKeyLike
public HistoricProcessInstanceQuery processInstanceBusinessKeyLike(String businessKeyLike)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances with a business key like the given value.- Specified by:
processInstanceBusinessKeyLikein interfaceHistoricProcessInstanceQuery
-
processInstanceBusinessStatus
public HistoricProcessInstanceQuery processInstanceBusinessStatus(String businessStatus)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances with the given business status- Specified by:
processInstanceBusinessStatusin interfaceHistoricProcessInstanceQuery
-
processInstanceBusinessStatusLike
public HistoricProcessInstanceQuery processInstanceBusinessStatusLike(String businessStatusLike)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances with a business status like the given value.- Specified by:
processInstanceBusinessStatusLikein interfaceHistoricProcessInstanceQuery
-
deploymentId
public HistoricProcessInstanceQuery deploymentId(String deploymentId)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that are defined by a process definition with the given deployment identifier.- Specified by:
deploymentIdin interfaceHistoricProcessInstanceQuery
-
deploymentIdIn
public HistoricProcessInstanceQuery deploymentIdIn(List<String> deploymentIds)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that are defined by a process definition with one of the given deployment identifiers.- Specified by:
deploymentIdInin interfaceHistoricProcessInstanceQuery
-
finished
public HistoricProcessInstanceQuery finished()
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that are completely finished.- Specified by:
finishedin interfaceHistoricProcessInstanceQuery
-
unfinished
public HistoricProcessInstanceQuery unfinished()
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instance that are not yet finished.- Specified by:
unfinishedin interfaceHistoricProcessInstanceQuery
-
deleted
public HistoricProcessInstanceQuery deleted()
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that are deleted.- Specified by:
deletedin interfaceHistoricProcessInstanceQuery
-
notDeleted
public HistoricProcessInstanceQuery notDeleted()
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instance that are not deleted.- Specified by:
notDeletedin interfaceHistoricProcessInstanceQuery
-
startedBy
public HistoricProcessInstanceQuery startedBy(String startedBy)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instance that are started by the given user.- Specified by:
startedByin interfaceHistoricProcessInstanceQuery
-
processDefinitionKeyNotIn
public HistoricProcessInstanceQuery processDefinitionKeyNotIn(List<String> processDefinitionKeys)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that don't have a process-definition of which the key is present in the given list- Specified by:
processDefinitionKeyNotInin interfaceHistoricProcessInstanceQuery
-
startedAfter
public HistoricProcessInstanceQuery startedAfter(Date startedAfter)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that were started after the given date.- Specified by:
startedAfterin interfaceHistoricProcessInstanceQuery
-
startedBefore
public HistoricProcessInstanceQuery startedBefore(Date startedBefore)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that were started before the given date.- Specified by:
startedBeforein interfaceHistoricProcessInstanceQuery
-
finishedAfter
public HistoricProcessInstanceQuery finishedAfter(Date finishedAfter)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that were finished after the given date.- Specified by:
finishedAfterin interfaceHistoricProcessInstanceQuery
-
finishedBefore
public HistoricProcessInstanceQuery finishedBefore(Date finishedBefore)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that were finished before the given date.- Specified by:
finishedBeforein interfaceHistoricProcessInstanceQuery
-
superProcessInstanceId
public HistoricProcessInstanceQuery superProcessInstanceId(String superProcessInstanceId)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances started by the given process instance.ProcessInstanceids andHistoricProcessInstanceids match.- Specified by:
superProcessInstanceIdin interfaceHistoricProcessInstanceQuery
-
excludeSubprocesses
public HistoricProcessInstanceQuery excludeSubprocesses(boolean excludeSubprocesses)
Description copied from interface:HistoricProcessInstanceQueryExclude sub processes from the query result;- Specified by:
excludeSubprocessesin interfaceHistoricProcessInstanceQuery
-
activeActivityId
public HistoricProcessInstanceQuery activeActivityId(String activityId)
Description copied from interface:HistoricProcessInstanceQuerySelect the historic process instances which have an active activity instance like the provided id.- Specified by:
activeActivityIdin interfaceHistoricProcessInstanceQuery
-
activeActivityIds
public HistoricProcessInstanceQuery activeActivityIds(Set<String> activityIds)
Description copied from interface:HistoricProcessInstanceQuerySelect the historic process instances which have an active activity instance like the provided ids.- Specified by:
activeActivityIdsin interfaceHistoricProcessInstanceQuery
-
involvedUser
public HistoricProcessInstanceQuery involvedUser(String involvedUser)
Description copied from interface:HistoricProcessInstanceQueryOnly select the historic process instances with which the user with the given id is involved.- Specified by:
involvedUserin interfaceHistoricProcessInstanceQuery
-
involvedUser
public HistoricProcessInstanceQuery involvedUser(String userId, String identityLinkType)
Description copied from interface:HistoricProcessInstanceQueryOnly select the historic process instances with which the user with the given id and link type is involved.- Specified by:
involvedUserin interfaceHistoricProcessInstanceQuery
-
involvedGroup
public HistoricProcessInstanceQuery involvedGroup(String groupId, String identityLinkType)
Description copied from interface:HistoricProcessInstanceQueryOnly select the historic process instances with which the group with the given id and link type is involved.- Specified by:
involvedGroupin interfaceHistoricProcessInstanceQuery
-
involvedGroups
public HistoricProcessInstanceQuery involvedGroups(Set<String> involvedGroups)
Description copied from interface:HistoricProcessInstanceQueryOnly select the historic process instances with which the group with the given ids are involved.- Specified by:
involvedGroupsin interfaceHistoricProcessInstanceQuery
-
includeProcessVariables
public HistoricProcessInstanceQuery includeProcessVariables()
Description copied from interface:HistoricProcessInstanceQueryInclude process variables in the process query result- Specified by:
includeProcessVariablesin interfaceHistoricProcessInstanceQuery
-
limitProcessInstanceVariables
public HistoricProcessInstanceQuery limitProcessInstanceVariables(Integer processInstanceVariablesLimit)
Description copied from interface:HistoricProcessInstanceQueryLimit process instance variables- Specified by:
limitProcessInstanceVariablesin interfaceHistoricProcessInstanceQuery
-
withJobException
public HistoricProcessInstanceQuery withJobException()
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances that failed due to an exception happening during a job execution.- Specified by:
withJobExceptionin interfaceHistoricProcessInstanceQuery
-
processInstanceTenantId
public HistoricProcessInstanceQuery processInstanceTenantId(String tenantId)
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances that have the given tenant id.- Specified by:
processInstanceTenantIdin interfaceHistoricProcessInstanceQuery
-
processInstanceTenantIdLike
public HistoricProcessInstanceQuery processInstanceTenantIdLike(String tenantIdLike)
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances with a tenant id like the given one.- Specified by:
processInstanceTenantIdLikein interfaceHistoricProcessInstanceQuery
-
processInstanceWithoutTenantId
public HistoricProcessInstanceQuery processInstanceWithoutTenantId()
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances that do not have a tenant id.- Specified by:
processInstanceWithoutTenantIdin interfaceHistoricProcessInstanceQuery
-
processInstanceName
public HistoricProcessInstanceQuery processInstanceName(String name)
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances with the given name.- Specified by:
processInstanceNamein interfaceHistoricProcessInstanceQuery
-
processInstanceNameLike
public HistoricProcessInstanceQuery processInstanceNameLike(String nameLike)
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances with a name like the given value.- Specified by:
processInstanceNameLikein interfaceHistoricProcessInstanceQuery
-
processInstanceNameLikeIgnoreCase
public HistoricProcessInstanceQuery processInstanceNameLikeIgnoreCase(String nameLikeIgnoreCase)
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances with a name like the given value, ignoring upper/lower case.- Specified by:
processInstanceNameLikeIgnoreCasein interfaceHistoricProcessInstanceQuery
-
processInstanceCallbackId
public HistoricProcessInstanceQuery processInstanceCallbackId(String callbackId)
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances with the given callback identifier.- Specified by:
processInstanceCallbackIdin interfaceHistoricProcessInstanceQuery
-
processInstanceCallbackType
public HistoricProcessInstanceQuery processInstanceCallbackType(String callbackType)
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances with the given callback type.- Specified by:
processInstanceCallbackTypein interfaceHistoricProcessInstanceQuery
-
withoutProcessInstanceCallbackId
public HistoricProcessInstanceQuery withoutProcessInstanceCallbackId()
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances that do not have a callback identifier.- Specified by:
withoutProcessInstanceCallbackIdin interfaceHistoricProcessInstanceQuery
-
processInstanceReferenceId
public HistoricProcessInstanceQuery processInstanceReferenceId(String referenceId)
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances with the given reference identifier.- Specified by:
processInstanceReferenceIdin interfaceHistoricProcessInstanceQuery
-
processInstanceReferenceType
public HistoricProcessInstanceQuery processInstanceReferenceType(String referenceType)
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances with the given reference type.- Specified by:
processInstanceReferenceTypein interfaceHistoricProcessInstanceQuery
-
variableValueEquals
public HistoricProcessInstanceQuery variableValueEquals(String variableName, Object variableValue)
Description copied from interface:HistoricProcessInstanceQueryOnly 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 aProcessInstanceQueryinstead! A variable type is determined based on the value, using types configured inProcessEngineConfigurationImpl.getVariableTypes(). Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueEqualsin interfaceHistoricProcessInstanceQuery- Overrides:
variableValueEqualsin classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>- Parameters:
variableName- of the variable, cannot be null.
-
localVariableValueEquals
public HistoricProcessInstanceQuery localVariableValueEquals(String variableName, Object variableValue)
Description copied from interface:HistoricProcessInstanceQueryOnly 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 aProcessInstanceQueryinstead! A variable type is determined based on the value, using types configured inProcessEngineConfigurationImpl.getVariableTypes(). Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
localVariableValueEqualsin interfaceHistoricProcessInstanceQuery- Parameters:
variableName- of the variable, cannot be null.
-
variableValueNotEquals
public HistoricProcessInstanceQuery variableValueNotEquals(String variableName, Object variableValue)
Description copied from interface:HistoricProcessInstanceQueryOnly 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 andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueNotEqualsin interfaceHistoricProcessInstanceQuery- Overrides:
variableValueNotEqualsin classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>- Parameters:
variableName- of the variable, cannot be null.
-
localVariableValueNotEquals
public HistoricProcessInstanceQuery localVariableValueNotEquals(String variableName, Object variableValue)
Description copied from interface:HistoricProcessInstanceQueryOnly 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 andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
localVariableValueNotEqualsin interfaceHistoricProcessInstanceQuery- Parameters:
variableName- of the variable, cannot be null.
-
variableValueEquals
public HistoricProcessInstanceQuery variableValueEquals(Object variableValue)
Description copied from interface:HistoricProcessInstanceQueryOnly 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 aProcessInstanceQueryinstead! A variable type is determined based on the value, using types configured inProcessEngineConfigurationImpl.getVariableTypes(). Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueEqualsin interfaceHistoricProcessInstanceQuery- Overrides:
variableValueEqualsin classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
-
localVariableValueEquals
public HistoricProcessInstanceQuery localVariableValueEquals(Object variableValue)
Description copied from interface:HistoricProcessInstanceQueryOnly 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 aProcessInstanceQueryinstead! A variable type is determined based on the value, using types configured inProcessEngineConfigurationImpl.getVariableTypes(). Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
localVariableValueEqualsin interfaceHistoricProcessInstanceQuery
-
variableValueEqualsIgnoreCase
public HistoricProcessInstanceQuery variableValueEqualsIgnoreCase(String name, String value)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances which have a global string variable with the given value, case insensitive.- Specified by:
variableValueEqualsIgnoreCasein interfaceHistoricProcessInstanceQuery- Overrides:
variableValueEqualsIgnoreCasein classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>- Parameters:
name- name of the variable, cannot be null.value- value of the variable, cannot be null.
-
localVariableValueEqualsIgnoreCase
public HistoricProcessInstanceQuery localVariableValueEqualsIgnoreCase(String name, String value)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances which have a local string variable with the given value, case insensitive.- Specified by:
localVariableValueEqualsIgnoreCasein interfaceHistoricProcessInstanceQuery- Parameters:
name- name of the variable, cannot be null.value- value of the variable, cannot be null.
-
variableValueNotEqualsIgnoreCase
public HistoricProcessInstanceQuery variableValueNotEqualsIgnoreCase(String name, String value)
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances which have a global string variable not matching the given value, case insensitive.- Specified by:
variableValueNotEqualsIgnoreCasein interfaceHistoricProcessInstanceQuery- Overrides:
variableValueNotEqualsIgnoreCasein classAbstractVariableQueryImpl<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:HistoricProcessInstanceQueryOnly select historic process instances which have a local string variable not matching the given value, case insensitive.- Specified by:
localVariableValueNotEqualsIgnoreCasein interfaceHistoricProcessInstanceQuery- Parameters:
name- name of the variable, cannot be null.value- value of the variable, cannot be null.
-
variableValueLikeIgnoreCase
public HistoricProcessInstanceQuery variableValueLikeIgnoreCase(String name, String value)
Description copied from interface:HistoricProcessInstanceQueryOnly 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 aProcessInstanceQueryinstead! This can be used on string variables only.- Specified by:
variableValueLikeIgnoreCasein interfaceHistoricProcessInstanceQuery- Overrides:
variableValueLikeIgnoreCasein classAbstractVariableQueryImpl<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
public HistoricProcessInstanceQuery localVariableValueLikeIgnoreCase(String name, String value)
Description copied from interface:HistoricProcessInstanceQueryOnly 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 aProcessInstanceQueryinstead! This can be used on string variables only.- Specified by:
localVariableValueLikeIgnoreCasein 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
public HistoricProcessInstanceQuery variableValueGreaterThan(String name, Object value)
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances which had a global variable value greater than the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (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:
variableValueGreaterThanin interfaceHistoricProcessInstanceQuery- Overrides:
variableValueGreaterThanin classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>- Parameters:
name- cannot be null.value- cannot be null.
-
localVariableValueGreaterThan
public HistoricProcessInstanceQuery localVariableValueGreaterThan(String name, Object value)
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances which had a local variable value greater than the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (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:
localVariableValueGreaterThanin interfaceHistoricProcessInstanceQuery- Parameters:
name- cannot be null.value- cannot be null.
-
variableValueGreaterThanOrEqual
public HistoricProcessInstanceQuery variableValueGreaterThanOrEqual(String name, Object value)
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances which had a global variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported. Only applies to already ended process instances, otherwise use aProcessInstanceQueryinstead!- Specified by:
variableValueGreaterThanOrEqualin interfaceHistoricProcessInstanceQuery- Overrides:
variableValueGreaterThanOrEqualin classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>- Parameters:
name- cannot be null.value- cannot be null.
-
localVariableValueGreaterThanOrEqual
public HistoricProcessInstanceQuery localVariableValueGreaterThanOrEqual(String name, Object value)
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances which had a local variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported. Only applies to already ended process instances, otherwise use aProcessInstanceQueryinstead!- Specified by:
localVariableValueGreaterThanOrEqualin interfaceHistoricProcessInstanceQuery- Parameters:
name- cannot be null.value- cannot be null.
-
variableValueLessThan
public HistoricProcessInstanceQuery variableValueLessThan(String name, Object value)
Description copied from interface:HistoricProcessInstanceQueryOnly 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 aProcessInstanceQueryinstead! Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueLessThanin interfaceHistoricProcessInstanceQuery- Overrides:
variableValueLessThanin classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>- Parameters:
name- cannot be null.value- cannot be null.
-
localVariableValueLessThan
public HistoricProcessInstanceQuery localVariableValueLessThan(String name, Object value)
Description copied from interface:HistoricProcessInstanceQueryOnly 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 aProcessInstanceQueryinstead! Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
localVariableValueLessThanin interfaceHistoricProcessInstanceQuery- Parameters:
name- cannot be null.value- cannot be null.
-
variableValueLessThanOrEqual
public HistoricProcessInstanceQuery variableValueLessThanOrEqual(String name, Object value)
Description copied from interface:HistoricProcessInstanceQueryOnly 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 aProcessInstanceQueryinstead! Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueLessThanOrEqualin interfaceHistoricProcessInstanceQuery- Overrides:
variableValueLessThanOrEqualin classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>- Parameters:
name- cannot be null.value- cannot be null.
-
localVariableValueLessThanOrEqual
public HistoricProcessInstanceQuery localVariableValueLessThanOrEqual(String name, Object value)
Description copied from interface:HistoricProcessInstanceQueryOnly 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 aProcessInstanceQueryinstead! Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
localVariableValueLessThanOrEqualin interfaceHistoricProcessInstanceQuery- Parameters:
name- cannot be null.value- cannot be null.
-
variableValueLike
public HistoricProcessInstanceQuery variableValueLike(String name, String value)
Description copied from interface:HistoricProcessInstanceQueryOnly 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 aProcessInstanceQueryinstead! This can be used on string variables only.- Specified by:
variableValueLikein interfaceHistoricProcessInstanceQuery- Overrides:
variableValueLikein classAbstractVariableQueryImpl<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
public HistoricProcessInstanceQuery localVariableValueLike(String name, String value)
Description copied from interface:HistoricProcessInstanceQueryOnly 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 aProcessInstanceQueryinstead! This can be used on string variables only.- Specified by:
localVariableValueLikein 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
public HistoricProcessInstanceQuery variableExists(String name)
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances which have a global variable with the given name.- Specified by:
variableExistsin interfaceHistoricProcessInstanceQuery- Overrides:
variableExistsin classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>- Parameters:
name- cannot be null.
-
localVariableExists
public HistoricProcessInstanceQuery localVariableExists(String name)
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances which have a local variable with the given name.- Specified by:
localVariableExistsin interfaceHistoricProcessInstanceQuery- Parameters:
name- cannot be null.
-
variableNotExists
public HistoricProcessInstanceQuery variableNotExists(String name)
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances which does not have a global variable with the given name.- Specified by:
variableNotExistsin interfaceHistoricProcessInstanceQuery- Overrides:
variableNotExistsin classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>- Parameters:
name- cannot be null.
-
localVariableNotExists
public HistoricProcessInstanceQuery localVariableNotExists(String name)
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances which does not have a local variable with the given name.- Specified by:
localVariableNotExistsin interfaceHistoricProcessInstanceQuery- Parameters:
name- cannot be null.
-
locale
public HistoricProcessInstanceQuery locale(String locale)
Description copied from interface:HistoricProcessInstanceQueryLocalize historic process name and description to specified locale.- Specified by:
localein interfaceHistoricProcessInstanceQuery
-
withLocalizationFallback
public HistoricProcessInstanceQuery withLocalizationFallback()
Description copied from interface:HistoricProcessInstanceQueryInstruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.- Specified by:
withLocalizationFallbackin interfaceHistoricProcessInstanceQuery
-
or
public HistoricProcessInstanceQuery or()
Description copied from interface:HistoricProcessInstanceQueryBegin 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:
orin interfaceHistoricProcessInstanceQuery
-
endOr
public HistoricProcessInstanceQuery endOr()
Description copied from interface:HistoricProcessInstanceQueryEnd an OR statement. Only one OR statement is allowed, for the second call to this method an exception will be thrown.- Specified by:
endOrin interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceBusinessKey
public HistoricProcessInstanceQuery orderByProcessInstanceBusinessKey()
Description copied from interface:HistoricProcessInstanceQueryOrder by the business key (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceBusinessKeyin interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceDuration
public HistoricProcessInstanceQuery orderByProcessInstanceDuration()
Description copied from interface:HistoricProcessInstanceQueryOrder by the duration of the process instance (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceDurationin interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceStartTime
public HistoricProcessInstanceQuery orderByProcessInstanceStartTime()
Description copied from interface:HistoricProcessInstanceQueryOrder by the start time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceStartTimein interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceEndTime
public HistoricProcessInstanceQuery orderByProcessInstanceEndTime()
Description copied from interface:HistoricProcessInstanceQueryOrder by the end time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceEndTimein interfaceHistoricProcessInstanceQuery
-
orderByProcessDefinitionId
public HistoricProcessInstanceQuery orderByProcessDefinitionId()
Description copied from interface:HistoricProcessInstanceQueryOrder by the process definition id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessDefinitionIdin interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceId
public HistoricProcessInstanceQuery orderByProcessInstanceId()
Description copied from interface:HistoricProcessInstanceQueryOrder by the process instance id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceIdin interfaceHistoricProcessInstanceQuery
-
orderByTenantId
public HistoricProcessInstanceQuery orderByTenantId()
Description copied from interface:HistoricProcessInstanceQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceHistoricProcessInstanceQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
-
executeList
public List<HistoricProcessInstance> executeList(CommandContext commandContext)
- Specified by:
executeListin classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
-
addCachedVariableForQueryById
protected void addCachedVariableForQueryById(CommandContext commandContext, List<HistoricProcessInstance> results)
-
enhanceCachedValue
public void enhanceCachedValue(HistoricProcessInstanceEntity processInstance)
- Specified by:
enhanceCachedValuein interfaceCacheAwareQuery<HistoricProcessInstanceEntity>
-
ensureVariablesInitialized
protected void ensureVariablesInitialized()
-
delete
public void delete()
- Specified by:
deletein interfaceDeleteQuery<HistoricProcessInstanceQuery,HistoricProcessInstance>
-
deleteWithRelatedData
public void deleteWithRelatedData()
- Specified by:
deleteWithRelatedDatain interfaceDeleteQuery<HistoricProcessInstanceQuery,HistoricProcessInstance>
-
deleteInParallelUsingBatch
public String deleteInParallelUsingBatch(int batchSize, String batchName)
- Specified by:
deleteInParallelUsingBatchin interfaceBatchDeleteQuery<HistoricProcessInstanceQuery>
-
deleteSequentiallyUsingBatch
public String deleteSequentiallyUsingBatch(int batchSize, String batchName)
- Specified by:
deleteSequentiallyUsingBatchin interfaceBatchDeleteQuery<HistoricProcessInstanceQuery>
-
getBusinessKey
public String getBusinessKey()
-
getBusinessKeyLike
public String getBusinessKeyLike()
-
getBusinessStatus
public String getBusinessStatus()
-
getBusinessStatusLike
public String getBusinessStatusLike()
-
isOpen
public boolean isOpen()
-
getProcessDefinitionId
public String getProcessDefinitionId()
-
getProcessDefinitionKey
public String getProcessDefinitionKey()
-
getProcessDefinitionIdLike
public String getProcessDefinitionIdLike()
-
getProcessDefinitionName
public String getProcessDefinitionName()
-
getProcessDefinitionCategory
public String getProcessDefinitionCategory()
-
getProcessDefinitionVersion
public Integer getProcessDefinitionVersion()
-
getProcessInstanceId
public String getProcessInstanceId()
-
getId
public String getId()
- Specified by:
getIdin interfaceCacheAwareQuery<HistoricProcessInstanceEntity>
-
getStartedBy
public String getStartedBy()
-
getSuperProcessInstanceId
public String getSuperProcessInstanceId()
-
isExcludeSubprocesses
public boolean isExcludeSubprocesses()
-
getStartedAfter
public Date getStartedAfter()
-
getStartedBefore
public Date getStartedBefore()
-
getFinishedAfter
public Date getFinishedAfter()
-
getFinishedBefore
public Date getFinishedBefore()
-
getActiveActivityId
public String getActiveActivityId()
-
getInvolvedUser
public String getInvolvedUser()
-
getName
public String getName()
-
getNameLike
public String getNameLike()
-
getSerialversionuid
public static long getSerialversionuid()
-
getDeploymentId
public String getDeploymentId()
-
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
public String getTenantId()
-
getTenantIdLike
public String getTenantIdLike()
-
isWithoutTenantId
public boolean isWithoutTenantId()
-
getNameLikeIgnoreCase
public String getNameLikeIgnoreCase()
-
getCallbackId
public String getCallbackId()
-
getCallbackType
public String getCallbackType()
-
isWithoutCallbackId
public boolean isWithoutCallbackId()
-
getReferenceId
public String getReferenceId()
-
getReferenceType
public String getReferenceType()
-
getOrQueryObjects
public List<HistoricProcessInstanceQueryImpl> getOrQueryObjects()
-
getInvolvedUserIdentityLink
public IdentityLinkQueryObject getInvolvedUserIdentityLink()
-
getInvolvedGroupIdentityLink
public IdentityLinkQueryObject getInvolvedGroupIdentityLink()
-
isWithJobException
public boolean isWithJobException()
-
getLocale
public String getLocale()
-
isWithLocalizationFallback
public boolean isWithLocalizationFallback()
-
isNeedsProcessDefinitionOuterJoin
public boolean isNeedsProcessDefinitionOuterJoin()
-
-