Package org.camunda.bpm.engine.impl
Class AbstractVariableQueryImpl<T extends Query<?,?>,U>
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<T,U>
org.camunda.bpm.engine.impl.AbstractVariableQueryImpl<T,U>
- All Implemented Interfaces:
Serializable
,Command<Object>
,Query<T,
U>
- Direct Known Subclasses:
CaseExecutionQueryImpl
,CaseInstanceQueryImpl
,ExecutionQueryImpl
,HistoricCaseInstanceQueryImpl
,HistoricIdentityLinkLogQueryImpl
,HistoricIncidentQueryImpl
,HistoricProcessInstanceQueryImpl
,ProcessInstanceQueryImpl
,VariableInstanceQueryImpl
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.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<QueryVariableValue>
protected Boolean
protected Boolean
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addVariable
(String name, Object value, QueryOperator operator, boolean processInstanceScope) protected QueryVariableValue
createQueryVariableValue
(String name, Object value, QueryOperator operator, boolean processInstanceScope) protected void
abstract long
executeCount
(CommandContext commandContext) executeList
(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.protected void
validateVariable
(String name, Object value, QueryOperator operator) variableValueEquals
(String name, Object value) variableValueGreaterThan
(String name, Object value) variableValueGreaterThanOrEqual
(String name, Object value) variableValueLessThan
(String name, Object value) variableValueLessThanOrEqual
(String name, Object value) variableValueLike
(String name, String value) variableValueNotEquals
(String name, Object value) variableValueNotLike
(String name, String value) Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeDeploymentIdMappingsList, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validate
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
-
Field Details
-
queryVariableValues
-
variableNamesIgnoreCase
-
variableValuesIgnoreCase
-
-
Constructor Details
-
AbstractVariableQueryImpl
public AbstractVariableQueryImpl() -
AbstractVariableQueryImpl
-
-
Method Details
-
executeCount
- Specified by:
executeCount
in classAbstractQuery<T extends Query<?,
?>, U>
-
executeList
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractQuery<T extends Query<?,
?>, U> page
- used if the results must be paged. If null, no paging will be applied.
-
variableValueEquals
-
variableValueNotEquals
-
variableValueGreaterThan
-
variableValueGreaterThanOrEqual
-
variableValueLessThan
-
variableValueLessThanOrEqual
-
variableValueLike
-
variableValueNotLike
-
matchVariableNamesIgnoreCase
-
matchVariableValuesIgnoreCase
-
addVariable
protected void addVariable(String name, Object value, QueryOperator operator, boolean processInstanceScope) -
createQueryVariableValue
protected QueryVariableValue createQueryVariableValue(String name, Object value, QueryOperator operator, boolean processInstanceScope) -
validateVariable
-
ensureVariablesInitialized
protected void ensureVariablesInitialized() -
getQueryVariableValues
-
isVariableNamesIgnoreCase
-
isVariableValuesIgnoreCase
-