Class CmmnVariableInstanceQueryImpl
java.lang.Object
org.flowable.cmmn.engine.impl.runtime.CmmnVariableInstanceQueryImpl
- All Implemented Interfaces:
VariableInstanceQuery,Query<VariableInstanceQuery,VariableInstance>
Wrapper class around the
VariableInstanceQueryImpl from the variable service, specialized for usage in CMMN.- Author:
- Joram Barrez
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCmmnVariableInstanceQueryImpl(CommandExecutor commandExecutor, CmmnEngineConfiguration cmmnEngineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionasc()Order the results ascending on the given property as defined in this class (needs to come after a call to one of the orderByXxxx methods).caseInstanceId(String caseInstanceId) Only select historic variables with the given case instance.longcount()Executes the query and returns the number of resultsdesc()Order the results descending on the given property as defined in this class (needs to come after a call to one of the orderByXxxx methods).Only select historic process variables which were not set local.Only select historic variables which were not set task-local.Don't initialize variable values.Only select a historic variable with the given id.list()Executes the query and get a list of entities as the result.listPage(int firstResult, int maxResults) Executes the query and get a list of entities as the result.orderBy(QueryProperty property) orderBy(QueryProperty property, Query.NullHandlingOnOrder nullHandlingOnOrder) order historic variables by the name.planItemInstanceId(String planItemInstanceId) Only select historic variables with the given plan item instance id.Executes the query and returns the resulting entity or null if no entity matches the query criteria.Only select historic variables with the given task.Only select historic variables whose id is in the given set of ids.variableName(String variableName) Only select historic variables with the given variable name.variableNameLike(String variableNameLike) Only select historic variables where the given variable name is like.variableValueEquals(String variableName, Object variableValue) only select historic variables with the given name and valuevariableValueLike(String variableName, String variableValue) only select historic variables like the given name and valuevariableValueLikeIgnoreCase(String variableName, String variableValue) only select historic variables like the given name and value (case insensitive)variableValueNotEquals(String variableName, Object variableValue) only select historic variables that don't have the given name and value
-
Field Details
-
wrappedVariableInstanceQuery
-
-
Constructor Details
-
CmmnVariableInstanceQueryImpl
public CmmnVariableInstanceQueryImpl(CommandExecutor commandExecutor, CmmnEngineConfiguration cmmnEngineConfiguration)
-
-
Method Details
-
id
Description copied from interface:VariableInstanceQueryOnly select a historic variable with the given id.- Specified by:
idin interfaceVariableInstanceQuery
-
caseInstanceId
Description copied from interface:VariableInstanceQueryOnly select historic variables with the given case instance.- Specified by:
caseInstanceIdin interfaceVariableInstanceQuery
-
planItemInstanceId
Description copied from interface:VariableInstanceQueryOnly select historic variables with the given plan item instance id.- Specified by:
planItemInstanceIdin interfaceVariableInstanceQuery
-
taskId
Description copied from interface:VariableInstanceQueryOnly select historic variables with the given task.- Specified by:
taskIdin interfaceVariableInstanceQuery
-
taskIds
Description copied from interface:VariableInstanceQueryOnly select historic variables whose id is in the given set of ids.- Specified by:
taskIdsin interfaceVariableInstanceQuery
-
variableName
Description copied from interface:VariableInstanceQueryOnly select historic variables with the given variable name.- Specified by:
variableNamein interfaceVariableInstanceQuery
-
variableNameLike
Description copied from interface:VariableInstanceQueryOnly select historic variables where the given variable name is like.- Specified by:
variableNameLikein interfaceVariableInstanceQuery
-
excludeTaskVariables
Description copied from interface:VariableInstanceQueryOnly select historic variables which were not set task-local.- Specified by:
excludeTaskVariablesin interfaceVariableInstanceQuery
-
excludeLocalVariables
Description copied from interface:VariableInstanceQueryOnly select historic process variables which were not set local.- Specified by:
excludeLocalVariablesin interfaceVariableInstanceQuery
-
excludeVariableInitialization
Description copied from interface:VariableInstanceQueryDon't initialize variable values. This is foremost a way to deal with variable delete queries- Specified by:
excludeVariableInitializationin interfaceVariableInstanceQuery
-
variableValueEquals
Description copied from interface:VariableInstanceQueryonly select historic variables with the given name and value- Specified by:
variableValueEqualsin interfaceVariableInstanceQuery
-
variableValueNotEquals
Description copied from interface:VariableInstanceQueryonly select historic variables that don't have the given name and value- Specified by:
variableValueNotEqualsin interfaceVariableInstanceQuery
-
variableValueLike
Description copied from interface:VariableInstanceQueryonly select historic variables like the given name and value- Specified by:
variableValueLikein interfaceVariableInstanceQuery
-
variableValueLikeIgnoreCase
Description copied from interface:VariableInstanceQueryonly select historic variables like the given name and value (case insensitive)- Specified by:
variableValueLikeIgnoreCasein interfaceVariableInstanceQuery
-
orderByVariableName
Description copied from interface:VariableInstanceQueryorder historic variables by the name. Use asc() or desc() afterwards.- Specified by:
orderByVariableNamein interfaceVariableInstanceQuery
-
asc
Description copied from interface:QueryOrder the results ascending on the given property as defined in this class (needs to come after a call to one of the orderByXxxx methods).- Specified by:
ascin interfaceQuery<VariableInstanceQuery,VariableInstance>
-
desc
Description copied from interface:QueryOrder the results descending on the given property as defined in this class (needs to come after a call to one of the orderByXxxx methods).- Specified by:
descin interfaceQuery<VariableInstanceQuery,VariableInstance>
-
orderBy
- Specified by:
orderByin interfaceQuery<VariableInstanceQuery,VariableInstance>
-
orderBy
public VariableInstanceQuery orderBy(QueryProperty property, Query.NullHandlingOnOrder nullHandlingOnOrder) - Specified by:
orderByin interfaceQuery<VariableInstanceQuery,VariableInstance>
-
count
public long count()Description copied from interface:QueryExecutes the query and returns the number of results- Specified by:
countin interfaceQuery<VariableInstanceQuery,VariableInstance>
-
singleResult
Description copied from interface:QueryExecutes the query and returns the resulting entity or null if no entity matches the query criteria.- Specified by:
singleResultin interfaceQuery<VariableInstanceQuery,VariableInstance>
-
list
Description copied from interface:QueryExecutes the query and get a list of entities as the result.- Specified by:
listin interfaceQuery<VariableInstanceQuery,VariableInstance>
-
listPage
Description copied from interface:QueryExecutes the query and get a list of entities as the result.- Specified by:
listPagein interfaceQuery<VariableInstanceQuery,VariableInstance>
-