public class HistoricProcessInstanceQueryImpl extends AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance> implements HistoricProcessInstanceQuery, CacheAwareQuery<HistoricProcessInstanceEntity>
ListQueryParameterObject.ResultTypeQuery.NullHandlingOnOrderqueryVariableValues, variableServiceConfigurationcommandContext, commandExecutordatabaseType, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByColumnMap, orderByColumns, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC| Constructor and Description |
|---|
HistoricProcessInstanceQueryImpl() |
HistoricProcessInstanceQueryImpl(CommandContext commandContext,
ProcessEngineConfigurationImpl processEngineConfiguration) |
HistoricProcessInstanceQueryImpl(CommandExecutor commandExecutor,
ProcessEngineConfigurationImpl processEngineConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCachedVariableForQueryById(CommandContext commandContext,
List<HistoricProcessInstance> results) |
protected void |
checkQueryOk() |
void |
delete() |
HistoricProcessInstanceQuery |
deleted()
Only select historic process instances that are deleted.
|
void |
deleteWithRelatedData() |
HistoricProcessInstanceQuery |
deploymentId(String deploymentId)
Only select historic process instances that are defined by a process definition with the given deployment identifier.
|
HistoricProcessInstanceQuery |
deploymentIdIn(List<String> deploymentIds)
Only select historic process instances that are defined by a process definition with one of the given deployment identifiers.
|
HistoricProcessInstanceQuery |
endOr()
End an OR statement.
|
void |
enhanceCachedValue(HistoricProcessInstanceEntity processInstance) |
protected void |
ensureVariablesInitialized() |
HistoricProcessInstanceQuery |
excludeSubprocesses(boolean excludeSubprocesses)
Exclude sub processes from the query result;
|
long |
executeCount(CommandContext commandContext) |
List<HistoricProcessInstance> |
executeList(CommandContext commandContext) |
HistoricProcessInstanceQuery |
finished()
Only select historic process instances that are completely finished.
|
HistoricProcessInstanceQuery |
finishedAfter(Date finishedAfter)
Only select historic process instances that were finished after the given date.
|
HistoricProcessInstanceQuery |
finishedBefore(Date finishedBefore)
Only select historic process instances that were finished before the given date.
|
String |
getBusinessKey() |
String |
getBusinessKeyLike() |
String |
getCallbackId() |
String |
getCallbackType() |
String |
getDeploymentId() |
List<String> |
getDeploymentIds() |
Date |
getFinishedAfter() |
Date |
getFinishedBefore() |
String |
getId() |
Set<String> |
getInvolvedGroups() |
String |
getInvolvedUser() |
String |
getMssqlOrDB2OrderBy() |
String |
getName() |
String |
getNameLike() |
String |
getNameLikeIgnoreCase() |
List<HistoricProcessInstanceQueryImpl> |
getOrQueryObjects() |
String |
getProcessDefinitionCategory() |
String |
getProcessDefinitionId() |
String |
getProcessDefinitionIdLike() |
String |
getProcessDefinitionKey() |
List<String> |
getProcessDefinitionKeyIn() |
String |
getProcessDefinitionName() |
Integer |
getProcessDefinitionVersion() |
String |
getProcessInstanceId() |
Set<String> |
getProcessInstanceIds() |
Integer |
getProcessInstanceVariablesLimit() |
List<String> |
getProcessKeyNotIn() |
String |
getReferenceId() |
String |
getReferenceType() |
static long |
getSerialversionuid() |
Date |
getStartedAfter() |
Date |
getStartedBefore() |
String |
getStartedBy() |
String |
getSuperProcessInstanceId() |
String |
getTenantId() |
String |
getTenantIdLike() |
HistoricProcessInstanceQuery |
includeProcessVariables()
Include process variables in the process query result
|
HistoricProcessInstanceQuery |
involvedGroup(String groupId,
String identityLinkType)
Only select the historic process instances with which the group with the given id and link type is involved.
|
HistoricProcessInstanceQuery |
involvedGroups(Set<String> involvedGroups)
Only select the historic process instances with which the group with the given ids are involved.
|
HistoricProcessInstanceQuery |
involvedUser(String involvedUser)
Only select the historic process instances with which the user with the given id is involved.
|
HistoricProcessInstanceQuery |
involvedUser(String userId,
String identityLinkType)
Only select the historic process instances with which the user with the given id and link type is involved.
|
boolean |
isDeleted() |
boolean |
isExcludeSubprocesses() |
boolean |
isFinished() |
boolean |
isIncludeProcessVariables() |
boolean |
isNotDeleted() |
boolean |
isOpen() |
boolean |
isUnfinished() |
boolean |
isWithException() |
boolean |
isWithoutTenantId() |
HistoricProcessInstanceQuery |
limitProcessInstanceVariables(Integer processInstanceVariablesLimit)
Limit process instance variables
|
HistoricProcessInstanceQuery |
locale(String locale)
Localize historic process name and description to specified locale.
|
HistoricProcessInstanceQuery |
notDeleted()
Only select historic process instance that are not deleted.
|
HistoricProcessInstanceQuery |
or()
Begin an OR statement.
|
HistoricProcessInstanceQuery |
orderByProcessDefinitionId()
Order by the process definition id (needs to be followed by
Query.asc() or Query.desc()). |
HistoricProcessInstanceQuery |
orderByProcessInstanceBusinessKey()
Order by the business key (needs to be followed by
Query.asc() or Query.desc()). |
HistoricProcessInstanceQuery |
orderByProcessInstanceDuration()
Order by the duration of the process instance (needs to be followed by
Query.asc() or Query.desc()). |
HistoricProcessInstanceQuery |
orderByProcessInstanceEndTime()
Order by the end time (needs to be followed by
Query.asc() or Query.desc()). |
HistoricProcessInstanceQuery |
orderByProcessInstanceId()
Order by the process instance id (needs to be followed by
Query.asc() or Query.desc()). |
HistoricProcessInstanceQuery |
orderByProcessInstanceStartTime()
Order by the start time (needs to be followed by
Query.asc() or Query.desc()). |
HistoricProcessInstanceQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc()). |
HistoricProcessInstanceQuery |
processDefinitionCategory(String processDefinitionCategory)
Only select historic process instances whose process definition category is processDefinitionCategory.
|
HistoricProcessInstanceQueryImpl |
processDefinitionId(String processDefinitionId)
Only select historic process instances for the given process definition
|
HistoricProcessInstanceQuery |
processDefinitionKey(String processDefinitionKey)
Only select historic process instances that are defined by a process definition with the given key.
|
HistoricProcessInstanceQuery |
processDefinitionKeyIn(List<String> processDefinitionKeys)
Only select historic process instances that are defined by a process definition with one of the given process definition keys.
|
HistoricProcessInstanceQuery |
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 list
|
HistoricProcessInstanceQuery |
processDefinitionName(String processDefinitionName)
Select process historic instances whose process definition name is processDefinitionName
|
HistoricProcessInstanceQuery |
processDefinitionVersion(Integer processDefinitionVersion)
Only select historic process instances with a certain process definition version.
|
HistoricProcessInstanceQuery |
processInstanceBusinessKey(String businessKey)
Only select historic process instances with the given business key
|
HistoricProcessInstanceQuery |
processInstanceBusinessKeyLike(String businessKeyLike)
Only select historic process instances with a business key like the given value.
|
HistoricProcessInstanceQuery |
processInstanceCallbackId(String callbackId)
Only select process instances with the given callback identifier.
|
HistoricProcessInstanceQuery |
processInstanceCallbackType(String callbackType)
Only select process instances with the given callback type.
|
HistoricProcessInstanceQueryImpl |
processInstanceId(String processInstanceId)
Only select historic process instances with the given process instance.
|
HistoricProcessInstanceQuery |
processInstanceIds(Set<String> processInstanceIds)
Only select historic process instances whose id is in the given set of ids.
|
HistoricProcessInstanceQuery |
processInstanceName(String name)
Only select process instances with the given name.
|
HistoricProcessInstanceQuery |
processInstanceNameLike(String nameLike)
Only select process instances with a name like the given value.
|
HistoricProcessInstanceQuery |
processInstanceNameLikeIgnoreCase(String nameLikeIgnoreCase)
Only select process instances with a name like the given value, ignoring upper/lower case.
|
HistoricProcessInstanceQuery |
processInstanceReferenceId(String referenceId)
Only select process instances with the given reference identifier.
|
HistoricProcessInstanceQuery |
processInstanceReferenceType(String referenceType)
Only select process instances with the given reference type.
|
HistoricProcessInstanceQuery |
processInstanceTenantId(String tenantId)
Only select process instances that have the given tenant id.
|
HistoricProcessInstanceQuery |
processInstanceTenantIdLike(String tenantIdLike)
Only select process instances with a tenant id like the given one.
|
HistoricProcessInstanceQuery |
processInstanceWithoutTenantId()
Only select process instances that do not have a tenant id.
|
HistoricProcessInstanceQuery |
startedAfter(Date startedAfter)
Only select historic process instances that were started after the given date.
|
HistoricProcessInstanceQuery |
startedBefore(Date startedBefore)
Only select historic process instances that were started before the given date.
|
HistoricProcessInstanceQuery |
startedBy(String startedBy)
Only select historic process instance that are started by the given user.
|
HistoricProcessInstanceQuery |
superProcessInstanceId(String superProcessInstanceId)
Only select historic process instances started by the given process instance.
|
HistoricProcessInstanceQuery |
unfinished()
Only select historic process instance that are not yet finished.
|
HistoricProcessInstanceQuery |
variableExists(String name)
Only select process instances which have a variable with the given name.
|
HistoricProcessInstanceQuery |
variableNotExists(String name)
Only select process instances which does not have a variable with the given name.
|
HistoricProcessInstanceQuery |
variableValueEquals(Object variableValue)
Only select process instances which had at least one global variable with the given value when they ended.
|
HistoricProcessInstanceQuery |
variableValueEquals(String variableName,
Object variableValue)
Only select process instances which had a global variable with the given value when they ended.
|
HistoricProcessInstanceQuery |
variableValueEqualsIgnoreCase(String name,
String value)
Only select historic process instances which have a local string variable with the given value, case insensitive.
|
HistoricProcessInstanceQuery |
variableValueGreaterThan(String name,
Object value)
Only select process instances which had a global variable value greater than the passed value when they ended.
|
HistoricProcessInstanceQuery |
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.
|
HistoricProcessInstanceQuery |
variableValueLessThan(String name,
Object value)
Only select process instances which had a global variable value less than the passed value when the ended.
|
HistoricProcessInstanceQuery |
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.
|
HistoricProcessInstanceQuery |
variableValueLike(String name,
String value)
Only select process instances which had global variable value like the given value when they ended.
|
HistoricProcessInstanceQuery |
variableValueLikeIgnoreCase(String name,
String value)
Only select process instances which had global variable value like (case insensitive) the given value when they ended.
|
HistoricProcessInstanceQuery |
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.
|
HistoricProcessInstanceQuery |
variableValueNotEqualsIgnoreCase(String name,
String value) |
HistoricProcessInstanceQuery |
withJobException()
Only select process instances that failed due to an exception happening during a job execution.
|
HistoricProcessInstanceQuery |
withLocalizationFallback()
Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.
|
addVariable, getQueryVariableValues, hasLocalQueryVariableValue, hasNonLocalQueryVariableValue, hasValueComparisonQueryVariables, isBoolean, variableExists, variableNotExists, variableValueEquals, variableValueEquals, variableValueEqualsIgnoreCase, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueLikeIgnoreCase, variableValueNotEquals, variableValueNotEqualsIgnoreCaseasc, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultaddOrder, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByColumnMap, getOrderByColumns, getParameter, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setOrderByColumns, setParameterprotected ProcessEngineConfigurationImpl processEngineConfiguration
protected String processInstanceId
protected String processDefinitionId
protected String businessKey
protected String businessKeyLike
protected String deploymentId
protected boolean finished
protected boolean unfinished
protected boolean deleted
protected boolean notDeleted
protected String startedBy
protected String superProcessInstanceId
protected boolean excludeSubprocesses
protected Date startedBefore
protected Date startedAfter
protected Date finishedBefore
protected Date finishedAfter
protected String processDefinitionKey
protected String processDefinitionCategory
protected String processDefinitionName
protected Integer processDefinitionVersion
protected String involvedUser
protected IdentityLinkQueryObject involvedUserIdentityLink
protected IdentityLinkQueryObject involvedGroupIdentityLink
protected boolean includeProcessVariables
protected Integer processInstanceVariablesLimit
protected boolean withJobException
protected String tenantId
protected String tenantIdLike
protected boolean withoutTenantId
protected String name
protected String nameLike
protected String nameLikeIgnoreCase
protected String callbackId
protected String callbackType
protected String referenceId
protected String referenceType
protected String locale
protected boolean withLocalizationFallback
protected List<HistoricProcessInstanceQueryImpl> orQueryObjects
protected HistoricProcessInstanceQueryImpl currentOrQueryObject
protected boolean inOrStatement
public HistoricProcessInstanceQueryImpl()
public HistoricProcessInstanceQueryImpl(CommandContext commandContext, ProcessEngineConfigurationImpl processEngineConfiguration)
public HistoricProcessInstanceQueryImpl(CommandExecutor commandExecutor, ProcessEngineConfigurationImpl processEngineConfiguration)
public HistoricProcessInstanceQueryImpl processInstanceId(String processInstanceId)
HistoricProcessInstanceQueryProcessInstance ids and HistoricProcessInstance ids match.processInstanceId in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processInstanceIds(Set<String> processInstanceIds)
HistoricProcessInstanceQueryProcessInstance ids and HistoricProcessInstance ids match.processInstanceIds in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQueryImpl processDefinitionId(String processDefinitionId)
HistoricProcessInstanceQueryprocessDefinitionId in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processDefinitionKey(String processDefinitionKey)
HistoricProcessInstanceQueryprocessDefinitionKey in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processDefinitionKeyIn(List<String> processDefinitionKeys)
HistoricProcessInstanceQueryprocessDefinitionKeyIn in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processDefinitionCategory(String processDefinitionCategory)
HistoricProcessInstanceQueryprocessDefinitionCategory in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processDefinitionName(String processDefinitionName)
HistoricProcessInstanceQueryprocessDefinitionName in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processDefinitionVersion(Integer processDefinitionVersion)
HistoricProcessInstanceQueryHistoricProcessInstanceQuery.processDefinitionKey(String)processDefinitionVersion in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processInstanceBusinessKey(String businessKey)
HistoricProcessInstanceQueryprocessInstanceBusinessKey in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processInstanceBusinessKeyLike(String businessKeyLike)
HistoricProcessInstanceQueryprocessInstanceBusinessKeyLike in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery deploymentId(String deploymentId)
HistoricProcessInstanceQuerydeploymentId in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery deploymentIdIn(List<String> deploymentIds)
HistoricProcessInstanceQuerydeploymentIdIn in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery finished()
HistoricProcessInstanceQueryfinished in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery unfinished()
HistoricProcessInstanceQueryunfinished in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery deleted()
HistoricProcessInstanceQuerydeleted in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery notDeleted()
HistoricProcessInstanceQuerynotDeleted in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery startedBy(String startedBy)
HistoricProcessInstanceQuerystartedBy in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processDefinitionKeyNotIn(List<String> processDefinitionKeys)
HistoricProcessInstanceQueryprocessDefinitionKeyNotIn in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery startedAfter(Date startedAfter)
HistoricProcessInstanceQuerystartedAfter in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery startedBefore(Date startedBefore)
HistoricProcessInstanceQuerystartedBefore in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery finishedAfter(Date finishedAfter)
HistoricProcessInstanceQueryfinishedAfter in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery finishedBefore(Date finishedBefore)
HistoricProcessInstanceQueryfinishedBefore in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery superProcessInstanceId(String superProcessInstanceId)
HistoricProcessInstanceQueryProcessInstance ids and HistoricProcessInstance ids match.superProcessInstanceId in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery excludeSubprocesses(boolean excludeSubprocesses)
HistoricProcessInstanceQueryexcludeSubprocesses in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery involvedUser(String involvedUser)
HistoricProcessInstanceQueryinvolvedUser in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery involvedUser(String userId, String identityLinkType)
HistoricProcessInstanceQueryinvolvedUser in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery involvedGroup(String groupId, String identityLinkType)
HistoricProcessInstanceQueryinvolvedGroup in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery involvedGroups(Set<String> involvedGroups)
HistoricProcessInstanceQueryinvolvedGroups in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery includeProcessVariables()
HistoricProcessInstanceQueryincludeProcessVariables in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery limitProcessInstanceVariables(Integer processInstanceVariablesLimit)
HistoricProcessInstanceQuerylimitProcessInstanceVariables in interface HistoricProcessInstanceQuerypublic Integer getProcessInstanceVariablesLimit()
public HistoricProcessInstanceQuery withJobException()
HistoricProcessInstanceQuerywithJobException in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processInstanceTenantId(String tenantId)
HistoricProcessInstanceQueryprocessInstanceTenantId in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processInstanceTenantIdLike(String tenantIdLike)
HistoricProcessInstanceQueryprocessInstanceTenantIdLike in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processInstanceWithoutTenantId()
HistoricProcessInstanceQueryprocessInstanceWithoutTenantId in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processInstanceName(String name)
HistoricProcessInstanceQueryprocessInstanceName in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processInstanceNameLike(String nameLike)
HistoricProcessInstanceQueryprocessInstanceNameLike in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processInstanceNameLikeIgnoreCase(String nameLikeIgnoreCase)
HistoricProcessInstanceQueryprocessInstanceNameLikeIgnoreCase in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processInstanceCallbackId(String callbackId)
HistoricProcessInstanceQueryprocessInstanceCallbackId in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processInstanceCallbackType(String callbackType)
HistoricProcessInstanceQueryprocessInstanceCallbackType in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processInstanceReferenceId(String referenceId)
HistoricProcessInstanceQueryprocessInstanceReferenceId in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery processInstanceReferenceType(String referenceType)
HistoricProcessInstanceQueryprocessInstanceReferenceType in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery variableValueEquals(String variableName, Object variableValue)
HistoricProcessInstanceQueryProcessInstanceQuery instead! A variable type is determined based on the value, using types configured in ProcessEngineConfigurationImpl.getVariableTypes(). Byte-arrays and
Serializable objects (which are not primitive type wrappers) are not supported.variableValueEquals in interface HistoricProcessInstanceQueryvariableValueEquals in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>variableName - of the variable, cannot be null.public HistoricProcessInstanceQuery variableValueNotEquals(String variableName, Object variableValue)
HistoricProcessInstanceQuerySerializable objects (which are not primitive type wrappers) are not supported.variableValueNotEquals in interface HistoricProcessInstanceQueryvariableValueNotEquals in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>variableName - of the variable, cannot be null.public HistoricProcessInstanceQuery variableValueEquals(Object variableValue)
HistoricProcessInstanceQueryProcessInstanceQuery instead! A variable type is determined based on the value, using types configured in ProcessEngineConfigurationImpl.getVariableTypes(). Byte-arrays and
Serializable objects (which are not primitive type wrappers) are not supported.variableValueEquals in interface HistoricProcessInstanceQueryvariableValueEquals in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>public HistoricProcessInstanceQuery variableValueEqualsIgnoreCase(String name, String value)
HistoricProcessInstanceQueryvariableValueEqualsIgnoreCase in interface HistoricProcessInstanceQueryvariableValueEqualsIgnoreCase in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>name - name of the variable, cannot be null.value - value of the variable, cannot be null.public HistoricProcessInstanceQuery variableValueNotEqualsIgnoreCase(String name, String value)
public HistoricProcessInstanceQuery variableValueLikeIgnoreCase(String name, String value)
HistoricProcessInstanceQueryProcessInstanceQuery instead! This can be used on string variables only.variableValueLikeIgnoreCase in interface HistoricProcessInstanceQueryvariableValueLikeIgnoreCase in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>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%).public HistoricProcessInstanceQuery variableValueGreaterThan(String name, Object value)
HistoricProcessInstanceQuerySerializable objects (which are not primitive
type wrappers) are not supported. Only select process instances which have a variable value greater than the passed value.variableValueGreaterThan in interface HistoricProcessInstanceQueryvariableValueGreaterThan in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>name - cannot be null.value - cannot be null.public HistoricProcessInstanceQuery variableValueGreaterThanOrEqual(String name, Object value)
HistoricProcessInstanceQuerySerializable objects (which are not
primitive type wrappers) are not supported. Only applies to already ended process instances, otherwise use a ProcessInstanceQuery instead!variableValueGreaterThanOrEqual in interface HistoricProcessInstanceQueryvariableValueGreaterThanOrEqual in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>name - cannot be null.value - cannot be null.public HistoricProcessInstanceQuery variableValueLessThan(String name, Object value)
HistoricProcessInstanceQueryProcessInstanceQuery instead! Booleans, Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.variableValueLessThan in interface HistoricProcessInstanceQueryvariableValueLessThan in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>name - cannot be null.value - cannot be null.public HistoricProcessInstanceQuery variableValueLessThanOrEqual(String name, Object value)
HistoricProcessInstanceQueryProcessInstanceQuery instead! Booleans, Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.variableValueLessThanOrEqual in interface HistoricProcessInstanceQueryvariableValueLessThanOrEqual in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>name - cannot be null.value - cannot be null.public HistoricProcessInstanceQuery variableValueLike(String name, String value)
HistoricProcessInstanceQueryProcessInstanceQuery
instead! This can be used on string variables only.variableValueLike in interface HistoricProcessInstanceQueryvariableValueLike in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>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%).public HistoricProcessInstanceQuery variableExists(String name)
HistoricProcessInstanceQueryvariableExists in interface HistoricProcessInstanceQueryvariableExists in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>name - cannot be null.public HistoricProcessInstanceQuery variableNotExists(String name)
HistoricProcessInstanceQueryvariableNotExists in interface HistoricProcessInstanceQueryvariableNotExists in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>name - cannot be null.public HistoricProcessInstanceQuery locale(String locale)
HistoricProcessInstanceQuerylocale in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery withLocalizationFallback()
HistoricProcessInstanceQuerywithLocalizationFallback in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery or()
HistoricProcessInstanceQueryor in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery endOr()
HistoricProcessInstanceQueryendOr in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery orderByProcessInstanceBusinessKey()
HistoricProcessInstanceQueryQuery.asc() or Query.desc()).orderByProcessInstanceBusinessKey in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery orderByProcessInstanceDuration()
HistoricProcessInstanceQueryQuery.asc() or Query.desc()).orderByProcessInstanceDuration in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery orderByProcessInstanceStartTime()
HistoricProcessInstanceQueryQuery.asc() or Query.desc()).orderByProcessInstanceStartTime in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery orderByProcessInstanceEndTime()
HistoricProcessInstanceQueryQuery.asc() or Query.desc()).orderByProcessInstanceEndTime in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery orderByProcessDefinitionId()
HistoricProcessInstanceQueryQuery.asc() or Query.desc()).orderByProcessDefinitionId in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery orderByProcessInstanceId()
HistoricProcessInstanceQueryQuery.asc() or Query.desc()).orderByProcessInstanceId in interface HistoricProcessInstanceQuerypublic HistoricProcessInstanceQuery orderByTenantId()
HistoricProcessInstanceQueryQuery.asc() or Query.desc()).orderByTenantId in interface HistoricProcessInstanceQuerypublic String getMssqlOrDB2OrderBy()
public long executeCount(CommandContext commandContext)
executeCount in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>public List<HistoricProcessInstance> executeList(CommandContext commandContext)
executeList in class AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>protected void addCachedVariableForQueryById(CommandContext commandContext, List<HistoricProcessInstance> results)
public void enhanceCachedValue(HistoricProcessInstanceEntity processInstance)
enhanceCachedValue in interface CacheAwareQuery<HistoricProcessInstanceEntity>protected void ensureVariablesInitialized()
protected void checkQueryOk()
checkQueryOk in class AbstractQuery<HistoricProcessInstanceQuery,HistoricProcessInstance>public void delete()
delete in interface DeleteQuery<HistoricProcessInstanceQuery,HistoricProcessInstance>public void deleteWithRelatedData()
deleteWithRelatedData in interface DeleteQuery<HistoricProcessInstanceQuery,HistoricProcessInstance>public String getBusinessKey()
public String getBusinessKeyLike()
public boolean isOpen()
public String getProcessDefinitionId()
public String getProcessDefinitionKey()
public String getProcessDefinitionIdLike()
public String getProcessDefinitionName()
public String getProcessDefinitionCategory()
public Integer getProcessDefinitionVersion()
public String getProcessInstanceId()
public String getId()
getId in interface CacheAwareQuery<HistoricProcessInstanceEntity>public String getStartedBy()
public String getSuperProcessInstanceId()
public boolean isExcludeSubprocesses()
public Date getStartedAfter()
public Date getStartedBefore()
public Date getFinishedAfter()
public Date getFinishedBefore()
public String getInvolvedUser()
public String getName()
public String getNameLike()
public static long getSerialversionuid()
public String getDeploymentId()
public boolean isFinished()
public boolean isUnfinished()
public boolean isDeleted()
public boolean isNotDeleted()
public boolean isIncludeProcessVariables()
public boolean isWithException()
public String getTenantId()
public String getTenantIdLike()
public boolean isWithoutTenantId()
public String getNameLikeIgnoreCase()
public String getCallbackId()
public String getCallbackType()
public String getReferenceId()
public String getReferenceType()
public List<HistoricProcessInstanceQueryImpl> getOrQueryObjects()
Copyright © 2020 Flowable. All rights reserved.