public class LdapUserQueryImpl extends UserQueryImpl
email, emailLike, firstName, firstNameLike, groupId, id, ids, lastName, lastNameLike, procDefId
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 |
---|
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, addValidator, asc, checkQueryOk, count, 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
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.