public abstract class AbstractVariableQueryImpl<T extends Query<?,?>,U> extends AbstractQuery<T,U>
Modifier and Type | Field and Description |
---|---|
protected List<QueryVariableValue> |
queryVariableValues |
commandExecutor, expressions, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter
authDefaultPerm, authGroupIds, authUserId, isAuthorizationCheckEnabled, permissionChecks
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, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderingProperties, list, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, setOrderingProperties, singleResult, validate, validate
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter
addPermissionCheck, getAuthDefaultPerm, getAuthGroupIds, getAuthUserId, getPermissionChecks, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthUserId, setPermissionChecks
protected 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)
AbstractQuery
executeList
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 © 2018. All rights reserved.