Package com.atlassian.crowd.manager.user
Interface CachedUserGroupResolver
- All Known Implementing Classes:
CachedUserGroupResolverImpl
@Internal
public interface CachedUserGroupResolver
Allows lookups on users/groups stored in the database. Note that not all users/groups are necessarily stored in the database,
the exact semantic depends on the directory implementation
-
Method Summary
Modifier and TypeMethodDescriptionfindGroupsByIds
(Collection<Long> groupIds) Bulk find groups with the specified database identifiers.findUsersByIds
(Collection<Long> userIds) Bulk find users with the specified database identifiers.
-
Method Details
-
findUsersByIds
Bulk find users with the specified database identifiers. The result collection may be smaller than the input if ids that did not match with any users were supplied- Parameters:
userIds
- identifiers of users that will be found- Returns:
- the matching users
-
findGroupsByIds
Bulk find groups with the specified database identifiers. The result collection may be smaller than the input if ids that did not match with any users were supplied- Parameters:
groupIds
- identifiers of groups that will be found- Returns:
- the matching groups
-