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 Details

  • Method Details

    • findUsersByIds

      public Map<Long,User> findUsersByIds(Collection<Long> userIds)
      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 interface CachedUserGroupResolver
      Parameters:
      userIds - identifiers of users that will be found
      Returns:
      the matching users
    • findGroupsByIds

      public Map<Long,Group> findGroupsByIds(Collection<Long> groupIds)
      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 interface CachedUserGroupResolver
      Parameters:
      groupIds - identifiers of groups that will be found
      Returns:
      the matching groups