public class PlatformUserQueryImpl extends UserBaseQueryImpl<PlatformUserQuery,PlatformUser> implements PlatformUserQuery
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultType
Query.NullHandlingOnOrder
Modifier and Type | Field and Description |
---|---|
protected Date |
createdAfter |
protected Date |
createdBefore |
protected String |
memberOfGroupKey |
protected Collection<String> |
memberOfGroupKeys |
protected Collection<String> |
memberOfGroupKeysForOr |
protected List<String> |
notInIds |
protected Collection<String> |
userIdsForOr |
protected boolean |
withoutTenantId |
accessbleByUserDefinitionKeyProvided, accessibleByUser, accessibleByUserDefinitionKey, displayName, displayNameLike, displayNameLikeIgnoreCase, email, emailLike, firstName, firstNameLike, firstNameLikeIgnoreCase, fullNameLike, fullNameLikeIgnoreCase, groupId, groupIds, id, idIgnoreCase, ids, lastName, lastNameLike, lastNameLikeIgnoreCase, orQueryObjects, tenantId
queryVariableValues, variableServiceConfiguration
commandContext, commandExecutor
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
Constructor and Description |
---|
PlatformUserQueryImpl() |
PlatformUserQueryImpl(CommandContext commandContext,
CoreIdmEngineConfiguration idmEngineConfiguration) |
PlatformUserQueryImpl(CommandExecutor commandExecutor,
CoreIdmEngineConfiguration idmEngineConfiguration) |
Modifier and Type | Method and Description |
---|---|
PlatformUserQuery |
accessibleByUser(String userId)
Query all users that are accessible by the user with the provided
userId . |
PlatformUserQuery |
accessibleByUserWithUserDefinitionKey(String userId,
String userDefinitionKey)
Query all users that are accessible by the user with the provided
userId and userDefinitionKey . |
PlatformUserQuery |
active() |
PlatformUserQuery |
createAfter(Date createdAfter) |
PlatformUserQuery |
createdBefore(Date createdBefore) |
protected PlatformUserQueryImpl |
createNewQuery(CommandContext commandContext,
CoreIdmEngineConfiguration idmEngineConfiguration) |
protected long |
executeFindUserCount(CommandContext commandContext) |
protected List<PlatformUser> |
executeFindUserList(CommandContext commandContext) |
List<String> |
getNotInIds() |
PlatformUserQuery |
includeIdentityInfo()
Deprecated.
|
PlatformUserQuery |
infoEquals(String name,
Object value)
Checks for a user with the given info name and value.
|
PlatformUserQuery |
infoEqualsIgnoreCase(String name,
String value)
Checks for a user with the given info name and value ignoring the case of the value.
|
PlatformUserQuery |
infoValueLike(String name,
String infoValueLike)
Checks for a user with the given info name and value like.
|
PlatformUserQuery |
infoValueLikeIgnoreCase(String name,
String infoValueLike)
Checks for a user with the given info name and value like ignoring the case of the value.
|
boolean |
isWithoutTenantId() |
PlatformUserQuery |
memberOfGroupKey(String groupKey)
Only select
PlatformUser s that belong to the group with the given key. |
PlatformUserQuery |
memberOfGroupKeys(Collection<String> groupKeys)
Only select
PlatformUser s that belong to the groups with the given keys. |
PlatformUserQuery |
presence(String presence)
Query for users with the given presence status.
|
PlatformUserQuery |
state(String state) |
PlatformUserQuery |
subState(String subState) |
PlatformUserQuery |
subType(String subType) |
PlatformUserQuery |
type(String type)
Query for users of the given type
|
PlatformUserQuery |
userDefinitionKey(String userDefinitionKey) |
PlatformUserQuery |
userIdsNotIn(List<String> ids) |
PlatformUserQuery |
userIdsOrMemberOfGroupKeys(Collection<String> userIds,
Collection<String> groupKeys)
Only select
PlatformUser s with the given user ids or that belong to the groups with the given keys. |
PlatformUserQuery |
withoutTenantId()
Query only users belonging to no tenant.
|
ensureVariablesInitialized, executeCount, executeList, getAccessibleByUser, getDisplayName, getDisplayNameLike, getDisplayNameLikeIgnoreCase, getEmail, getEmailLike, getFirstName, getFirstNameLike, getFirstNameLikeIgnoreCase, getFullNameLike, getFullNameLikeIgnoreCase, getGroupId, getGroupIds, getId, getIdIgnoreCase, getIds, getLastName, getLastNameLike, getLastNameLikeIgnoreCase, getOrQueryObjects, getTenantId, handleAccessibleByUser, handleDynamicLookupVariable, handleLookupGroups, memberOfGroup, memberOfGroups, orderByUserEmail, orderByUserFirstName, orderByUserId, orderByUserLastName, tenantId, userDisplayName, userDisplayNameLike, userDisplayNameLikeIgnoreCase, userEmail, userEmailLike, userFirstName, userFirstNameLike, userFirstNameLikeIgnoreCase, userFullNameLike, userFullNameLikeIgnoreCase, userId, userIdIgnoreCase, userIds, userLastName, userLastNameLike, userLastNameLikeIgnoreCase
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, variableValueNotEqualsIgnoreCase
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResult
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
memberOfGroup, memberOfGroups, orderByUserEmail, orderByUserFirstName, orderByUserId, orderByUserLastName, tenantId, userDisplayName, userDisplayNameLike, userDisplayNameLikeIgnoreCase, userEmail, userEmailLike, userFirstName, userFirstNameLike, userFirstNameLikeIgnoreCase, userFullNameLike, userFullNameLikeIgnoreCase, userId, userIdIgnoreCase, userIds, userLastName, userLastNameLike, userLastNameLikeIgnoreCase
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
enhanceCachedValue
protected Date createdBefore
protected Date createdAfter
protected boolean withoutTenantId
protected String memberOfGroupKey
protected Collection<String> memberOfGroupKeys
protected Collection<String> userIdsForOr
protected Collection<String> memberOfGroupKeysForOr
public PlatformUserQueryImpl()
public PlatformUserQueryImpl(CommandContext commandContext, CoreIdmEngineConfiguration idmEngineConfiguration)
public PlatformUserQueryImpl(CommandExecutor commandExecutor, CoreIdmEngineConfiguration idmEngineConfiguration)
protected long executeFindUserCount(CommandContext commandContext)
executeFindUserCount
in class UserBaseQueryImpl<PlatformUserQuery,PlatformUser>
protected List<PlatformUser> executeFindUserList(CommandContext commandContext)
executeFindUserList
in class UserBaseQueryImpl<PlatformUserQuery,PlatformUser>
public PlatformUserQuery userIdsNotIn(List<String> ids)
userIdsNotIn
in interface PlatformUserQuery
public PlatformUserQuery userDefinitionKey(String userDefinitionKey)
userDefinitionKey
in interface PlatformUserQuery
public PlatformUserQuery type(String type)
PlatformUserQuery
type
in interface PlatformUserQuery
for known user types
public PlatformUserQuery subType(String subType)
subType
in interface PlatformUserQuery
public PlatformUserQuery presence(String presence)
PlatformUserQuery
presence
in interface PlatformUserQuery
for known presence states
public PlatformUserQuery accessibleByUser(String userId)
PlatformUserQuery
userId
.accessibleByUser
in interface PlatformUserQuery
userId
- the if of the user for which users should be queriedpublic PlatformUserQuery accessibleByUserWithUserDefinitionKey(String userId, String userDefinitionKey)
PlatformUserQuery
userId
and userDefinitionKey
.accessibleByUserWithUserDefinitionKey
in interface PlatformUserQuery
userId
- the id of the user for which users should be querieduserDefinitionKey
- the user definition key for the user for which users should be queriedpublic PlatformUserQuery active()
active
in interface PlatformUserQuery
public PlatformUserQuery state(String state)
state
in interface PlatformUserQuery
public PlatformUserQuery subState(String subState)
subState
in interface PlatformUserQuery
public PlatformUserQuery infoEquals(String name, Object value)
PlatformUserQuery
infoEquals
in interface PlatformUserQuery
name
- the name of the infovalue
- the value that the info should havepublic PlatformUserQuery infoEqualsIgnoreCase(String name, String value)
PlatformUserQuery
infoEqualsIgnoreCase
in interface PlatformUserQuery
name
- the name of the infovalue
- the value that the info should havepublic PlatformUserQuery infoValueLike(String name, String infoValueLike)
PlatformUserQuery
infoValueLike
in interface PlatformUserQuery
name
- the name of the infoinfoValueLike
- the value like the info should have ('%' has to be added by the caller itself)public PlatformUserQuery infoValueLikeIgnoreCase(String name, String infoValueLike)
PlatformUserQuery
infoValueLikeIgnoreCase
in interface PlatformUserQuery
name
- the name of the infoinfoValueLike
- the value like the info should have ('%' has to be added by the caller itself)public PlatformUserQuery createAfter(Date createdAfter)
createAfter
in interface PlatformUserQuery
public PlatformUserQuery createdBefore(Date createdBefore)
createdBefore
in interface PlatformUserQuery
@Deprecated public PlatformUserQuery includeIdentityInfo()
PlatformUserQuery
includeIdentityInfo
in interface PlatformUserQuery
public PlatformUserQuery withoutTenantId()
PlatformUserQuery
withoutTenantId
in interface PlatformUserQuery
public PlatformUserQuery memberOfGroupKey(String groupKey)
PlatformUserQuery
PlatformUser
s that belong to the group with the given key.memberOfGroupKey
in interface PlatformUserQuery
public PlatformUserQuery memberOfGroupKeys(Collection<String> groupKeys)
PlatformUserQuery
PlatformUser
s that belong to the groups with the given keys.memberOfGroupKeys
in interface PlatformUserQuery
public PlatformUserQuery userIdsOrMemberOfGroupKeys(Collection<String> userIds, Collection<String> groupKeys)
PlatformUserQuery
PlatformUser
s with the given user ids or that belong to the groups with the given keys.userIdsOrMemberOfGroupKeys
in interface PlatformUserQuery
protected PlatformUserQueryImpl createNewQuery(CommandContext commandContext, CoreIdmEngineConfiguration idmEngineConfiguration)
createNewQuery
in class UserBaseQueryImpl<PlatformUserQuery,PlatformUser>
public boolean isWithoutTenantId()