Class HistoricVariableInstanceQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<HistoricVariableInstanceQuery,HistoricVariableInstance>
org.flowable.variable.service.impl.HistoricVariableInstanceQueryImpl
- All Implemented Interfaces:
Serializable
,Query<HistoricVariableInstanceQuery,
,HistoricVariableInstance> Command<Object>
,HistoricVariableInstanceQuery
public class HistoricVariableInstanceQueryImpl
extends AbstractQuery<HistoricVariableInstanceQuery,HistoricVariableInstance>
implements HistoricVariableInstanceQuery
- 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.ResultType
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected boolean
protected boolean
protected boolean
protected String
protected String
protected String
protected QueryVariableValue
protected String
protected String
protected String
protected String
protected String
protected String
protected VariableServiceConfiguration
Fields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutor
Fields 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
ConstructorsConstructorDescriptionHistoricVariableInstanceQueryImpl
(CommandContext commandContext, VariableServiceConfiguration variableServiceConfiguration) HistoricVariableInstanceQueryImpl
(CommandExecutor commandExecutor, VariableServiceConfiguration variableServiceConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionactivityInstanceId
(String activityInstanceId) protected void
Only 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.long
executeCount
(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.boolean
getId()
Only select a historic variable with the given id.boolean
boolean
boolean
processInstanceId
(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, singleResult
Methods 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
-
HistoricVariableInstanceQueryImpl
public HistoricVariableInstanceQueryImpl() -
HistoricVariableInstanceQueryImpl
public HistoricVariableInstanceQueryImpl(CommandContext commandContext, VariableServiceConfiguration variableServiceConfiguration) -
HistoricVariableInstanceQueryImpl
public HistoricVariableInstanceQueryImpl(CommandExecutor commandExecutor, VariableServiceConfiguration variableServiceConfiguration)
-
-
Method Details
-
id
Description copied from interface:HistoricVariableInstanceQuery
Only select a historic variable with the given id.- Specified by:
id
in interfaceHistoricVariableInstanceQuery
-
processInstanceId
Description copied from interface:HistoricVariableInstanceQuery
Only select historic process variables with the given process instance.- Specified by:
processInstanceId
in interfaceHistoricVariableInstanceQuery
-
executionId
Description copied from interface:HistoricVariableInstanceQuery
Only select historic process variables with the given id.- Specified by:
executionId
in interfaceHistoricVariableInstanceQuery
-
executionIds
Description copied from interface:HistoricVariableInstanceQuery
Only select historic process variables whose id is in the given set of ids.- Specified by:
executionIds
in interfaceHistoricVariableInstanceQuery
-
activityInstanceId
-
taskId
Description copied from interface:HistoricVariableInstanceQuery
Only select historic process variables with the given task.- Specified by:
taskId
in interfaceHistoricVariableInstanceQuery
-
taskIds
Description copied from interface:HistoricVariableInstanceQuery
Only select historic process variables whose id is in the given set of ids.- Specified by:
taskIds
in interfaceHistoricVariableInstanceQuery
-
excludeTaskVariables
Description copied from interface:HistoricVariableInstanceQuery
Only select historic process variables which were not set task-local.- Specified by:
excludeTaskVariables
in interfaceHistoricVariableInstanceQuery
-
excludeVariableInitialization
Description copied from interface:HistoricVariableInstanceQuery
Don't initialize variable values. This is foremost a way to deal with variable delete queries- Specified by:
excludeVariableInitialization
in interfaceHistoricVariableInstanceQuery
-
variableName
Description copied from interface:HistoricVariableInstanceQuery
Only select historic process variables with the given variable name.- Specified by:
variableName
in interfaceHistoricVariableInstanceQuery
-
variableValueEquals
Description copied from interface:HistoricVariableInstanceQuery
only select historic process variables with the given name and value- Specified by:
variableValueEquals
in interfaceHistoricVariableInstanceQuery
-
variableValueNotEquals
public HistoricVariableInstanceQuery variableValueNotEquals(String variableName, Object variableValue) Description copied from interface:HistoricVariableInstanceQuery
only select historic process variables that don't have the given name and value- Specified by:
variableValueNotEquals
in interfaceHistoricVariableInstanceQuery
-
variableValueLike
Description copied from interface:HistoricVariableInstanceQuery
only select historic process variables like the given name and value- Specified by:
variableValueLike
in interfaceHistoricVariableInstanceQuery
-
variableValueLikeIgnoreCase
public HistoricVariableInstanceQuery variableValueLikeIgnoreCase(String variableName, String variableValue) Description copied from interface:HistoricVariableInstanceQuery
only select historic process variables like the given name and value (case insensitive)- Specified by:
variableValueLikeIgnoreCase
in interfaceHistoricVariableInstanceQuery
-
variableNameLike
Description copied from interface:HistoricVariableInstanceQuery
Only select historic process variables where the given variable name is like.- Specified by:
variableNameLike
in interfaceHistoricVariableInstanceQuery
-
scopeId
Description copied from interface:HistoricVariableInstanceQuery
Only select historic variables with the given scope id.- Specified by:
scopeId
in interfaceHistoricVariableInstanceQuery
-
subScopeId
Description copied from interface:HistoricVariableInstanceQuery
Only select historic variables with the given sub scope id.- Specified by:
subScopeId
in interfaceHistoricVariableInstanceQuery
-
scopeType
Description copied from interface:HistoricVariableInstanceQuery
Only select historic variables with the give scope type.- Specified by:
scopeType
in interfaceHistoricVariableInstanceQuery
-
excludeLocalVariables
Description copied from interface:HistoricVariableInstanceQuery
Only select historic process variables which were not set local.- Specified by:
excludeLocalVariables
in interfaceHistoricVariableInstanceQuery
-
ensureVariablesInitialized
protected void ensureVariablesInitialized() -
executeCount
- Specified by:
executeCount
in classAbstractQuery<HistoricVariableInstanceQuery,
HistoricVariableInstance>
-
executeList
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractQuery<HistoricVariableInstanceQuery,
HistoricVariableInstance>
-
orderByProcessInstanceId
- Specified by:
orderByProcessInstanceId
in interfaceHistoricVariableInstanceQuery
-
orderByVariableName
- Specified by:
orderByVariableName
in interfaceHistoricVariableInstanceQuery
-
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()
-