public class LdapUserQueryImpl extends UserQueryImpl
AbstractQuery.ResultType
email, emailLike, firstName, firstNameLike, groupId, id, ids, lastName, lastNameLike, procDefId, tenantId
commandExecutor, expressions, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
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, getTenantId, memberOfGroup, memberOfTenant, orderByUserEmail, orderByUserFirstName, orderByUserId, orderByUserLastName, potentialStarter, userEmail, userEmailLike, userFirstName, userFirstNameLike, userId, userIdIn, userLastName, userLastNameLike
addExpression, addValidator, asc, checkQueryOk, count, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeIdsList, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
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.