public abstract class AbstractVariableQueryImpl<T extends Query<?,?>,U> extends AbstractQuery<T,U>
Modifier and Type | Field and Description |
---|---|
protected List<QueryVariableValue> |
queryVariableValues |
commandExecutor, expressions, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter
authDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled
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, addOrder, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderProperty, list, listPage, mergeExpressions, mergeOrdering, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, validate, validate
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter
getAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserId
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.