Package com.flowable.core.idm.api
Interface PlatformUserQuery
-
- All Superinterfaces:
Query<PlatformUserQuery,PlatformUser>
,UserBaseQuery<PlatformUserQuery,PlatformUser>
- All Known Implementing Classes:
LdapUserQuery
,PlatformUserQueryImpl
public interface PlatformUserQuery extends UserBaseQuery<PlatformUserQuery,PlatformUser>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description PlatformUserQuery
accessibleByUser(String userId)
Deprecated.PlatformUserQuery
accessibleByUserWithUserDefinitionKey(String userId, String userDefinitionKey)
Query all users that are accessible by the user with the provideduserId
anduserDefinitionKey
.PlatformUserQuery
active()
PlatformUserQuery
createAfter(Date createdAfter)
PlatformUserQuery
createdBefore(Date createdBefore)
PlatformUserQuery
includeIdentityInfo()
Query the user including the extra identity info.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 valueLike)
Checks for a user with the given info name and value like.PlatformUserQuery
infoValueLikeIgnoreCase(String name, String valueLike)
Checks for a user with the given info name and value like ignoring the case of the value.PlatformUserQuery
memberOfGroupKey(String groupKey)
Only selectPlatformUser
s that belong to the group with the given key.PlatformUserQuery
memberOfGroupKeys(Collection<String> groupKeys)
Only selectPlatformUser
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 typePlatformUserQuery
userDefinitionKey(String userDefinitionKey)
PlatformUserQuery
userIdsNotIn(List<String> ids)
PlatformUserQuery
userIdsOrMemberOfGroupKeys(Collection<String> userIds, Collection<String> groupKeys)
Only selectPlatformUser
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.-
Methods inherited from interface org.flowable.common.engine.api.query.Query
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
-
Methods inherited from interface org.flowable.idm.api.UserBaseQuery
memberOfGroup, memberOfGroups, orderByUserEmail, orderByUserFirstName, orderByUserId, orderByUserLastName, tenantId, userDisplayName, userDisplayNameLike, userDisplayNameLikeIgnoreCase, userEmail, userEmailLike, userFirstName, userFirstNameLike, userFirstNameLikeIgnoreCase, userFullNameLike, userFullNameLikeIgnoreCase, userId, userIdIgnoreCase, userIds, userLastName, userLastNameLike, userLastNameLikeIgnoreCase
-
-
-
-
Method Detail
-
accessibleByUser
@Deprecated PlatformUserQuery accessibleByUser(String userId)
Deprecated.Query all users that are accessible by the user with the provideduserId
.- Parameters:
userId
- the if of the user for which users should be queried
-
accessibleByUserWithUserDefinitionKey
PlatformUserQuery accessibleByUserWithUserDefinitionKey(String userId, String userDefinitionKey)
Query all users that are accessible by the user with the provideduserId
anduserDefinitionKey
.- Parameters:
userId
- the id of the user for which users should be querieduserDefinitionKey
- the user definition key for the user for which users should be queried
-
active
PlatformUserQuery active()
-
state
PlatformUserQuery state(String state)
-
subState
PlatformUserQuery subState(String subState)
-
userIdsNotIn
PlatformUserQuery userIdsNotIn(List<String> ids)
-
userDefinitionKey
PlatformUserQuery userDefinitionKey(String userDefinitionKey)
-
type
PlatformUserQuery type(String type)
Query for users of the given type- See Also:
for known user types
-
subType
PlatformUserQuery subType(String subType)
-
presence
PlatformUserQuery presence(String presence)
Query for users with the given presence status.- See Also:
for known presence states
-
infoEquals
PlatformUserQuery infoEquals(String name, Object value)
Checks for a user with the given info name and value.- Parameters:
name
- the name of the infovalue
- the value that the info should have
-
infoEqualsIgnoreCase
PlatformUserQuery infoEqualsIgnoreCase(String name, String value)
Checks for a user with the given info name and value ignoring the case of the value.- Parameters:
name
- the name of the infovalue
- the value that the info should have
-
infoValueLike
PlatformUserQuery infoValueLike(String name, String valueLike)
Checks for a user with the given info name and value like.- Parameters:
name
- the name of the infovalueLike
- the value like the info should have ('%' has to be added by the caller itself)
-
infoValueLikeIgnoreCase
PlatformUserQuery infoValueLikeIgnoreCase(String name, String valueLike)
Checks for a user with the given info name and value like ignoring the case of the value.- Parameters:
name
- the name of the infovalueLike
- the value like the info should have ('%' has to be added by the caller itself)
-
createdBefore
PlatformUserQuery createdBefore(Date createdBefore)
-
createAfter
PlatformUserQuery createAfter(Date createdAfter)
-
includeIdentityInfo
PlatformUserQuery includeIdentityInfo()
Query the user including the extra identity info. Implementations are allowed to include the identity info even without explicitly invoking this.
-
withoutTenantId
PlatformUserQuery withoutTenantId()
Query only users belonging to no tenant.
-
memberOfGroupKey
PlatformUserQuery memberOfGroupKey(String groupKey)
Only selectPlatformUser
s that belong to the group with the given key.
-
memberOfGroupKeys
PlatformUserQuery memberOfGroupKeys(Collection<String> groupKeys)
Only selectPlatformUser
s that belong to the groups with the given keys.
-
userIdsOrMemberOfGroupKeys
PlatformUserQuery userIdsOrMemberOfGroupKeys(Collection<String> userIds, Collection<String> groupKeys)
Only selectPlatformUser
s with the given user ids or that belong to the groups with the given keys.
-
-