Class ExecutionQueryImpl
- All Implemented Interfaces:
Serializable,CacheAwareQuery<ExecutionEntity>,Query<ExecutionQuery,,Execution> Command<Object>,ExecutionQuery
- Author:
- Joram Barrez, Frederik Heremans, Daniel Meyer
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected ExecutionQueryImplprotected Stringprotected List<EventSubscriptionQueryValue>protected booleanprotected Stringprotected booleanprotected booleanprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected booleanprotected booleanprotected List<ExecutionQueryImpl>protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected ProcessEngineConfigurationImplprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected Dateprotected Stringprotected Stringprotected Stringprotected SuspensionStateprotected Stringprotected Stringprotected Stringprotected booleanprotected booleanFields inherited from class org.flowable.variable.service.impl.AbstractVariableQueryImpl
queryVariableValues, variableValueProviderFields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutorFields 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
ConstructorsConstructorDescriptionExecutionQueryImpl(CommandContext commandContext, ProcessEngineConfigurationImpl processEngineConfiguration) ExecutionQueryImpl(CommandExecutor commandExecutor, ProcessEngineConfigurationImpl processEngineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionactivityId(String activityId) Only select executions which contain an activity with the given id.endOr()End an OR statement.protected voideventSubscription(String eventType, String eventName) longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext) Executes the actual query to retrieve the list of results.executionId(String executionId) Only select executions with the given id.executionReferenceId(String referenceId) Only select executions with the given reference id.executionReferenceType(String referenceType) Only select executions with the given reference type.executionTenantId(String tenantId) Only select process instances that have the given tenant id.executionTenantIdLike(String tenantIdLike) Only select process instances with a tenant id like the given one.executionTenantIdLikeIgnoreCase(String tenantIdLikeIgnoreCase) Only select process instances with a tenant id like the given one, ignoring upper/lower case.Only select process instances that do not have a tenant id.getId()getName()booleanbooleanisActive()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanLocalize execution name and description to specified locale.protected voidmessageEventSubscriptionName(String messageName) Only select executions which have a message event subscription for the given messageName.Only selects executions that have a parent id set, ie non-processinstance executions.Only selects executions that have no parent id set, ie process instance executionsOnly selects executions that are a subprocess.or()Begin an OR statement.Order by process definition id (needs to be followed byQuery.asc()orQuery.desc()).Order by process definition key (needs to be followed byQuery.asc()orQuery.desc()).Order by id (needs to be followed byQuery.asc()orQuery.desc()).Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).Only select executions which are a direct child-execution of the execution with the given id.processDefinitionCategory(String processDefinitionCategory) Only select executions which have the given process definition category.processDefinitionCategoryLike(String processDefinitionCategoryLike) Only select executions which have a process definition category like the given value.processDefinitionCategoryLikeIgnoreCase(String processDefinitionCategoryLikeIgnoreCase) Only select executions which have a process definition category like the given value, ignoring upper/lower case.processDefinitionEngineVersion(String processDefinitionEngineVersion) Only select executions which have the given process definition engine version.processDefinitionId(String processDefinitionId) Only select executions which have the given process definition id.processDefinitionKey(String processDefinitionKey) Only select executions which have the given process definition key.processDefinitionKeyLike(String processDefinitionKeyLike) Only select executions which have a process definition key like the given value.processDefinitionKeyLikeIgnoreCase(String processDefinitionKeyLikeIgnoreCase) Only select executions which have a process definition key like the given value, ignoring upper/lower case.processDefinitionKeys(Set<String> processDefinitionKeys) Only select executions which have process definitions with the given keys.processDefinitionName(String processDefinitionName) Only select executions which have the given process definition name.processDefinitionNameLike(String processDefinitionNameLike) Only select executions which have a process definition name like the given value.processDefinitionNameLikeIgnoreCase(String processDefinitionNameLikeIgnoreCase) Only select executions which have a process definition name like the given value, ignoring upper/lower case.processDefinitionVersion(Integer processDefinitionVersion) Only select executions which have the given process definition version.processInstanceBusinessKey(String businessKey) Only executions with the given business key.processInstanceBusinessKey(String processInstanceBusinessKey, boolean includeChildExecutions) Only executions with the given business key.processInstanceBusinessKeyLike(String businessKeyLike) Only executions that have a business key like the given value.processInstanceBusinessKeyLike(String processInstanceBusinessKeyLike, boolean includeChildExecutions) Only executions that have a business key like the given value.processInstanceBusinessKeyLikeIgnoreCase(String businessKeyLikeIgnoreCase) Only executions that have a business key like the given value, ignoring upper/lower case.processInstanceBusinessKeyLikeIgnoreCase(String processInstanceBusinessKeyLikeIgnoreCase, boolean includeChildExecutions) Only executions that have a business key like the given value, ignoring upper/lower case.processInstanceId(String processInstanceId) Only select executions which have the given process instance id.processVariableExists(String name) Only select executions which are part of a process that have a variable with the given name.Only select executions which are part of a process that don't have a variable with the given name.processVariableValueEquals(Object variableValue) Only select executions which are part of a process that have at least one variable with the given value.processVariableValueEquals(String variableName, Object variableValue) Only select executions which are part of a process that have a variable with the given name set to the given value.processVariableValueEqualsIgnoreCase(String name, String value) Only select executions which are part of a process that have a local string variable with the given value, case insensitive.processVariableValueGreaterThan(String name, Object value) Only select executions which have a process instance variable value greater than the passed value.processVariableValueGreaterThanOrEqual(String name, Object value) Only select executions which have a process instance variable value greater than or equal to the passed value.processVariableValueLessThan(String name, Object value) Only select executions which have a process instance variable value less than the passed value.processVariableValueLessThanOrEqual(String name, Object value) Only select executions which have a process instance variable value less than or equal to the passed value.processVariableValueLike(String name, String value) Only select executions which are part of a process that have at least one variable like the given value.processVariableValueLikeIgnoreCase(String name, String value) Only select executions which are part of a process that have at least one variable like the given value (case insensitive).processVariableValueNotEquals(String variableName, Object variableValue) Only select executions which are part of a process that have a variable with the given name, but with a different value than the passed value.processVariableValueNotEqualsIgnoreCase(String name, String value) Only select executions which are part of a process that have a local string variable which is not the given value, case insensitive.rootProcessInstanceId(String rootProcessInstanceId) Only select executions which have the given root process instance id.voidsetActiveActivityId(String activeActivityId) voidsetActiveActivityIds(Set<String> activeActivityIds) voidsetDeploymentId(String deploymentId) voidsetDeploymentIds(List<String> deploymentIds) voidsetEventSubscriptions(List<EventSubscriptionQueryValue> eventSubscriptions) voidsetInvolvedGroups(Set<String> involvedGroups) voidsetInvolvedUser(String involvedUser) voidvoidsetNameLike(String nameLike) voidsetNameLikeIgnoreCase(String nameLikeIgnoreCase) voidsetSafeInvolvedGroups(List<List<String>> safeInvolvedGroups) voidsetStartedAfter(Date startedAfter) voidsetStartedBefore(Date startedBefore) voidsetStartedBy(String startedBy) voidsetSuspensionState(SuspensionState suspensionState) signalEventSubscription(String signalName) signalEventSubscriptionName(String signalName) Only select executions which have a signal event subscription for the given signal name.startedAfter(Date afterTime) Only select executions that were started after the given start time.startedBefore(Date beforeTime) Only select executions that were started before the given start time.Only select executions that were started after by the given user id.variableExists(String name) Only select executions which have a local variable with the given name.variableNotExists(String name) Only select executions which does not have a local variable with the given name.variableValueEquals(Object variableValue) Only select executions which have at least one local variable with the given value.variableValueEquals(String variableName, Object variableValue) Only select executions which have a local variable with the given value.variableValueEqualsIgnoreCase(String name, String value) Only select executions which have a local string variable with the given value, case insensitive.variableValueGreaterThan(String name, Object value) Only select executions which have a local variable value greater than the passed value.variableValueGreaterThanOrEqual(String name, Object value) Only select executions which have a local variable value greater than or equal to the passed value.variableValueLessThan(String name, Object value) Only select executions which have a local variable value less than the passed value.variableValueLessThanOrEqual(String name, Object value) Only select executions which have a local variable value less than or equal to the passed value.variableValueLike(String name, String value) Only select executions which have a local variable value like the given value.variableValueLikeIgnoreCase(String name, String value) Only select executions which have a local variable value like the given value (case insensitive).variableValueNotEquals(String variableName, Object variableValue) Only select executions which have a local variable with the given name, but with a different value than the passed value.variableValueNotEqualsIgnoreCase(String name, String value) Only select executions which have a local string variable which is not the given value, case insensitive.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.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, variableValueNotEqualsIgnoreCaseMethods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultMethods 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, setParameterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.api.query.CacheAwareQuery
enhanceCachedValue
-
Field Details
-
processEngineConfiguration
-
processDefinitionId
-
processDefinitionKey
-
processDefinitionKeyLike
-
processDefinitionKeyLikeIgnoreCase
-
processDefinitionCategory
-
processDefinitionCategoryLike
-
processDefinitionCategoryLikeIgnoreCase
-
processDefinitionName
-
processDefinitionNameLike
-
processDefinitionNameLikeIgnoreCase
-
processDefinitionVersion
-
processDefinitionEngineVersion
-
activityId
-
executionId
-
parentId
-
onlyChildExecutions
protected boolean onlyChildExecutions -
onlySubProcessExecutions
protected boolean onlySubProcessExecutions -
onlyProcessInstanceExecutions
protected boolean onlyProcessInstanceExecutions -
processInstanceId
-
rootProcessInstanceId
-
eventSubscriptions
-
tenantId
-
tenantIdLike
-
tenantIdLikeIgnoreCase
-
withoutTenantId
protected boolean withoutTenantId -
locale
-
withLocalizationFallback
protected boolean withLocalizationFallback -
startedBefore
-
startedAfter
-
startedBy
-
superProcessInstanceId
-
subProcessInstanceId
-
excludeSubprocesses
protected boolean excludeSubprocesses -
suspensionState
-
businessKey
-
businessKeyLike
-
businessKeyLikeIgnoreCase
-
includeChildExecutionsWithBusinessKeyQuery
protected boolean includeChildExecutionsWithBusinessKeyQuery -
isActive
protected boolean isActive -
involvedUser
-
involvedGroups
-
processDefinitionKeys
-
processDefinitionIds
-
name
-
nameLike
-
nameLikeIgnoreCase
-
deploymentId
-
deploymentIds
-
activeActivityId
-
activeActivityIds
-
callbackId
-
callbackType
-
referenceId
-
referenceType
-
orQueryObjects
-
currentOrQueryObject
-
inOrStatement
protected boolean inOrStatement
-
-
Constructor Details
-
ExecutionQueryImpl
public ExecutionQueryImpl() -
ExecutionQueryImpl
public ExecutionQueryImpl(CommandContext commandContext, ProcessEngineConfigurationImpl processEngineConfiguration) -
ExecutionQueryImpl
public ExecutionQueryImpl(CommandExecutor commandExecutor, ProcessEngineConfigurationImpl processEngineConfiguration)
-
-
Method Details
-
isProcessInstancesOnly
public boolean isProcessInstancesOnly() -
processDefinitionId
Description copied from interface:ExecutionQueryOnly select executions which have the given process definition id.- Specified by:
processDefinitionIdin interfaceExecutionQuery
-
processDefinitionKey
Description copied from interface:ExecutionQueryOnly select executions which have the given process definition key.- Specified by:
processDefinitionKeyin interfaceExecutionQuery
-
processDefinitionKeyLike
Description copied from interface:ExecutionQueryOnly select executions which have a process definition key like the given value.- Specified by:
processDefinitionKeyLikein interfaceExecutionQuery
-
processDefinitionKeyLikeIgnoreCase
public ExecutionQueryImpl processDefinitionKeyLikeIgnoreCase(String processDefinitionKeyLikeIgnoreCase) Description copied from interface:ExecutionQueryOnly select executions which have a process definition key like the given value, ignoring upper/lower case.- Specified by:
processDefinitionKeyLikeIgnoreCasein interfaceExecutionQuery
-
processDefinitionCategory
Description copied from interface:ExecutionQueryOnly select executions which have the given process definition category.- Specified by:
processDefinitionCategoryin interfaceExecutionQuery
-
processDefinitionCategoryLike
Description copied from interface:ExecutionQueryOnly select executions which have a process definition category like the given value.- Specified by:
processDefinitionCategoryLikein interfaceExecutionQuery
-
processDefinitionCategoryLikeIgnoreCase
public ExecutionQuery processDefinitionCategoryLikeIgnoreCase(String processDefinitionCategoryLikeIgnoreCase) Description copied from interface:ExecutionQueryOnly select executions which have a process definition category like the given value, ignoring upper/lower case.- Specified by:
processDefinitionCategoryLikeIgnoreCasein interfaceExecutionQuery
-
processDefinitionName
Description copied from interface:ExecutionQueryOnly select executions which have the given process definition name.- Specified by:
processDefinitionNamein interfaceExecutionQuery
-
processDefinitionNameLike
Description copied from interface:ExecutionQueryOnly select executions which have a process definition name like the given value.- Specified by:
processDefinitionNameLikein interfaceExecutionQuery
-
processDefinitionNameLikeIgnoreCase
public ExecutionQuery processDefinitionNameLikeIgnoreCase(String processDefinitionNameLikeIgnoreCase) Description copied from interface:ExecutionQueryOnly select executions which have a process definition name like the given value, ignoring upper/lower case.- Specified by:
processDefinitionNameLikeIgnoreCasein interfaceExecutionQuery
-
processDefinitionVersion
Description copied from interface:ExecutionQueryOnly select executions which have the given process definition version. Particularly useful when used in combination withExecutionQuery.processDefinitionKey(String)- Specified by:
processDefinitionVersionin interfaceExecutionQuery
-
processDefinitionEngineVersion
Description copied from interface:ExecutionQueryOnly select executions which have the given process definition engine version.- Specified by:
processDefinitionEngineVersionin interfaceExecutionQuery
-
processInstanceId
Description copied from interface:ExecutionQueryOnly select executions which have the given process instance id.- Specified by:
processInstanceIdin interfaceExecutionQuery
-
rootProcessInstanceId
Description copied from interface:ExecutionQueryOnly select executions which have the given root process instance id.- Specified by:
rootProcessInstanceIdin interfaceExecutionQuery
-
processInstanceBusinessKey
Description copied from interface:ExecutionQueryOnly executions with the given business key. Note that only process instances have a business key and as such, child executions will NOT be returned. If you want to return child executions of the process instance with the given business key too, use theExecutionQuery.processInstanceBusinessKey(String, boolean)method with a boolean value of true instead.- Specified by:
processInstanceBusinessKeyin interfaceExecutionQuery
-
processInstanceBusinessKey
public ExecutionQuery processInstanceBusinessKey(String processInstanceBusinessKey, boolean includeChildExecutions) Description copied from interface:ExecutionQueryOnly executions with the given business key. Similar toExecutionQuery.processInstanceBusinessKey(String), but allows to choose whether child executions are returned or not.- Specified by:
processInstanceBusinessKeyin interfaceExecutionQuery
-
processInstanceBusinessKeyLike
Description copied from interface:ExecutionQueryOnly executions that have a business key like the given value. Note that only process instances have a business key and as such, child executions will NOT be returned. If you want to return child executions of the process instance with the given business key too, use theExecutionQuery.processInstanceBusinessKeyLike(String, boolean)method with a boolean value of true instead.- Specified by:
processInstanceBusinessKeyLikein interfaceExecutionQuery
-
processInstanceBusinessKeyLike
public ExecutionQuery processInstanceBusinessKeyLike(String processInstanceBusinessKeyLike, boolean includeChildExecutions) Description copied from interface:ExecutionQueryOnly executions that have a business key like the given value. Similar toExecutionQuery.processInstanceBusinessKeyLike(String), but allows to choose whether child executions are returned or not.- Specified by:
processInstanceBusinessKeyLikein interfaceExecutionQuery
-
processInstanceBusinessKeyLikeIgnoreCase
Description copied from interface:ExecutionQueryOnly executions that have a business key like the given value, ignoring upper/lower case. Note that only process instances have a business key and as such, child executions will NOT be returned. If you want to return child executions of the process instance with the given business key too, use theExecutionQuery.processInstanceBusinessKeyLikeIgnoreCase(String, boolean)method with a boolean value of true instead.- Specified by:
processInstanceBusinessKeyLikeIgnoreCasein interfaceExecutionQuery
-
processInstanceBusinessKeyLikeIgnoreCase
public ExecutionQuery processInstanceBusinessKeyLikeIgnoreCase(String processInstanceBusinessKeyLikeIgnoreCase, boolean includeChildExecutions) Description copied from interface:ExecutionQueryOnly executions that have a business key like the given value, ignoring upper/lower case. Similar toExecutionQuery.processInstanceBusinessKeyLikeIgnoreCase(String), but allows to choose whether child executions are returned or not.- Specified by:
processInstanceBusinessKeyLikeIgnoreCasein interfaceExecutionQuery
-
processDefinitionKeys
Description copied from interface:ExecutionQueryOnly select executions which have process definitions with the given keys.- Specified by:
processDefinitionKeysin interfaceExecutionQuery
-
executionId
Description copied from interface:ExecutionQueryOnly select executions with the given id.- Specified by:
executionIdin interfaceExecutionQuery
-
activityId
Description copied from interface:ExecutionQueryOnly select executions which contain an activity with the given id.- Specified by:
activityIdin interfaceExecutionQuery
-
parentId
Description copied from interface:ExecutionQueryOnly select executions which are a direct child-execution of the execution with the given id.- Specified by:
parentIdin interfaceExecutionQuery
-
onlyChildExecutions
Description copied from interface:ExecutionQueryOnly selects executions that have a parent id set, ie non-processinstance executions.- Specified by:
onlyChildExecutionsin interfaceExecutionQuery
-
onlySubProcessExecutions
Description copied from interface:ExecutionQueryOnly selects executions that are a subprocess.- Specified by:
onlySubProcessExecutionsin interfaceExecutionQuery
-
onlyProcessInstanceExecutions
Description copied from interface:ExecutionQueryOnly selects executions that have no parent id set, ie process instance executions- Specified by:
onlyProcessInstanceExecutionsin interfaceExecutionQuery
-
executionTenantId
Description copied from interface:ExecutionQueryOnly select process instances that have the given tenant id.- Specified by:
executionTenantIdin interfaceExecutionQuery
-
executionTenantIdLike
Description copied from interface:ExecutionQueryOnly select process instances with a tenant id like the given one.- Specified by:
executionTenantIdLikein interfaceExecutionQuery
-
executionTenantIdLikeIgnoreCase
Description copied from interface:ExecutionQueryOnly select process instances with a tenant id like the given one, ignoring upper/lower case.- Specified by:
executionTenantIdLikeIgnoreCasein interfaceExecutionQuery
-
executionWithoutTenantId
Description copied from interface:ExecutionQueryOnly select process instances that do not have a tenant id.- Specified by:
executionWithoutTenantIdin interfaceExecutionQuery
-
executionReferenceId
Description copied from interface:ExecutionQueryOnly select executions with the given reference id.- Specified by:
executionReferenceIdin interfaceExecutionQuery
-
executionReferenceType
Description copied from interface:ExecutionQueryOnly select executions with the given reference type.- Specified by:
executionReferenceTypein interfaceExecutionQuery
-
signalEventSubscription
-
signalEventSubscriptionName
Description copied from interface:ExecutionQueryOnly select executions which have a signal event subscription for the given signal name. (The signalName is specified using the 'name' attribute of the signal element in the BPMN 2.0 XML.)- Specified by:
signalEventSubscriptionNamein interfaceExecutionQuery- Parameters:
signalName- the name of the signal the execution has subscribed to
-
messageEventSubscriptionName
Description copied from interface:ExecutionQueryOnly select executions which have a message event subscription for the given messageName. (The messageName is specified using the 'name' attribute of the message element in the BPMN 2.0 XML.)- Specified by:
messageEventSubscriptionNamein interfaceExecutionQuery- Parameters:
messageName- the name of the message the execution has subscribed to
-
eventSubscription
-
processVariableValueEquals
Description copied from interface:ExecutionQueryOnly select executions which are part of a process that have a variable with the given name set to the given value. Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueEqualsin interfaceExecutionQuery
-
processVariableValueEquals
Description copied from interface:ExecutionQueryOnly select executions which are part of a process that have at least one variable with the given value. Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueEqualsin interfaceExecutionQuery
-
processVariableValueNotEquals
Description copied from interface:ExecutionQueryOnly select executions which are part of a process that have a variable with the given name, but with a different value than the passed value. Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueNotEqualsin interfaceExecutionQuery
-
processVariableValueEqualsIgnoreCase
Description copied from interface:ExecutionQueryOnly select executions which are part of a process that have a local string variable with the given value, case insensitive.This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
- Specified by:
processVariableValueEqualsIgnoreCasein interfaceExecutionQuery- Parameters:
name- name of the variable, cannot be null.value- value of the variable, cannot be null.
-
processVariableValueNotEqualsIgnoreCase
Description copied from interface:ExecutionQueryOnly select executions which are part of a process that have a local string variable which is not the given value, case insensitive.This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
- Specified by:
processVariableValueNotEqualsIgnoreCasein interfaceExecutionQuery- Parameters:
name- name of the variable, cannot be null.value- value of the variable, cannot be null.
-
processVariableValueLike
Description copied from interface:ExecutionQueryOnly select executions which are part of a process that have at least one variable like the given value. Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueLikein interfaceExecutionQuery
-
processVariableValueLikeIgnoreCase
Description copied from interface:ExecutionQueryOnly select executions which are part of a process that have at least one variable like the given value (case insensitive). Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueLikeIgnoreCasein interfaceExecutionQuery
-
processVariableValueGreaterThan
Description copied from interface:ExecutionQueryOnly select executions which have a process instance variable value greater than the passed value. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueGreaterThanin interfaceExecutionQuery- Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
processVariableValueGreaterThanOrEqual
Description copied from interface:ExecutionQueryOnly select executions which have a process instance variable value greater than or equal to the passed value. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueGreaterThanOrEqualin interfaceExecutionQuery- Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
processVariableValueLessThan
Description copied from interface:ExecutionQueryOnly select executions which have a process instance variable value less than the passed value. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueLessThanin interfaceExecutionQuery- Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
processVariableValueLessThanOrEqual
Description copied from interface:ExecutionQueryOnly select executions which have a process instance variable value less than or equal to the passed value. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueLessThanOrEqualin interfaceExecutionQuery- Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
processVariableExists
Description copied from interface:ExecutionQueryOnly select executions which are part of a process that have a variable with the given name.- Specified by:
processVariableExistsin interfaceExecutionQuery- Parameters:
name- cannot be null.
-
processVariableNotExists
Description copied from interface:ExecutionQueryOnly select executions which are part of a process that don't have a variable with the given name.- Specified by:
processVariableNotExistsin interfaceExecutionQuery- Parameters:
name- cannot be null.
-
variableValueEquals
Description copied from interface:ExecutionQueryOnly select executions which have a local variable with the given value. The type of variable 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 interfaceExecutionQuery- Overrides:
variableValueEqualsin classAbstractVariableQueryImpl<ExecutionQuery,Execution> - Parameters:
variableName- name of the variable, cannot be null.
-
variableValueEquals
Description copied from interface:ExecutionQueryOnly select executions which have at least one local variable with the given value. The type of variable 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 interfaceExecutionQuery- Overrides:
variableValueEqualsin classAbstractVariableQueryImpl<ExecutionQuery,Execution>
-
variableValueNotEquals
Description copied from interface:ExecutionQueryOnly select executions which have a local variable with the given name, but with a different value than the passed value. Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueNotEqualsin interfaceExecutionQuery- Overrides:
variableValueNotEqualsin classAbstractVariableQueryImpl<ExecutionQuery,Execution> - Parameters:
variableName- name of the variable, cannot be null.
-
variableValueEqualsIgnoreCase
Description copied from interface:ExecutionQueryOnly select executions which have a local string variable with the given value, case insensitive.This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
- Specified by:
variableValueEqualsIgnoreCasein interfaceExecutionQuery- Overrides:
variableValueEqualsIgnoreCasein classAbstractVariableQueryImpl<ExecutionQuery,Execution> - Parameters:
name- name of the variable, cannot be null.value- value of the variable, cannot be null.
-
variableValueNotEqualsIgnoreCase
Description copied from interface:ExecutionQueryOnly select executions which have a local string variable which is not the given value, case insensitive.This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
- Specified by:
variableValueNotEqualsIgnoreCasein interfaceExecutionQuery- Overrides:
variableValueNotEqualsIgnoreCasein classAbstractVariableQueryImpl<ExecutionQuery,Execution> - Parameters:
name- name of the variable, cannot be null.value- value of the variable, cannot be null.
-
variableValueLike
Description copied from interface:ExecutionQueryOnly select executions which have a local variable value like the given value. This be used on string variables only.- Specified by:
variableValueLikein interfaceExecutionQuery- Overrides:
variableValueLikein classAbstractVariableQueryImpl<ExecutionQuery,Execution> - Parameters:
name- variable name, cannot be null.value- variable value, cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
variableValueLikeIgnoreCase
Description copied from interface:ExecutionQueryOnly select executions which have a local variable value like the given value (case insensitive). This be used on string variables only.- Specified by:
variableValueLikeIgnoreCasein interfaceExecutionQuery- Overrides:
variableValueLikeIgnoreCasein classAbstractVariableQueryImpl<ExecutionQuery,Execution> - Parameters:
name- variable name, cannot be null.value- variable value, cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
variableValueGreaterThan
Description copied from interface:ExecutionQueryOnly select executions which have a local variable value greater than the passed value. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueGreaterThanin interfaceExecutionQuery- Overrides:
variableValueGreaterThanin classAbstractVariableQueryImpl<ExecutionQuery,Execution> - Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
variableValueGreaterThanOrEqual
Description copied from interface:ExecutionQueryOnly select executions which have a local variable value greater than or equal to the passed value. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueGreaterThanOrEqualin interfaceExecutionQuery- Overrides:
variableValueGreaterThanOrEqualin classAbstractVariableQueryImpl<ExecutionQuery,Execution> - Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
variableValueLessThan
Description copied from interface:ExecutionQueryOnly select executions which have a local variable value less than the passed value. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueLessThanin interfaceExecutionQuery- Overrides:
variableValueLessThanin classAbstractVariableQueryImpl<ExecutionQuery,Execution> - Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
variableValueLessThanOrEqual
Description copied from interface:ExecutionQueryOnly select executions which have a local variable value less than or equal to the passed value. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueLessThanOrEqualin interfaceExecutionQuery- Overrides:
variableValueLessThanOrEqualin classAbstractVariableQueryImpl<ExecutionQuery,Execution> - Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
variableExists
Description copied from interface:ExecutionQueryOnly select executions which have a local variable with the given name.- Specified by:
variableExistsin interfaceExecutionQuery- Overrides:
variableExistsin classAbstractVariableQueryImpl<ExecutionQuery,Execution> - Parameters:
name- cannot be null.
-
variableNotExists
Description copied from interface:ExecutionQueryOnly select executions which does not have a local variable with the given name.- Specified by:
variableNotExistsin interfaceExecutionQuery- Overrides:
variableNotExistsin classAbstractVariableQueryImpl<ExecutionQuery,Execution> - Parameters:
name- cannot be null.
-
locale
Description copied from interface:ExecutionQueryLocalize execution name and description to specified locale.- Specified by:
localein interfaceExecutionQuery
-
withLocalizationFallback
Description copied from interface:ExecutionQueryInstruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.- Specified by:
withLocalizationFallbackin interfaceExecutionQuery
-
startedBefore
Description copied from interface:ExecutionQueryOnly select executions that were started before the given start time.- Specified by:
startedBeforein interfaceExecutionQuery- Parameters:
beforeTime- executions started before this time will be returned (cannot be null)
-
startedAfter
Description copied from interface:ExecutionQueryOnly select executions that were started after the given start time.- Specified by:
startedAfterin interfaceExecutionQuery- Parameters:
afterTime- executions started after this time will be returned (cannot be null)
-
startedBy
Description copied from interface:ExecutionQueryOnly select executions that were started after by the given user id.- Specified by:
startedByin interfaceExecutionQuery- Parameters:
userId- the user id of the authenticated user that started the execution (cannot be null)
-
or
Description copied from interface:ExecutionQueryBegin 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 interfaceExecutionQuery
-
endOr
Description copied from interface:ExecutionQueryEnd an OR statement. Only one OR statement is allowed, for the second call to this method an exception will be thrown.- Specified by:
endOrin interfaceExecutionQuery
-
orderByProcessInstanceId
Description copied from interface:ExecutionQueryOrder by id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceIdin interfaceExecutionQuery
-
orderByProcessDefinitionId
Description copied from interface:ExecutionQueryOrder by process definition id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessDefinitionIdin interfaceExecutionQuery
-
orderByProcessDefinitionKey
Description copied from interface:ExecutionQueryOrder by process definition key (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessDefinitionKeyin interfaceExecutionQuery
-
orderByTenantId
Description copied from interface:ExecutionQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceExecutionQuery
-
executeCount
- Specified by:
executeCountin classAbstractVariableQueryImpl<ExecutionQuery,Execution>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractVariableQueryImpl<ExecutionQuery,Execution>
-
localize
-
ensureVariablesInitialized
protected void ensureVariablesInitialized()- Overrides:
ensureVariablesInitializedin classAbstractVariableQueryImpl<ExecutionQuery,Execution>
-
getOnlyProcessInstances
public boolean getOnlyProcessInstances() -
getProcessDefinitionKey
-
getProcessDefinitionKeyLike
-
getProcessDefinitionKeyLikeIgnoreCase
-
getProcessDefinitionId
-
getProcessDefinitionCategory
-
getProcessDefinitionCategoryLike
-
getProcessDefinitionCategoryLikeIgnoreCase
-
getProcessDefinitionName
-
getProcessDefinitionNameLike
-
getProcessDefinitionNameLikeIgnoreCase
-
getProcessDefinitionVersion
-
getProcessDefinitionEngineVersion
-
getActivityId
-
getProcessInstanceId
-
getRootProcessInstanceId
-
getProcessInstanceIds
-
getBusinessKey
-
getBusinessKeyLike
-
getBusinessKeyLikeIgnoreCase
-
getBusinessStatus
-
getBusinessStatusLike
-
getBusinessStatusLikeIgnoreCase
-
getExecutionId
-
getId
- Specified by:
getIdin interfaceCacheAwareQuery<ExecutionEntity>
-
getSuperProcessInstanceId
-
getSubProcessInstanceId
-
isExcludeSubprocesses
public boolean isExcludeSubprocesses() -
getSuspensionState
-
setSuspensionState
-
getEventSubscriptions
-
isIncludeChildExecutionsWithBusinessKeyQuery
public boolean isIncludeChildExecutionsWithBusinessKeyQuery() -
setEventSubscriptions
-
isActive
public boolean isActive() -
getInvolvedUser
-
setInvolvedUser
-
getInvolvedUserIdentityLink
-
getInvolvedGroupIdentityLink
-
getInvolvedGroups
-
setInvolvedGroups
-
getProcessDefinitionIds
-
getProcessDefinitionKeys
-
getParentId
-
isOnlyChildExecutions
public boolean isOnlyChildExecutions() -
isOnlySubProcessExecutions
public boolean isOnlySubProcessExecutions() -
isOnlyProcessInstanceExecutions
public boolean isOnlyProcessInstanceExecutions() -
getTenantId
-
getTenantIdLike
-
getTenantIdLikeIgnoreCase
-
isWithoutTenantId
public boolean isWithoutTenantId() -
getReferenceId
-
getReferenceType
-
getName
-
getNameLike
-
setName
-
setNameLike
-
getNameLikeIgnoreCase
-
setNameLikeIgnoreCase
-
getDeploymentId
-
setDeploymentId
-
getDeploymentIds
-
setDeploymentIds
-
getActiveActivityId
-
setActiveActivityId
-
getActiveActivityIds
-
setActiveActivityIds
-
getStartedBefore
-
setStartedBefore
-
getStartedAfter
-
setStartedAfter
-
getStartedBy
-
setStartedBy
-
getLocale
-
isWithLocalizationFallback
public boolean isWithLocalizationFallback() -
getCallbackId
-
getCallbackType
-
getOrQueryObjects
-
getSafeInvolvedGroups
-
setSafeInvolvedGroups
-
getRootScopeId
-
getParentScopeId
-