Class UserReadServiceImpl
java.lang.Object
ubic.gemma.core.security.authentication.UserReadServiceImpl
- All Implemented Interfaces:
UserReadService
@Service("userReadService")
public class UserReadServiceImpl
extends Object
implements UserReadService
Read-only implementation of the
UserService read cluster.
Depends only on UserDao and UserGroupDao; orchestrates nothing.
All methods are @Transactional(readOnly = true).
- Author:
- paul
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindByEmail(String email) findByUserName(String userName) findGroupByName(String name) findGroupsForUser(User user) booleangroupExists(String name) A list of all groups available — facade-level ACL filtering is bypassed here.loadAll()loadGroupAuthorities(User user)
-
Constructor Details
-
UserReadServiceImpl
-
-
Method Details
-
load
- Specified by:
loadin interfaceUserReadService
-
loadAll
- Specified by:
loadAllin interfaceUserReadService
-
findByUserName
- Specified by:
findByUserNamein interfaceUserReadService- Returns:
- user or null if they don't exist.
-
findByEmail
- Specified by:
findByEmailin interfaceUserReadService
-
findGroupByName
- Specified by:
findGroupByNamein interfaceUserReadService
-
groupExists
- Specified by:
groupExistsin interfaceUserReadService
-
findGroupsForUser
- Specified by:
findGroupsForUserin interfaceUserReadService
-
listAvailableGroups
Description copied from interface:UserReadServiceA list of all groups available — facade-level ACL filtering is bypassed here.- Specified by:
listAvailableGroupsin interfaceUserReadService
-
loadGroupAuthorities
- Specified by:
loadGroupAuthoritiesin interfaceUserReadService
-