Class CmmnHistoricVariableInstanceQueryImpl
java.lang.Object
org.flowable.cmmn.engine.impl.history.CmmnHistoricVariableInstanceQueryImpl
- All Implemented Interfaces:
HistoricVariableInstanceQuery,Query<HistoricVariableInstanceQuery,HistoricVariableInstance>
public class CmmnHistoricVariableInstanceQueryImpl
extends Object
implements HistoricVariableInstanceQuery
Wrapper class around the
HistoricVariableInstanceQueryImpl 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
ConstructorsConstructorDescriptionCmmnHistoricVariableInstanceQueryImpl(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
-
wrappedHistoricVariableInstanceQuery
-
-
Constructor Details
-
CmmnHistoricVariableInstanceQueryImpl
public CmmnHistoricVariableInstanceQueryImpl(CommandExecutor commandExecutor, CmmnEngineConfiguration cmmnEngineConfiguration)
-
-
Method Details
-
id
Description copied from interface:HistoricVariableInstanceQueryOnly select a historic variable with the given id.- Specified by:
idin interfaceHistoricVariableInstanceQuery
-
caseInstanceId
Description copied from interface:HistoricVariableInstanceQueryOnly select historic variables with the given case instance.- Specified by:
caseInstanceIdin interfaceHistoricVariableInstanceQuery
-
planItemInstanceId
Description copied from interface:HistoricVariableInstanceQueryOnly select historic variables with the given plan item instance id.- Specified by:
planItemInstanceIdin interfaceHistoricVariableInstanceQuery
-
taskId
Description copied from interface:HistoricVariableInstanceQueryOnly select historic variables with the given task.- Specified by:
taskIdin interfaceHistoricVariableInstanceQuery
-
taskIds
Description copied from interface:HistoricVariableInstanceQueryOnly select historic variables whose id is in the given set of ids.- Specified by:
taskIdsin interfaceHistoricVariableInstanceQuery
-
variableName
Description copied from interface:HistoricVariableInstanceQueryOnly select historic variables with the given variable name.- Specified by:
variableNamein interfaceHistoricVariableInstanceQuery
-
variableNameLike
Description copied from interface:HistoricVariableInstanceQueryOnly select historic variables where the given variable name is like.- Specified by:
variableNameLikein interfaceHistoricVariableInstanceQuery
-
excludeTaskVariables
Description copied from interface:HistoricVariableInstanceQueryOnly select historic variables which were not set task-local.- Specified by:
excludeTaskVariablesin interfaceHistoricVariableInstanceQuery
-
excludeLocalVariables
Description copied from interface:HistoricVariableInstanceQueryOnly select historic process variables which were not set local.- Specified by:
excludeLocalVariablesin interfaceHistoricVariableInstanceQuery
-
excludeVariableInitialization
Description copied from interface:HistoricVariableInstanceQueryDon't initialize variable values. This is foremost a way to deal with variable delete queries- Specified by:
excludeVariableInitializationin interfaceHistoricVariableInstanceQuery
-
variableValueEquals
Description copied from interface:HistoricVariableInstanceQueryonly select historic variables with the given name and value- Specified by:
variableValueEqualsin interfaceHistoricVariableInstanceQuery
-
variableValueNotEquals
public HistoricVariableInstanceQuery variableValueNotEquals(String variableName, Object variableValue) Description copied from interface:HistoricVariableInstanceQueryonly select historic variables that don't have the given name and value- Specified by:
variableValueNotEqualsin interfaceHistoricVariableInstanceQuery
-
variableValueLike
Description copied from interface:HistoricVariableInstanceQueryonly select historic variables like the given name and value- Specified by:
variableValueLikein interfaceHistoricVariableInstanceQuery
-
variableValueLikeIgnoreCase
public HistoricVariableInstanceQuery variableValueLikeIgnoreCase(String variableName, String variableValue) Description copied from interface:HistoricVariableInstanceQueryonly select historic variables like the given name and value (case insensitive)- Specified by:
variableValueLikeIgnoreCasein interfaceHistoricVariableInstanceQuery
-
orderByVariableName
Description copied from interface:HistoricVariableInstanceQueryorder historic variables by the name. Use asc() or desc() afterwards.- Specified by:
orderByVariableNamein interfaceHistoricVariableInstanceQuery
-
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<HistoricVariableInstanceQuery,HistoricVariableInstance>
-
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<HistoricVariableInstanceQuery,HistoricVariableInstance>
-
orderBy
- Specified by:
orderByin interfaceQuery<HistoricVariableInstanceQuery,HistoricVariableInstance>
-
orderBy
public HistoricVariableInstanceQuery orderBy(QueryProperty property, Query.NullHandlingOnOrder nullHandlingOnOrder) - Specified by:
orderByin interfaceQuery<HistoricVariableInstanceQuery,HistoricVariableInstance>
-
count
public long count()Description copied from interface:QueryExecutes the query and returns the number of results- Specified by:
countin interfaceQuery<HistoricVariableInstanceQuery,HistoricVariableInstance>
-
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<HistoricVariableInstanceQuery,HistoricVariableInstance>
-
list
Description copied from interface:QueryExecutes the query and get a list of entities as the result.- Specified by:
listin interfaceQuery<HistoricVariableInstanceQuery,HistoricVariableInstance>
-
listPage
Description copied from interface:QueryExecutes the query and get a list of entities as the result.- Specified by:
listPagein interfaceQuery<HistoricVariableInstanceQuery,HistoricVariableInstance>
-