Class CachedUserGroupResolverImpl
java.lang.Object
com.atlassian.crowd.manager.user.impl.CachedUserGroupResolverImpl
- All Implemented Interfaces:
CachedUserGroupResolver
@Transactional(readOnly=true)
public class CachedUserGroupResolverImpl
extends Object
implements CachedUserGroupResolver
-
Constructor Summary
ConstructorsConstructorDescriptionCachedUserGroupResolverImpl
(InternalUserDao userDao, InternalGroupDao groupDao) -
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.
-
Constructor Details
-
CachedUserGroupResolverImpl
-
-
Method Details
-
findUsersByIds
Description copied from interface:CachedUserGroupResolver
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- Specified by:
findUsersByIds
in interfaceCachedUserGroupResolver
- Parameters:
userIds
- identifiers of users that will be found- Returns:
- the matching users
-
findGroupsByIds
Description copied from interface:CachedUserGroupResolver
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- Specified by:
findGroupsByIds
in interfaceCachedUserGroupResolver
- Parameters:
groupIds
- identifiers of groups that will be found- Returns:
- the matching groups
-