@Transactional(readOnly=true) public class CachedUserGroupResolverImpl extends Object implements CachedUserGroupResolver
Constructor and Description |
---|
CachedUserGroupResolverImpl(InternalUserDao userDao,
InternalGroupDao groupDao) |
Modifier and Type | Method and Description |
---|---|
Map<Long,Group> |
findGroupsByIds(Collection<Long> groupIds)
Bulk find groups with the specified database identifiers.
|
Map<Long,User> |
findUsersByIds(Collection<Long> userIds)
Bulk find users with the specified database identifiers.
|
public CachedUserGroupResolverImpl(InternalUserDao userDao, InternalGroupDao groupDao)
public Map<Long,User> findUsersByIds(Collection<Long> userIds)
CachedUserGroupResolver
findUsersByIds
in interface CachedUserGroupResolver
userIds
- identifiers of users that will be foundpublic Map<Long,Group> findGroupsByIds(Collection<Long> groupIds)
CachedUserGroupResolver
findGroupsByIds
in interface CachedUserGroupResolver
groupIds
- identifiers of groups that will be foundCopyright © 2020 Atlassian. All rights reserved.