public abstract class AbstractVariableQueryImpl<T extends Query<?,?>,U> extends AbstractQuery<T,U>
AbstractQuery.ResultType| Modifier and Type | Field and Description |
|---|---|
protected List<QueryVariableValue> |
queryVariableValues |
commandExecutor, expressions, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsauthCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck| Constructor and Description |
|---|
AbstractVariableQueryImpl() |
AbstractVariableQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addVariable(String name,
Object value,
QueryOperator operator,
boolean processInstanceScope) |
protected void |
ensureVariablesInitialized() |
abstract long |
executeCount(CommandContext commandContext) |
abstract List<U> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
List<QueryVariableValue> |
getQueryVariableValues() |
T |
variableValueEquals(String name,
Object value) |
T |
variableValueGreaterThan(String name,
Object value) |
T |
variableValueGreaterThanOrEqual(String name,
Object value) |
T |
variableValueLessThan(String name,
Object value) |
T |
variableValueLessThanOrEqual(String name,
Object value) |
T |
variableValueLike(String name,
String value) |
T |
variableValueNotEquals(String name,
Object value) |
addExpression, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeIdsList, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, validate, validategetAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheckprotected List<QueryVariableValue> queryVariableValues
public AbstractVariableQueryImpl()
public AbstractVariableQueryImpl(CommandExecutor commandExecutor)
public abstract long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<T extends Query<?,?>,U>public abstract List<U> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractQuery<T extends Query<?,?>,U>page - used if the results must be paged. If null, no paging will be applied.protected void addVariable(String name, Object value, QueryOperator operator, boolean processInstanceScope)
protected void ensureVariablesInitialized()
public List<QueryVariableValue> getQueryVariableValues()
Copyright © 2019. All rights reserved.