public interface CaseExecutionQuery extends Query<CaseExecutionQuery,CaseExecution>
Modifier and Type | Method and Description |
---|---|
CaseExecutionQuery |
active()
Only select case executions which are active.
|
CaseExecutionQuery |
activityId(String activityId)
Only select case executions which contain an activity with the given id.
|
CaseExecutionQuery |
available()
Only select case executions which are available.
|
CaseExecutionQuery |
caseDefinitionId(String caseDefinitionId)
Only select case executions which have the given case definition id.
|
CaseExecutionQuery |
caseDefinitionKey(String caseDefinitionKey)
Only select case executions which have the given case definition key.
|
CaseExecutionQuery |
caseExecutionId(String executionId)
Only select case executions with the given id.
|
CaseExecutionQuery |
caseInstanceBusinessKey(String caseInstanceBusinessKey)
Only select case executions that belong to a case instance with the given business key
|
CaseExecutionQuery |
caseInstanceId(String caseInstanceId)
Only select case executions which have the given case instance id.
|
CaseExecutionQuery |
caseInstanceVariableValueEquals(String name,
Object value)
Only select case executions which are part of a case instance that have a variable
with the given name set to the given value.
|
CaseExecutionQuery |
caseInstanceVariableValueGreaterThan(String name,
Object value)
Only select case executions which are part of a case instance that have a variable
with the given name and a variable value greater than the passed value.
|
CaseExecutionQuery |
caseInstanceVariableValueGreaterThanOrEqual(String name,
Object value)
Only select case executions which are part of a case instance that have a
variable value greater than or equal to the passed value.
|
CaseExecutionQuery |
caseInstanceVariableValueLessThan(String name,
Object value)
Only select case executions which are part of a case instance that have a variable
value less than the passed value.
|
CaseExecutionQuery |
caseInstanceVariableValueLessThanOrEqual(String name,
Object value)
Only select case executions which are part of a case instance that have a variable
value less than or equal to the passed value.
|
CaseExecutionQuery |
caseInstanceVariableValueLike(String name,
String value)
Only select case executions which are part of a case instance that have a variable value
like the given value.
|
CaseExecutionQuery |
caseInstanceVariableValueNotEquals(String name,
Object value)
Only select case executions which are part of a case instance that have a variable
with the given name, but with a different value than the passed value.
|
CaseExecutionQuery |
disabled()
Only select case executions which are disabled.
|
CaseExecutionQuery |
enabled()
Only select case executions which are enabled.
|
CaseExecutionQuery |
matchVariableNamesIgnoreCase()
The query will match the names of variables in a case-insensitive way.
|
CaseExecutionQuery |
matchVariableValuesIgnoreCase()
The query will match the values of variables in a case-insensitive way.
|
CaseExecutionQuery |
orderByCaseDefinitionId()
Order by case definition id (needs to be followed by
Query.asc() or Query.desc() ). |
CaseExecutionQuery |
orderByCaseDefinitionKey()
Order by case definition key (needs to be followed by
Query.asc() or Query.desc() ). |
CaseExecutionQuery |
orderByCaseExecutionId()
Order by id (needs to be followed by
Query.asc() or Query.desc() ). |
CaseExecutionQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc() ). |
CaseExecutionQuery |
required()
Only select case executions which are required.
|
CaseExecutionQuery |
tenantIdIn(String... tenantIds)
Only select case execution with one of the given tenant ids.
|
CaseExecutionQuery |
variableValueEquals(String name,
Object value)
Only select case executions which have a local variable with the given value.
|
CaseExecutionQuery |
variableValueGreaterThan(String name,
Object value)
Only select case executions which have a variable value greater than the passed value.
|
CaseExecutionQuery |
variableValueGreaterThanOrEqual(String name,
Object value)
Only select case executions which have a local variable value greater than or equal to
the passed value.
|
CaseExecutionQuery |
variableValueLessThan(String name,
Object value)
Only select case executions which have a local variable value less than the passed value.
|
CaseExecutionQuery |
variableValueLessThanOrEqual(String name,
Object value)
Only select case executions which have a local variable value less than or equal to the passed value.
|
CaseExecutionQuery |
variableValueLike(String name,
String value)
Only select case executions which have a local variable value like the given value.
|
CaseExecutionQuery |
variableValueNotEquals(String name,
Object value)
Only select case executions which have a local variable with the given name, but
with a different value than the passed value.
|
CaseExecutionQuery |
withoutTenantId()
Only select case executions which have no tenant id.
|
asc, count, desc, list, listPage, singleResult, unlimitedList
CaseExecutionQuery caseInstanceId(String caseInstanceId)
caseInstanceId
- the id of the case instanceNotValidException
- when the given case instance id is nullCaseExecutionQuery caseDefinitionId(String caseDefinitionId)
caseDefinitionId
- the id of the case definitionNotValidException
- when the given case definition id is nullCaseExecutionQuery caseDefinitionKey(String caseDefinitionKey)
caseDefinitionKey
- the key of the case definitionNotValidException
- when the given case definition key is nullCaseExecutionQuery caseInstanceBusinessKey(String caseInstanceBusinessKey)
caseInstanceBusinessKey
- the business key of the case instanceNotValidException
- when the given case instance business key is nullCaseExecutionQuery caseExecutionId(String executionId)
executionId
- the id of the case executionNotValidException
- when the given case execution id is nullCaseExecutionQuery activityId(String activityId)
activityId
- the id of the activityNotValidException
- when the given activity id is nullCaseExecutionQuery required()
CaseExecutionQuery available()
CaseExecutionQuery enabled()
CaseExecutionQuery active()
CaseExecutionQuery disabled()
CaseExecutionQuery matchVariableNamesIgnoreCase()
CaseExecutionQuery matchVariableValuesIgnoreCase()
CaseExecutionQuery variableValueEquals(String name, Object value)
ProcessEngineConfigurationImpl.getVariableSerializers()
.
Byte-arrays and Serializable
objects (which are not primitive type wrappers)
are not supported.name
- the name of the variable, cannot be nullvalue
- the value of the variableNotValidException
- when the given name is nullCaseExecutionQuery variableValueNotEquals(String name, Object value)
Serializable
objects (which are not primitive type wrappers)
are not supported.name
- the name of the variable, cannot be nullvalue
- the value of the variableNotValidException
- when the given name is nullCaseExecutionQuery variableValueGreaterThan(String name, Object value)
Serializable
objects (which are not primitive type wrappers)
are not supported.name
- the name of the variable, cannot be nullvalue
- the value of the variable, cannot be nullNotValidException
- when the given name is null or a null-value or a boolean-value is usedCaseExecutionQuery variableValueGreaterThanOrEqual(String name, Object value)
Serializable
objects (which
are not primitive type wrappers) are not supported.name
- the name of the variable, cannot be nullvalue
- the value of the variable, cannot be nullNotValidException
- when the given name is null or a null-value or a boolean-value is usedCaseExecutionQuery variableValueLessThan(String name, Object value)
Serializable
objects (which are not primitive type wrappers)
are not supported.name
- the name of the variable, cannot be nullvalue
- the value of the variable, cannot be nullNotValidException
- when the given name is null or a null-value or a boolean-value is usedCaseExecutionQuery variableValueLessThanOrEqual(String name, Object value)
Serializable
objects (which are not primitive type wrappers)
are not supported.name
- the name of the variable, cannot be nullvalue
- the value of the variable, cannot be nullNotValidException
- when the given name is null or a null-value or a boolean-value is usedCaseExecutionQuery variableValueLike(String name, String value)
name
- the name of the variable, cannot be nullvalue
- the value of the variable, cannot be null. The string can include the
wildcard character '%' to express like-strategy:
starts with (string%), ends with (%string) or contains (%string%).NotValidException
- when the given name is null or a null-value or a boolean-value is usedCaseExecutionQuery caseInstanceVariableValueEquals(String name, Object value)
ProcessEngineConfiguration#getVariableSerializers()
.
Byte-arrays and Serializable
objects (which are not primitive type wrappers)
are not supported.name
- the name of the variable, cannot be nullvalue
- the value of the variableNotValidException
- when the given name is nullCaseExecutionQuery caseInstanceVariableValueNotEquals(String name, Object value)
Serializable
objects (which are not primitive type wrappers)
are not supported.name
- the name of the variable, cannot be nullvalue
- the value of the variableNotValidException
- when the given name is nullCaseExecutionQuery caseInstanceVariableValueGreaterThan(String name, Object value)
Serializable
objects (which are not primitive type wrappers)
are not supported.name
- the name of the variable, cannot be nullvalue
- the value of the variable, cannot be nullNotValidException
- when the given name is null or a null-value or a boolean-value is usedCaseExecutionQuery caseInstanceVariableValueGreaterThanOrEqual(String name, Object value)
Serializable
objects (which
are not primitive type wrappers) are not supported.name
- the name of the variable, cannot be nullvalue
- the value of the variable, cannot be nullNotValidException
- when the given name is null or a null-value or a boolean-value is usedCaseExecutionQuery caseInstanceVariableValueLessThan(String name, Object value)
Serializable
objects (which are not primitive type wrappers)
are not supported.name
- the name of the variable, cannot be nullvalue
- the value of the variable, cannot be nullNotValidException
- when the given name is null or a null-value or a boolean-value is usedCaseExecutionQuery caseInstanceVariableValueLessThanOrEqual(String name, Object value)
Serializable
objects (which are not primitive type wrappers)
are not supported.name
- the name of the variable, cannot be nullvalue
- the value of the variable, cannot be nullNotValidException
- when the given name is null or a null-value or a boolean-value is usedCaseExecutionQuery caseInstanceVariableValueLike(String name, String value)
name
- the name of the variable, cannot be nullvalue
- the value of the variable, cannot be null. The string can include the
wildcard character '%' to express like-strategy:
starts with (string%), ends with (%string) or contains (%string%).NotValidException
- when the given name is null or a null-value or a boolean-value is usedCaseExecutionQuery tenantIdIn(String... tenantIds)
CaseExecutionQuery withoutTenantId()
CaseExecutionQuery orderByCaseExecutionId()
Query.asc()
or Query.desc()
).CaseExecutionQuery orderByCaseDefinitionKey()
Query.asc()
or Query.desc()
).CaseExecutionQuery orderByCaseDefinitionId()
Query.asc()
or Query.desc()
).CaseExecutionQuery orderByTenantId()
Query.asc()
or Query.desc()
).
Note that the ordering of case executions without tenant id is database-specific.Copyright © 2019. All rights reserved.