public interface VariableInstanceQuery extends Query<VariableInstanceQuery,VariableInstance>
Modifier and Type | Method and Description |
---|---|
VariableInstanceQuery |
activityInstanceIdIn(String... activityInstanceIds)
Only select variable instances which have one of the activity instance ids.
|
VariableInstanceQuery |
caseExecutionIdIn(String... caseExecutionIds)
Only select variable instances which have one of the case execution ids.
|
VariableInstanceQuery |
caseInstanceIdIn(String... caseInstanceIds)
Only select variable instances which have one of the case instance ids.
|
VariableInstanceQuery |
disableBinaryFetching()
Disable fetching of byte array and file values.
|
VariableInstanceQuery |
disableCustomObjectDeserialization()
Disable deserialization of variable values that are custom objects.
|
VariableInstanceQuery |
executionIdIn(String... executionIds)
Only select variable instances which have one of the executions ids.
|
VariableInstanceQuery |
orderByActivityInstanceId()
Order by activity instance id (needs to be followed by
Query.asc() or Query.desc() ). |
VariableInstanceQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc() ). |
VariableInstanceQuery |
orderByVariableName()
Order by variable name (needs to be followed by
Query.asc() or Query.desc() ). |
VariableInstanceQuery |
orderByVariableType()
Order by variable type (needs to be followed by
Query.asc() or Query.desc() ). |
VariableInstanceQuery |
processInstanceIdIn(String... processInstanceIds)
Only select variable instances which have one of the process instance ids.
|
VariableInstanceQuery |
taskIdIn(String... taskIds)
Only select variable instances which have one of the task ids.
|
VariableInstanceQuery |
tenantIdIn(String... tenantIds)
Only select variable instances with one of the given tenant ids.
|
VariableInstanceQuery |
variableId(String id)
Only select the variable with the given Id
|
VariableInstanceQuery |
variableName(String variableName)
Only select variable instances which have the variable name.
|
VariableInstanceQuery |
variableNameIn(String... variableNames)
Only select variable instances which have one of the variables names.
|
VariableInstanceQuery |
variableNameLike(String variableNameLike)
Only select variable instances which have the name like the assigned variable name.
|
VariableInstanceQuery |
variableScopeIdIn(String... variableScopeIds)
Only select variables instances which have on of the variable scope ids.
|
VariableInstanceQuery |
variableValueEquals(String name,
Object value)
Only select variables instances which have the given name and value.
|
VariableInstanceQuery |
variableValueGreaterThan(String name,
Object value)
Only select variable instances which value is greater than the passed value.
|
VariableInstanceQuery |
variableValueGreaterThanOrEqual(String name,
Object value)
Only select variable instances which value is greater than or equal to
the passed value.
|
VariableInstanceQuery |
variableValueLessThan(String name,
Object value)
Only select variable instances which value is less than the passed value.
|
VariableInstanceQuery |
variableValueLessThanOrEqual(String name,
Object value)
Only select variable instances which value is less than or equal to the passed value.
|
VariableInstanceQuery |
variableValueLike(String name,
String value)
Only select variable instances which value is like the given value.
|
VariableInstanceQuery |
variableValueNotEquals(String name,
Object value)
Only select variable instances which have the given name, but
with a different value than the passed value.
|
VariableInstanceQuery variableId(String id)
the
- id of the variable to selectVariableInstanceQuery variableName(String variableName)
VariableInstanceQuery variableNameIn(String... variableNames)
VariableInstanceQuery variableNameLike(String variableNameLike)
VariableInstanceQuery executionIdIn(String... executionIds)
VariableInstanceQuery processInstanceIdIn(String... processInstanceIds)
VariableInstanceQuery caseExecutionIdIn(String... caseExecutionIds)
VariableInstanceQuery caseInstanceIdIn(String... caseInstanceIds)
VariableInstanceQuery taskIdIn(String... taskIds)
VariableInstanceQuery variableScopeIdIn(String... variableScopeIds)
VariableInstanceQuery activityInstanceIdIn(String... activityInstanceIds)
VariableInstanceQuery variableValueEquals(String name, Object value)
ProcessEngineConfiguration#getVariableSerializers()
.
Byte-arrays and Serializable
objects (which are not primitive type wrappers)
are not supported.name
- name of the variable, cannot be null.value
- variable value, can be null.VariableInstanceQuery variableValueNotEquals(String name, Object value)
Serializable
objects (which are not primitive type wrappers)
are not supported.name
- name of the variable, cannot be null.value
- variable value, can be null.VariableInstanceQuery 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.VariableInstanceQuery 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.VariableInstanceQuery 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.VariableInstanceQuery 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.VariableInstanceQuery disableBinaryFetching()
VariableInstanceQuery disableCustomObjectDeserialization()
VariableInstanceQuery 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%).VariableInstanceQuery tenantIdIn(String... tenantIds)
VariableInstanceQuery orderByVariableName()
Query.asc()
or Query.desc()
).VariableInstanceQuery orderByVariableType()
Query.asc()
or Query.desc()
).VariableInstanceQuery orderByActivityInstanceId()
Query.asc()
or Query.desc()
).VariableInstanceQuery orderByTenantId()
Query.asc()
or Query.desc()
).
Note that the ordering of variable instances without tenant id is database-specific.Copyright © 2018. All rights reserved.