public class DbGroupQueryImpl extends GroupQueryImpl
id, ids, name, nameLike, procDefId, type, userId
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 |
---|
DbGroupQueryImpl() |
DbGroupQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
long |
executeCount(CommandContext commandContext) |
List<Group> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
protected DbReadOnlyIdentityServiceProvider |
getIdentityProvider(CommandContext commandContext) |
getId, getName, getNameLike, getType, getUserId, groupId, groupIdIn, groupMember, groupName, groupNameLike, groupType, orderByGroupId, orderByGroupName, orderByGroupType, potentialStarter
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
public DbGroupQueryImpl()
public DbGroupQueryImpl(CommandExecutor commandExecutor)
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<GroupQuery,Group>
public List<Group> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<GroupQuery,Group>
page
- used if the results must be paged. If null, no paging will be applied.protected DbReadOnlyIdentityServiceProvider getIdentityProvider(CommandContext commandContext)
Copyright © 2018. All rights reserved.