Class AbstractVariableQueryImpl<T extends Query<?,?>,U>
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<T,U>
org.flowable.variable.service.impl.AbstractVariableQueryImpl<T,U>
- All Implemented Interfaces:
Serializable,Query<T,,U> Command<Object>
- Direct Known Subclasses:
CaseInstanceQueryImpl,ExecutionQueryImpl,HistoricCaseInstanceQueryImpl,HistoricProcessInstanceQueryImpl,HistoricTaskInstanceQueryImpl,PlanItemInstanceQueryImpl,ProcessInstanceQueryImpl,TaskQueryImpl
Abstract query class that adds methods to query for variable values.
- Author:
- Frederik Heremans
- 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 List<QueryVariableValue>protected VariableValueProviderFields 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, ignoreOrderBy, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC -
Constructor Summary
ConstructorsConstructorDescriptionAbstractVariableQueryImpl(CommandContext commandContext, VariableValueProvider variableValueProvider) AbstractVariableQueryImpl(CommandContext commandContext, VariableServiceConfiguration variableServiceConfiguration) AbstractVariableQueryImpl(CommandExecutor commandExecutor, VariableValueProvider variableValueProvider) AbstractVariableQueryImpl(CommandExecutor commandExecutor, VariableServiceConfiguration variableServiceConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddVariable(String name, Object value, QueryOperator operator, boolean localScope) protected voidaddVariable(String name, Object value, QueryOperator operator, String scopeType, boolean localScope) protected voidabstract longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext) Executes the actual query to retrieve the list of results.booleanbooleanbooleanprotected booleanprotected TscopedVariableExists(String name, String scopeType) protected TscopedVariableNotExists(String name, String scopeType) protected TscopedVariableValueEquals(Object value, String scopeType) protected TscopedVariableValueEquals(String name, Object value, String scopeType) protected TscopedVariableValueEqualsIgnoreCase(String name, String value, String scopeType) protected TscopedVariableValueGreaterThan(String name, Object value, String scopeType) protected TscopedVariableValueGreaterThanOrEqual(String name, Object value, String scopeType) protected TscopedVariableValueLessThan(String name, Object value, String scopeType) protected TscopedVariableValueLessThanOrEqual(String name, Object value, String scopeType) protected TscopedVariableValueLike(String name, String value, String scopeType) protected TscopedVariableValueLikeIgnoreCase(String name, String value, String scopeType) protected TscopedVariableValueNotEquals(String name, Object value, String scopeType) protected TscopedVariableValueNotEqualsIgnoreCase(String name, String value, String scopeType) variableExists(String name) protected TvariableExists(String name, boolean localScope) variableNotExists(String name) protected TvariableNotExists(String name, boolean localScope) variableValueEquals(Object value) protected TvariableValueEquals(Object value, boolean localScope) variableValueEquals(String name, Object value) protected TvariableValueEquals(String name, Object value, boolean localScope) variableValueEqualsIgnoreCase(String name, String value) protected TvariableValueEqualsIgnoreCase(String name, String value, boolean localScope) variableValueGreaterThan(String name, Object value) protected TvariableValueGreaterThan(String name, Object value, boolean localScope) variableValueGreaterThanOrEqual(String name, Object value) protected TvariableValueGreaterThanOrEqual(String name, Object value, boolean localScope) variableValueLessThan(String name, Object value) protected TvariableValueLessThan(String name, Object value, boolean localScope) variableValueLessThanOrEqual(String name, Object value) protected TvariableValueLessThanOrEqual(String name, Object value, boolean localScope) variableValueLike(String name, String value) protected TvariableValueLike(String name, String value, boolean localScope) variableValueLikeIgnoreCase(String name, String value) protected TvariableValueLikeIgnoreCase(String name, String value, boolean localScope) variableValueNotEquals(String name, Object value) protected TvariableValueNotEquals(String name, Object value, boolean localScope) variableValueNotEqualsIgnoreCase(String name, String value) protected TvariableValueNotEqualsIgnoreCase(String name, String value, boolean localScope) Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getSafeList, 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, setIgnoreOrderBy, setMaxResults, setNullHandlingColumn, setParameter
-
Field Details
-
variableValueProvider
-
queryVariableValues
-
-
Constructor Details
-
AbstractVariableQueryImpl
public AbstractVariableQueryImpl() -
AbstractVariableQueryImpl
public AbstractVariableQueryImpl(CommandContext commandContext, VariableServiceConfiguration variableServiceConfiguration) -
AbstractVariableQueryImpl
public AbstractVariableQueryImpl(CommandExecutor commandExecutor, VariableServiceConfiguration variableServiceConfiguration) -
AbstractVariableQueryImpl
public AbstractVariableQueryImpl(CommandContext commandContext, VariableValueProvider variableValueProvider) -
AbstractVariableQueryImpl
public AbstractVariableQueryImpl(CommandExecutor commandExecutor, VariableValueProvider variableValueProvider)
-
-
Method Details
-
executeCount
- Specified by:
executeCountin classAbstractQuery<T extends Query<?,?>, U>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<T extends Query<?,?>, U>
-
variableValueEquals
-
variableValueEquals
-
scopedVariableValueEquals
-
variableValueEquals
-
variableValueEquals
-
scopedVariableValueEquals
-
variableValueEqualsIgnoreCase
-
variableValueEqualsIgnoreCase
-
scopedVariableValueEqualsIgnoreCase
-
variableValueNotEqualsIgnoreCase
-
variableValueNotEqualsIgnoreCase
-
scopedVariableValueNotEqualsIgnoreCase
-
variableValueNotEquals
-
variableValueNotEquals
-
scopedVariableValueNotEquals
-
variableValueGreaterThan
-
variableValueGreaterThan
-
scopedVariableValueGreaterThan
-
variableValueGreaterThanOrEqual
-
variableValueGreaterThanOrEqual
-
scopedVariableValueGreaterThanOrEqual
-
variableValueLessThan
-
variableValueLessThan
-
scopedVariableValueLessThan
-
variableValueLessThanOrEqual
-
variableValueLessThanOrEqual
-
scopedVariableValueLessThanOrEqual
-
variableValueLike
-
variableValueLikeIgnoreCase
-
variableValueLike
-
scopedVariableValueLike
-
variableValueLikeIgnoreCase
-
scopedVariableValueLikeIgnoreCase
-
variableExists
-
variableExists
-
scopedVariableExists
-
variableNotExists
-
variableNotExists
-
scopedVariableNotExists
-
addVariable
-
addVariable
protected void addVariable(String name, Object value, QueryOperator operator, String scopeType, boolean localScope) -
isBoolean
-
ensureVariablesInitialized
protected void ensureVariablesInitialized() -
getQueryVariableValues
-
hasValueComparisonQueryVariables
public boolean hasValueComparisonQueryVariables() -
hasLocalQueryVariableValue
public boolean hasLocalQueryVariableValue() -
hasNonLocalQueryVariableValue
public boolean hasNonLocalQueryVariableValue()
-