Class VariableInstanceQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<VariableInstanceQuery,VariableInstance>
org.flowable.variable.service.impl.VariableInstanceQueryImpl
- All Implemented Interfaces:
Serializable,Query<VariableInstanceQuery,,VariableInstance> Command<Object>,VariableInstanceQuery
public class VariableInstanceQueryImpl
extends AbstractQuery<VariableInstanceQuery,VariableInstance>
implements VariableInstanceQuery
- Author:
- Joram Barrez, Tijs Rademakers
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected booleanprotected booleanprotected booleanprotected Stringprotected Stringprotected Stringprotected QueryVariableValueprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected VariableServiceConfigurationFields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutorFields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC -
Constructor Summary
ConstructorsConstructorDescriptionVariableInstanceQueryImpl(CommandContext commandContext, VariableServiceConfiguration variableServiceConfiguration) VariableInstanceQueryImpl(CommandExecutor commandExecutor, VariableServiceConfiguration variableServiceConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionactivityInstanceId(String activityInstanceId) protected voidOnly select historic process variables which were not set local.Only select historic process variables which were not set task-local.Don't initialize variable values.longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext) Executes the actual query to retrieve the list of results.executionId(String executionId) Only select historic process variables with the given id.executionIds(Set<String> executionIds) Only select historic process variables whose id is in the given set of ids.booleangetId()Only select a historic variable with the given id.booleanbooleanbooleanprocessInstanceId(String processInstanceId) Only select historic process variables with the given process instance.Only select historic variables with the given scope id.Only select historic variables with the give scope type.subScopeId(String subScopeId) Only select historic variables with the given sub scope id.Only select historic process variables with the given task.Only select historic process variables whose id is in the given set of ids.variableName(String variableName) Only select historic process variables with the given variable name.variableNameLike(String variableNameLike) Only select historic process variables where the given variable name is like.variableValueEquals(String variableName, Object variableValue) only select historic process variables with the given name and valuevariableValueLike(String variableName, String variableValue) only select historic process variables like the given name and valuevariableValueLikeIgnoreCase(String variableName, String variableValue) only select historic process variables like the given name and value (case insensitive)variableValueNotEquals(String variableName, Object variableValue) only select historic process variables that don't have the given name and valueMethods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultMethods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameter
-
Field Details
-
variableServiceConfiguration
-
id
-
taskId
-
taskIds
-
executionId
-
executionIds
-
processInstanceId
-
activityInstanceId
-
variableName
-
variableNameLike
-
excludeTaskRelated
protected boolean excludeTaskRelated -
excludeVariableInitialization
protected boolean excludeVariableInitialization -
scopeId
-
subScopeId
-
scopeType
-
queryVariableValue
-
excludeLocalVariables
protected boolean excludeLocalVariables
-
-
Constructor Details
-
VariableInstanceQueryImpl
public VariableInstanceQueryImpl() -
VariableInstanceQueryImpl
public VariableInstanceQueryImpl(CommandContext commandContext, VariableServiceConfiguration variableServiceConfiguration) -
VariableInstanceQueryImpl
public VariableInstanceQueryImpl(CommandExecutor commandExecutor, VariableServiceConfiguration variableServiceConfiguration)
-
-
Method Details
-
id
Description copied from interface:VariableInstanceQueryOnly select a historic variable with the given id.- Specified by:
idin interfaceVariableInstanceQuery
-
processInstanceId
Description copied from interface:VariableInstanceQueryOnly select historic process variables with the given process instance.- Specified by:
processInstanceIdin interfaceVariableInstanceQuery
-
executionId
Description copied from interface:VariableInstanceQueryOnly select historic process variables with the given id.- Specified by:
executionIdin interfaceVariableInstanceQuery
-
executionIds
Description copied from interface:VariableInstanceQueryOnly select historic process variables whose id is in the given set of ids.- Specified by:
executionIdsin interfaceVariableInstanceQuery
-
activityInstanceId
-
taskId
Description copied from interface:VariableInstanceQueryOnly select historic process variables with the given task.- Specified by:
taskIdin interfaceVariableInstanceQuery
-
taskIds
Description copied from interface:VariableInstanceQueryOnly select historic process variables whose id is in the given set of ids.- Specified by:
taskIdsin interfaceVariableInstanceQuery
-
excludeTaskVariables
Description copied from interface:VariableInstanceQueryOnly select historic process variables which were not set task-local.- Specified by:
excludeTaskVariablesin 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
-
variableName
Description copied from interface:VariableInstanceQueryOnly select historic process variables with the given variable name.- Specified by:
variableNamein interfaceVariableInstanceQuery
-
variableValueEquals
Description copied from interface:VariableInstanceQueryonly select historic process variables with the given name and value- Specified by:
variableValueEqualsin interfaceVariableInstanceQuery
-
variableValueNotEquals
Description copied from interface:VariableInstanceQueryonly select historic process variables that don't have the given name and value- Specified by:
variableValueNotEqualsin interfaceVariableInstanceQuery
-
variableValueLike
Description copied from interface:VariableInstanceQueryonly select historic process variables like the given name and value- Specified by:
variableValueLikein interfaceVariableInstanceQuery
-
variableValueLikeIgnoreCase
Description copied from interface:VariableInstanceQueryonly select historic process variables like the given name and value (case insensitive)- Specified by:
variableValueLikeIgnoreCasein interfaceVariableInstanceQuery
-
variableNameLike
Description copied from interface:VariableInstanceQueryOnly select historic process variables where the given variable name is like.- Specified by:
variableNameLikein interfaceVariableInstanceQuery
-
scopeId
Description copied from interface:VariableInstanceQueryOnly select historic variables with the given scope id.- Specified by:
scopeIdin interfaceVariableInstanceQuery
-
subScopeId
Description copied from interface:VariableInstanceQueryOnly select historic variables with the given sub scope id.- Specified by:
subScopeIdin interfaceVariableInstanceQuery
-
scopeType
Description copied from interface:VariableInstanceQueryOnly select historic variables with the give scope type.- Specified by:
scopeTypein interfaceVariableInstanceQuery
-
excludeLocalVariables
Description copied from interface:VariableInstanceQueryOnly select historic process variables which were not set local.- Specified by:
excludeLocalVariablesin interfaceVariableInstanceQuery
-
ensureVariablesInitialized
protected void ensureVariablesInitialized() -
executeCount
- Specified by:
executeCountin classAbstractQuery<VariableInstanceQuery,VariableInstance>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<VariableInstanceQuery,VariableInstance>
-
orderByProcessInstanceId
- Specified by:
orderByProcessInstanceIdin interfaceVariableInstanceQuery
-
orderByVariableName
- Specified by:
orderByVariableNamein interfaceVariableInstanceQuery
-
getProcessInstanceId
-
getTaskId
-
getActivityInstanceId
-
getExcludeTaskRelated
public boolean getExcludeTaskRelated() -
getVariableName
-
getVariableNameLike
-
getScopeId
-
getSubScopeId
-
getScopeType
-
getId
-
getTaskIds
-
getExecutionId
-
getExecutionIds
-
isExcludeTaskRelated
public boolean isExcludeTaskRelated() -
isExcludeVariableInitialization
public boolean isExcludeVariableInitialization() -
getQueryVariableValue
-
isExcludeLocalVariables
public boolean isExcludeLocalVariables()
-