public abstract class UserBaseQueryImpl<T extends UserBaseQuery<T,U>,U extends User> extends AbstractVariableQueryImpl<T,U> implements UserBaseQuery<T,U>, CacheAwareQuery<U>
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeQuery.NullHandlingOnOrder| Modifier and Type | Field and Description |
|---|---|
protected boolean |
accessbleByUserDefinitionKeyProvided |
protected String |
accessibleByUser |
protected String |
accessibleByUserDefinitionKey |
protected String |
displayName |
protected String |
displayNameLike |
protected String |
displayNameLikeIgnoreCase |
protected String |
email |
protected String |
emailLike |
protected String |
firstName |
protected String |
firstNameLike |
protected String |
firstNameLikeIgnoreCase |
protected String |
fullNameLike |
protected String |
fullNameLikeIgnoreCase |
protected String |
groupId |
protected List<String> |
groupIds |
protected String |
id |
protected String |
idIgnoreCase |
protected List<String> |
ids |
protected String |
lastName |
protected String |
lastNameLike |
protected String |
lastNameLikeIgnoreCase |
protected List<T> |
orQueryObjects |
protected String |
tenantId |
queryVariableValues, variableServiceConfigurationcommandContext, commandExecutordatabaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC| Constructor and Description |
|---|
UserBaseQueryImpl() |
UserBaseQueryImpl(CommandContext commandContext,
CoreIdmEngineConfiguration idmEngineConfiguration) |
UserBaseQueryImpl(CommandExecutor commandExecutor,
CoreIdmEngineConfiguration idmEngineConfiguration) |
addVariable, getQueryVariableValues, hasLocalQueryVariableValue, hasNonLocalQueryVariableValue, hasValueComparisonQueryVariables, isBoolean, variableExists, variableExists, variableNotExists, variableNotExists, variableValueEquals, variableValueEquals, variableValueEquals, variableValueEquals, variableValueEqualsIgnoreCase, variableValueEqualsIgnoreCase, variableValueGreaterThan, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThan, variableValueLessThanOrEqual, variableValueLessThanOrEqual, variableValueLike, variableValueLike, variableValueLikeIgnoreCase, variableValueLikeIgnoreCase, variableValueNotEquals, variableValueNotEquals, variableValueNotEqualsIgnoreCase, variableValueNotEqualsIgnoreCaseasc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultaddOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasc, count, desc, list, listPage, orderBy, orderBy, singleResultenhanceCachedValueprotected String id
protected String idIgnoreCase
protected String firstName
protected String firstNameLike
protected String firstNameLikeIgnoreCase
protected String lastName
protected String lastNameLike
protected String lastNameLikeIgnoreCase
protected String fullNameLike
protected String fullNameLikeIgnoreCase
protected String displayName
protected String displayNameLike
protected String displayNameLikeIgnoreCase
protected String accessibleByUser
protected String accessibleByUserDefinitionKey
protected boolean accessbleByUserDefinitionKeyProvided
protected String email
protected String emailLike
protected String groupId
protected String tenantId
protected List<T extends UserBaseQuery<T,U>> orQueryObjects
public UserBaseQueryImpl()
public UserBaseQueryImpl(CommandContext commandContext, CoreIdmEngineConfiguration idmEngineConfiguration)
public UserBaseQueryImpl(CommandExecutor commandExecutor, CoreIdmEngineConfiguration idmEngineConfiguration)
public T userId(String id)
userId in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T userIds(List<String> ids)
userIds in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T userIdIgnoreCase(String id)
userIdIgnoreCase in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T userFirstName(String firstName)
userFirstName in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T userFirstNameLike(String firstNameLike)
userFirstNameLike in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T userFirstNameLikeIgnoreCase(String firstNameLikeIgnoreCase)
userFirstNameLikeIgnoreCase in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T userLastName(String lastName)
userLastName in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T userLastNameLike(String lastNameLike)
userLastNameLike in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T userLastNameLikeIgnoreCase(String lastNameLikeIgnoreCase)
userLastNameLikeIgnoreCase in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T userFullNameLike(String fullNameLike)
userFullNameLike in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T userFullNameLikeIgnoreCase(String fullNameLikeIgnoreCase)
userFullNameLikeIgnoreCase in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T userDisplayName(String displayName)
userDisplayName in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T userDisplayNameLike(String displayNameLike)
userDisplayNameLike in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T userDisplayNameLikeIgnoreCase(String displayNameLikeIgnoreCase)
userDisplayNameLikeIgnoreCase in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T userEmail(String email)
userEmail in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T userEmailLike(String emailLike)
userEmailLike in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T memberOfGroup(String groupId)
memberOfGroup in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T memberOfGroups(List<String> groupIds)
memberOfGroups in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T tenantId(String tenantId)
tenantId in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T orderByUserId()
orderByUserId in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T orderByUserEmail()
orderByUserEmail in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T orderByUserFirstName()
orderByUserFirstName in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public T orderByUserLastName()
orderByUserLastName in interface UserBaseQuery<T extends UserBaseQuery<T,U>,U extends User>public long executeCount(CommandContext commandContext)
executeCount in class AbstractVariableQueryImpl<T extends UserBaseQuery<T,U>,U extends User>protected abstract long executeFindUserCount(CommandContext commandContext)
public List<U> executeList(CommandContext commandContext)
executeList in class AbstractVariableQueryImpl<T extends UserBaseQuery<T,U>,U extends User>protected abstract List<U> executeFindUserList(CommandContext commandContext)
protected void ensureVariablesInitialized()
ensureVariablesInitialized in class AbstractVariableQueryImpl<T extends UserBaseQuery<T,U>,U extends User>protected boolean handleAccessibleByUser(CommandContext commandContext)
commandContext - the command context that can be used to fetch datatrue if the query can actually be executed, false otherwise (return empty result)protected boolean handleLookupGroups(UserBaseQueryImpl<T,U> query, List<String> lookupGroups)
protected boolean handleDynamicLookupVariable(UserBaseQueryImpl<T,U> query, String lookupInfoName)
protected abstract T createNewQuery(CommandContext commandContext, CoreIdmEngineConfiguration idmEngineConfiguration)
public String getId()
getId in interface CacheAwareQuery<U extends User>public String getIdIgnoreCase()
public String getFirstName()
public String getFirstNameLike()
public String getFirstNameLikeIgnoreCase()
public String getLastName()
public String getLastNameLike()
public String getLastNameLikeIgnoreCase()
public String getFullNameLike()
public String getFullNameLikeIgnoreCase()
public String getDisplayName()
public String getDisplayNameLike()
public String getDisplayNameLikeIgnoreCase()
public String getAccessibleByUser()
public String getEmail()
public String getEmailLike()
public String getGroupId()
public String getTenantId()