public abstract class AbstractVariableQueryImpl<T extends Query<?,?>,U> extends AbstractQuery<T,U>
Modifier and Type | Field and Description |
---|---|
protected List<QueryVariableValue> |
queryVariableValues |
commandContext, commandExecutor, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC
databaseType, firstResult, maxResults, parameter
authDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled
Constructor and Description |
---|
AbstractVariableQueryImpl() |
AbstractVariableQueryImpl(CommandContext commandContext) |
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) |
addOrder, asc, assertParamNotNull, assertParamNotNull, checkQueryOk, count, desc, direction, execute, executeSingleResult, getOrderBy, list, listPage, orderBy, setCommandExecutor, singleResult
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(CommandContext commandContext)
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 © 2015. All rights reserved.