public class LdapUserQueryImpl extends UserQueryImpl
email, emailLike, firstName, firstNameLike, groupId, id, ids, lastName, lastNameLike, procDefId
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 |
---|
LdapUserQueryImpl() |
LdapUserQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
UserQuery |
desc()
Order the results descending on the given property as defined in this
class (needs to come after a call to one of the orderByXxxx methods).
|
long |
executeCount(CommandContext commandContext) |
List<User> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
protected LdapIdentityProviderSession |
getLdapIdentityProvider(CommandContext commandContext) |
getEmail, getEmailLike, getFirstName, getFirstNameLike, getGroupId, getId, getIds, getLastName, getLastNameLike, memberOfGroup, orderByUserEmail, orderByUserFirstName, orderByUserId, orderByUserLastName, potentialStarter, userEmail, userEmailLike, userFirstName, userFirstNameLike, userId, userIdIn, userLastName, userLastNameLike
addExpression, addOrder, addValidator, asc, checkQueryOk, count, 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 LdapUserQueryImpl()
public LdapUserQueryImpl(CommandExecutor commandExecutor)
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<UserQuery,User>
public List<User> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<UserQuery,User>
page
- used if the results must be paged. If null, no paging will be applied.protected LdapIdentityProviderSession getLdapIdentityProvider(CommandContext commandContext)
Copyright © 2018. All rights reserved.