public interface ExecutionQuery extends Query<ExecutionQuery,Execution>
Execution
s.Modifier and Type | Method and Description |
---|---|
ExecutionQuery |
activityId(String activityId)
Only select executions which contain an activity with the given id.
|
ExecutionQuery |
executionId(String executionId)
Only select executions with the given id.
|
ExecutionQuery |
executionTenantId(String tenantId)
Only select process instances that have the given tenant id.
|
ExecutionQuery |
executionTenantIdLike(String tenantIdLike)
Only select process instances with a tenant id like the given one.
|
ExecutionQuery |
executionWithoutTenantId()
Only select process instances that do not have a tenant id.
|
ExecutionQuery |
locale(String locale)
Localize execution name and description to specified locale.
|
ExecutionQuery |
messageEventSubscriptionName(String messageName)
Only select executions which have a message event subscription for the given messageName.
|
ExecutionQuery |
onlyChildExecutions()
Only selects executions that have a parent id set, ie non-processinstance executions.
|
ExecutionQuery |
onlyProcessInstanceExecutions()
Only selects executions that have no parent id set, ie process instance executions
|
ExecutionQuery |
onlySubProcessExecutions()
Only selects executions that are a subprocess.
|
ExecutionQuery |
orderByProcessDefinitionId()
Order by process definition id (needs to be followed by
Query.asc() or Query.desc() ). |
ExecutionQuery |
orderByProcessDefinitionKey()
Order by process definition key (needs to be followed by
Query.asc() or Query.desc() ). |
ExecutionQuery |
orderByProcessInstanceId()
Order by id (needs to be followed by
Query.asc() or Query.desc() ). |
ExecutionQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc() ). |
ExecutionQuery |
parentId(String parentId)
Only select executions which are a direct child-execution of the execution with the given id.
|
ExecutionQuery |
processDefinitionCategory(String processDefinitionCategory)
Only select executions which have the given process definition category.
|
ExecutionQuery |
processDefinitionId(String processDefinitionId)
Only select executions which have the given process definition id.
|
ExecutionQuery |
processDefinitionKey(String processDefinitionKey)
Only select executions which have the given process definition key.
|
ExecutionQuery |
processDefinitionKeys(Set<String> processDefinitionKeys)
Only select executions which have process definitions with the given keys.
|
ExecutionQuery |
processDefinitionName(String processDefinitionName)
Only select executions which have the given process definition name.
|
ExecutionQuery |
processDefinitionVersion(Integer processDefinitionVersion)
Only select executions which have the given process definition version.
|
ExecutionQuery |
processInstanceBusinessKey(String processInstanceBusinessKey)
Only executions with the given business key.
|
ExecutionQuery |
processInstanceBusinessKey(String processInstanceBusinessKey,
boolean includeChildExecutions)
Only executions with the given business key.
|
ExecutionQuery |
processInstanceId(String processInstanceId)
Only select executions which have the given process instance id.
|
ExecutionQuery |
processVariableValueEquals(Object variableValue)
Only select executions which are part of a process that have at least one variable with the given value.
|
ExecutionQuery |
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.
|
ExecutionQuery |
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.
|
ExecutionQuery |
processVariableValueLike(String name,
String value)
Only select executions which are part of a process that have at least one variable like the given value.
|
ExecutionQuery |
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).
|
ExecutionQuery |
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.
|
ExecutionQuery |
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.
|
ExecutionQuery |
rootProcessInstanceId(String rootProcessInstanceId)
Only select executions which have the given root process instance id.
|
ExecutionQuery |
signalEventSubscriptionName(String signalName)
Only select executions which have a signal event subscription for the given signal name.
|
ExecutionQuery |
startedAfter(Date afterTime)
Only select executions that were started after the given start time.
|
ExecutionQuery |
startedBefore(Date beforeTime)
Only select executions that were started before the given start time.
|
ExecutionQuery |
startedBy(String userId)
Only select executions that were started after by the given user id.
|
ExecutionQuery |
variableValueEquals(Object value)
Only select executions which have at least one local variable with the given value.
|
ExecutionQuery |
variableValueEquals(String name,
Object value)
Only select executions which have a local variable with the given value.
|
ExecutionQuery |
variableValueEqualsIgnoreCase(String name,
String value)
Only select executions which have a local string variable with the given value, case insensitive.
|
ExecutionQuery |
variableValueGreaterThan(String name,
Object value)
Only select executions which have a local variable value greater than the passed value.
|
ExecutionQuery |
variableValueGreaterThanOrEqual(String name,
Object value)
Only select executions which have a local variable value greater than or equal to the passed value.
|
ExecutionQuery |
variableValueLessThan(String name,
Object value)
Only select executions which have a local variable value less than the passed value.
|
ExecutionQuery |
variableValueLessThanOrEqual(String name,
Object value)
Only select executions which have a local variable value less than or equal to the passed value.
|
ExecutionQuery |
variableValueLike(String name,
String value)
Only select executions which have a local variable value like the given value.
|
ExecutionQuery |
variableValueLikeIgnoreCase(String name,
String value)
Only select executions which have a local variable value like the given value (case insensitive).
|
ExecutionQuery |
variableValueNotEquals(String name,
Object value)
Only select executions which have a local variable with the given name, but with a different value than the passed value.
|
ExecutionQuery |
variableValueNotEqualsIgnoreCase(String name,
String value)
Only select executions which have a local string variable which is not the given value, case insensitive.
|
ExecutionQuery |
withLocalizationFallback()
Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.
|
ExecutionQuery processDefinitionKey(String processDefinitionKey)
ExecutionQuery processDefinitionKeys(Set<String> processDefinitionKeys)
ExecutionQuery processDefinitionId(String processDefinitionId)
ExecutionQuery processDefinitionCategory(String processDefinitionCategory)
ExecutionQuery processDefinitionName(String processDefinitionName)
ExecutionQuery processDefinitionVersion(Integer processDefinitionVersion)
processDefinitionKey(String)
ExecutionQuery processInstanceId(String processInstanceId)
ExecutionQuery rootProcessInstanceId(String rootProcessInstanceId)
ExecutionQuery processInstanceBusinessKey(String processInstanceBusinessKey)
processInstanceBusinessKey(String, boolean)
method with a boolean value of true instead.ExecutionQuery processInstanceBusinessKey(String processInstanceBusinessKey, boolean includeChildExecutions)
processInstanceBusinessKey(String)
, but allows to choose whether child executions are returned or not.ExecutionQuery executionId(String executionId)
ExecutionQuery activityId(String activityId)
ExecutionQuery parentId(String parentId)
ExecutionQuery onlyChildExecutions()
ExecutionQuery onlySubProcessExecutions()
ExecutionQuery onlyProcessInstanceExecutions()
ExecutionQuery executionTenantId(String tenantId)
ExecutionQuery executionTenantIdLike(String tenantIdLike)
ExecutionQuery executionWithoutTenantId()
ExecutionQuery variableValueEquals(String name, Object value)
ProcessEngineConfiguration#getVariableTypes()
. Byte-arrays and Serializable
objects (which are not primitive type wrappers) are not supported.name
- name of the variable, cannot be null.ExecutionQuery variableValueEqualsIgnoreCase(String name, String value)
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).
name
- name of the variable, cannot be null.value
- value of the variable, cannot be null.ExecutionQuery variableValueEquals(Object value)
ProcessEngineConfiguration#getVariableTypes()
. Byte-arrays and Serializable
objects (which are not primitive type wrappers) are not supported.ExecutionQuery variableValueNotEquals(String name, Object value)
Serializable
objects (which are not primitive
type wrappers) are not supported.name
- name of the variable, cannot be null.ExecutionQuery variableValueNotEqualsIgnoreCase(String name, String value)
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).
name
- name of the variable, cannot be null.value
- value of the variable, cannot be null.ExecutionQuery variableValueGreaterThan(String name, Object value)
Serializable
objects (which are not primitive type wrappers) are not
supported.name
- variable name, cannot be null.value
- variable value, cannot be null.ExecutionQuery variableValueGreaterThanOrEqual(String name, Object value)
Serializable
objects (which are not primitive type wrappers)
are not supported.name
- variable name, cannot be null.value
- variable value, cannot be null.ExecutionQuery variableValueLessThan(String name, Object value)
Serializable
objects (which are not primitive type wrappers) are not
supported.name
- variable name, cannot be null.value
- variable value, cannot be null.ExecutionQuery variableValueLessThanOrEqual(String name, Object value)
Serializable
objects (which are not primitive type wrappers) are
not supported.name
- variable name, cannot be null.value
- variable value, cannot be null.ExecutionQuery variableValueLike(String name, String value)
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%).ExecutionQuery variableValueLikeIgnoreCase(String name, String value)
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%).ExecutionQuery processVariableValueEquals(String variableName, Object variableValue)
Serializable
objects (which are not primitive type
wrappers) are not supported.ExecutionQuery processVariableValueEquals(Object variableValue)
Serializable
objects (which are not primitive type wrappers) are
not supported.ExecutionQuery processVariableValueNotEquals(String variableName, Object variableValue)
Serializable
objects (which
are not primitive type wrappers) are not supported.ExecutionQuery processVariableValueEqualsIgnoreCase(String name, String value)
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).
name
- name of the variable, cannot be null.value
- value of the variable, cannot be null.ExecutionQuery processVariableValueNotEqualsIgnoreCase(String name, String value)
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).
name
- name of the variable, cannot be null.value
- value of the variable, cannot be null.ExecutionQuery processVariableValueLike(String name, String value)
Serializable
objects (which are not primitive type wrappers) are not supported.ExecutionQuery processVariableValueLikeIgnoreCase(String name, String value)
Serializable
objects (which are not primitive type wrappers) are not supported.ExecutionQuery signalEventSubscriptionName(String signalName)
signalName
- the name of the signal the execution has subscribed toExecutionQuery messageEventSubscriptionName(String messageName)
messageName
- the name of the message the execution has subscribed toExecutionQuery locale(String locale)
ExecutionQuery withLocalizationFallback()
ExecutionQuery startedBefore(Date beforeTime)
beforeTime
- executions started before this time will be returned (cannot be null)ExecutionQuery startedAfter(Date afterTime)
afterTime
- executions started after this time will be returned (cannot be null)ExecutionQuery startedBy(String userId)
userId
- the user id of the authenticated user that started the execution (cannot be null)ExecutionQuery orderByProcessInstanceId()
Query.asc()
or Query.desc()
).ExecutionQuery orderByProcessDefinitionKey()
Query.asc()
or Query.desc()
).ExecutionQuery orderByProcessDefinitionId()
Query.asc()
or Query.desc()
).ExecutionQuery orderByTenantId()
Query.asc()
or Query.desc()
).Copyright © 2017 Alfresco. All rights reserved.