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 |
disableBinaryFetching()
Disable fetching of byte array values.
|
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 |
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 |
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 |
variableNameLike(String variableNameLike)
Only select variable instances which have the name like the assigned variable name.
|
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 variableNameLike(String variableNameLike)
VariableInstanceQuery executionIdIn(String... executionIds)
VariableInstanceQuery processInstanceIdIn(String... processInstanceIds)
VariableInstanceQuery taskIdIn(String... taskIds)
VariableInstanceQuery activityInstanceIdIn(String... activityInstanceIds)
VariableInstanceQuery 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.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 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 orderByVariableName()
Query.asc()
or Query.desc()
).VariableInstanceQuery orderByVariableType()
Query.asc()
or Query.desc()
).VariableInstanceQuery orderByActivityInstanceId()
Query.asc()
or Query.desc()
).Copyright © 2015. All rights reserved.