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
public abstract class AbstractVariableQueryImpl<T extends Query<?,?>,U> extends AbstractQuery<T,U>
Abstract query class that adds methods to query for variable values.- Author:
- Frederik Heremans
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
-
-
Field Summary
Fields Modifier and Type Field Description protected List<QueryVariableValue>
queryVariableValues
protected Boolean
variableNamesIgnoreCase
protected Boolean
variableValuesIgnoreCase
-
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
Constructors Constructor Description AbstractVariableQueryImpl()
AbstractVariableQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
-
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Field Detail
-
queryVariableValues
protected List<QueryVariableValue> queryVariableValues
-
variableNamesIgnoreCase
protected Boolean variableNamesIgnoreCase
-
variableValuesIgnoreCase
protected Boolean variableValuesIgnoreCase
-
-
Constructor Detail
-
AbstractVariableQueryImpl
public AbstractVariableQueryImpl()
-
AbstractVariableQueryImpl
public AbstractVariableQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
executeCount
public abstract long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<T extends Query<?,?>,U>
-
executeList
public abstract List<U> executeList(CommandContext commandContext, Page page)
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.
-
variableValueGreaterThanOrEqual
public T variableValueGreaterThanOrEqual(String name, Object value)
-
matchVariableNamesIgnoreCase
public T matchVariableNamesIgnoreCase()
-
matchVariableValuesIgnoreCase
public T 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
protected void validateVariable(String name, Object value, QueryOperator operator)
-
ensureVariablesInitialized
protected void ensureVariablesInitialized()
-
getQueryVariableValues
public List<QueryVariableValue> getQueryVariableValues()
-
isVariableNamesIgnoreCase
public Boolean isVariableNamesIgnoreCase()
-
isVariableValuesIgnoreCase
public Boolean isVariableValuesIgnoreCase()
-
-