Package org.activiti.engine.impl
Class HistoricProcessInstanceQueryImpl
java.lang.Object
org.activiti.engine.impl.db.ListQueryParameterObject
org.activiti.engine.impl.AbstractQuery<T,U>
org.activiti.engine.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
org.activiti.engine.impl.HistoricProcessInstanceQueryImpl
- All Implemented Interfaces:
Serializable,HistoricProcessInstanceQuery,Command<Object>,Query<HistoricProcessInstanceQuery,HistoricProcessInstance>
public class HistoricProcessInstanceQueryImpl
extends AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
implements HistoricProcessInstanceQuery
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.activiti.engine.impl.AbstractQuery
AbstractQuery.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected HistoricProcessInstanceQueryImplprotected booleanprotected Stringprotected booleanprotected booleanprotected Dateprotected Dateprotected booleanprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected List<HistoricProcessInstanceQueryImpl>protected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected Stringprotected Integerprotected Dateprotected Dateprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected booleanprotected booleanprotected booleanFields inherited from class org.activiti.engine.impl.AbstractVariableQueryImpl
queryVariableValuesFields inherited from class org.activiti.engine.impl.AbstractQuery
commandContext, commandExecutor, databaseType, nullHandlingOnOrder, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESCFields inherited from class org.activiti.engine.impl.db.ListQueryParameterObject
firstResult, maxResults, parameter -
Constructor Summary
ConstructorsConstructorDescriptionHistoricProcessInstanceQueryImpl(CommandContext commandContext) HistoricProcessInstanceQueryImpl(CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddeleted()Only select historic process instances that are deleted.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.protected voidexcludeSubprocesses(boolean excludeSubprocesses) Exclude sub processes from the query result;longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.finished()Only select historic process instances that are completely finished.finishedAfter(Date finishedAfter) Only select historic process instances that were started after the given date.finishedBefore(Date finishedBefore) Only select historic process instances that were started before the given date.getName()static longInclude process variables in the process query resultinvolvedGroupsIn(List<String> involvedGroups) Only select the historic process instances with which the given groups are involved.involvedUser(String involvedUser) Only select the historic process instances with which the user with the given id is involved.booleanbooleanbooleanbooleanbooleanbooleanisOpen()booleanbooleanbooleanlimitProcessInstanceVariables(Integer processInstanceVariablesLimit) Limit process instance variablesLocalize historic process name and description to specified locale.protected voidlocalize(HistoricProcessInstance processInstance, CommandContext commandContext) 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.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.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 processDefinitionNameprocessDefinitionVersion(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 keyprocessInstanceId(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.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.Only select process instances that do not have a tenant id.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.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 local 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 global variable value like the given value when they ended.variableValueLikeIgnoreCase(String name, String value) Only select process instances which had 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 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.Methods inherited from class org.activiti.engine.impl.AbstractVariableQueryImpl
addVariable, getQueryVariableValues, hasLocalQueryVariableValue, hasNonLocalQueryVariableValue, isBoolean, variableValueEquals, variableValueEquals, variableValueEqualsIgnoreCase, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueLikeIgnoreCase, variableValueNotEquals, variableValueNotEqualsIgnoreCaseMethods inherited from class org.activiti.engine.impl.AbstractQuery
addOrder, asc, count, desc, direction, execute, executeSingleResult, getDatabaseType, getOrderBy, getOrderByColumns, list, listPage, orderBy, orderBy, setCommandExecutor, setDatabaseType, singleResultMethods inherited from class org.activiti.engine.impl.db.ListQueryParameterObject
getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setFirstResult, setMaxResults, setParameter
-
Field Details
-
processInstanceId
-
processDefinitionId
-
businessKey
-
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
-
processDefinitionCategory
-
processDefinitionName
-
processDefinitionVersion
-
processInstanceIds
-
involvedUser
-
includeProcessVariables
protected boolean includeProcessVariables -
processInstanceVariablesLimit
-
withJobException
protected boolean withJobException -
tenantId
-
tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId -
name
-
nameLike
-
nameLikeIgnoreCase
-
locale
-
withLocalizationFallback
protected boolean withLocalizationFallback -
orQueryObjects
-
currentOrQueryObject
-
inOrStatement
protected boolean inOrStatement -
involvedGroups
-
-
Constructor Details
-
HistoricProcessInstanceQueryImpl
public HistoricProcessInstanceQueryImpl() -
HistoricProcessInstanceQueryImpl
-
HistoricProcessInstanceQueryImpl
-
-
Method Details
-
processInstanceId
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances with the given process instance. {@link ProcessInstance) ids and {@link HistoricProcessInstance} ids match.- Specified by:
processInstanceIdin interfaceHistoricProcessInstanceQuery
-
processInstanceIds
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances whose id is in the given set of ids. {@link ProcessInstance) ids and {@link HistoricProcessInstance} ids match.- Specified by:
processInstanceIdsin interfaceHistoricProcessInstanceQuery
-
processDefinitionId
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances for the given process definition- Specified by:
processDefinitionIdin interfaceHistoricProcessInstanceQuery
-
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
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
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances whose process definition category is processDefinitionCategory.- Specified by:
processDefinitionCategoryin interfaceHistoricProcessInstanceQuery
-
processDefinitionName
Description copied from interface:HistoricProcessInstanceQuerySelect process historic instances whose process definition name is processDefinitionName- Specified by:
processDefinitionNamein interfaceHistoricProcessInstanceQuery
-
processDefinitionVersion
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances with a certain process definition version. Particulary useful when used in combination withHistoricProcessInstanceQuery.processDefinitionKey(String)- Specified by:
processDefinitionVersionin interfaceHistoricProcessInstanceQuery
-
processInstanceBusinessKey
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances with the given business key- Specified by:
processInstanceBusinessKeyin interfaceHistoricProcessInstanceQuery
-
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
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
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that are completely finished.- Specified by:
finishedin interfaceHistoricProcessInstanceQuery
-
unfinished
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instance that are not yet finished.- Specified by:
unfinishedin interfaceHistoricProcessInstanceQuery
-
deleted
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that are deleted.- Specified by:
deletedin interfaceHistoricProcessInstanceQuery
-
notDeleted
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instance that are not deleted.- Specified by:
notDeletedin interfaceHistoricProcessInstanceQuery
-
startedBy
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instance that are started by the given user.- Specified by:
startedByin interfaceHistoricProcessInstanceQuery
-
processDefinitionKeyNotIn
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
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that were started after the given date.- Specified by:
startedAfterin interfaceHistoricProcessInstanceQuery
-
startedBefore
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that were started before the given date.- Specified by:
startedBeforein interfaceHistoricProcessInstanceQuery
-
finishedAfter
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that were started after the given date.- Specified by:
finishedAfterin interfaceHistoricProcessInstanceQuery
-
finishedBefore
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances that were started before the given date.- Specified by:
finishedBeforein interfaceHistoricProcessInstanceQuery
-
superProcessInstanceId
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances started by the given process instance. {@link ProcessInstance) ids and {@link HistoricProcessInstance} ids match.- Specified by:
superProcessInstanceIdin interfaceHistoricProcessInstanceQuery
-
excludeSubprocesses
Description copied from interface:HistoricProcessInstanceQueryExclude sub processes from the query result;- Specified by:
excludeSubprocessesin interfaceHistoricProcessInstanceQuery
-
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
-
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
-
getProcessInstanceVariablesLimit
-
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
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances that have the given tenant id.- Specified by:
processInstanceTenantIdin interfaceHistoricProcessInstanceQuery
-
processInstanceTenantIdLike
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances with a tenant id like the given one.- Specified by:
processInstanceTenantIdLikein interfaceHistoricProcessInstanceQuery
-
processInstanceWithoutTenantId
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances that do not have a tenant id.- Specified by:
processInstanceWithoutTenantIdin interfaceHistoricProcessInstanceQuery
-
processInstanceName
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances with the given name.- Specified by:
processInstanceNamein interfaceHistoricProcessInstanceQuery
-
processInstanceNameLike
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances with a name like the given value.- Specified by:
processInstanceNameLikein interfaceHistoricProcessInstanceQuery
-
processInstanceNameLikeIgnoreCase
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances with a name like the given value, ignoring upper/lower case.- Specified by:
processInstanceNameLikeIgnoreCasein interfaceHistoricProcessInstanceQuery
-
variableValueEquals
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! of variable is determined based on the value, using types configured inProcessEngineConfiguration#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.
-
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.
-
variableValueEquals
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! of variable is determined based on the value, using types configured inProcessEngineConfiguration#getVariableTypes(). Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueEqualsin interfaceHistoricProcessInstanceQuery- Overrides:
variableValueEqualsin classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
-
variableValueEqualsIgnoreCase
Description copied from interface:HistoricProcessInstanceQueryOnly select historic process instances which have a local 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.
-
variableValueNotEqualsIgnoreCase
-
variableValueGreaterThan
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.
-
variableValueGreaterThanOrEqual
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.
-
variableValueLessThan
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.
-
variableValueLessThanOrEqual
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.
-
variableValueLike
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances which had 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%).
-
locale
Description copied from interface:HistoricProcessInstanceQueryLocalize historic process name and description to specified locale.- Specified by:
localein interfaceHistoricProcessInstanceQuery
-
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
-
variableValueLikeIgnoreCase
Description copied from interface:HistoricProcessInstanceQueryOnly select process instances which had 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%).
-
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
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
Description copied from interface:HistoricProcessInstanceQueryOrder by the business key (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceBusinessKeyin interfaceHistoricProcessInstanceQuery
-
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
Description copied from interface:HistoricProcessInstanceQueryOrder by the start time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceStartTimein interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceEndTime
Description copied from interface:HistoricProcessInstanceQueryOrder by the end time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceEndTimein interfaceHistoricProcessInstanceQuery
-
orderByProcessDefinitionId
Description copied from interface:HistoricProcessInstanceQueryOrder by the process definition id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessDefinitionIdin interfaceHistoricProcessInstanceQuery
-
orderByProcessInstanceId
Description copied from interface:HistoricProcessInstanceQueryOrder by the process instance id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceIdin interfaceHistoricProcessInstanceQuery
-
orderByTenantId
Description copied from interface:HistoricProcessInstanceQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceHistoricProcessInstanceQuery
-
getMssqlOrDB2OrderBy
-
executeCount
- Specified by:
executeCountin classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance> page- used if the results must be paged. If null, no paging will be applied.
-
localize
-
ensureVariablesInitialized
protected void ensureVariablesInitialized() -
checkQueryOk
protected void checkQueryOk()- Overrides:
checkQueryOkin classAbstractQuery<HistoricProcessInstanceQuery,HistoricProcessInstance>
-
getBusinessKey
-
isOpen
public boolean isOpen() -
getProcessDefinitionId
-
getProcessDefinitionKey
-
getProcessDefinitionKeyIn
-
getProcessDefinitionIdLike
-
getProcessDefinitionName
-
getProcessDefinitionCategory
-
getProcessDefinitionVersion
-
getProcessInstanceId
-
getProcessInstanceIds
-
getStartedBy
-
getSuperProcessInstanceId
-
isExcludeSubprocesses
public boolean isExcludeSubprocesses() -
getProcessKeyNotIn
-
getStartedAfter
-
getStartedBefore
-
getFinishedAfter
-
getFinishedBefore
-
getInvolvedUser
-
getName
-
getNameLike
-
getSerialversionuid
public static long getSerialversionuid() -
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
-
isWithoutTenantId
public boolean isWithoutTenantId() -
getNameLikeIgnoreCase
-
getOrQueryObjects
-
getInvolvedGroups
-
involvedGroupsIn
Description copied from interface:HistoricProcessInstanceQueryOnly select the historic process instances with which the given groups are involved.- Specified by:
involvedGroupsInin interfaceHistoricProcessInstanceQuery
-