Class EmbeddedCrowdGroupManagerImpl
java.lang.Object
com.atlassian.crowd.embedded.atlassianuser.EmbeddedCrowdGroupManagerImpl
- All Implemented Interfaces:
EmbeddedCrowdGroupManager
,com.atlassian.user.EntityManager
,com.atlassian.user.GroupManager
@Transactional
public class EmbeddedCrowdGroupManagerImpl
extends Object
implements EmbeddedCrowdGroupManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMembership
(com.atlassian.user.Group group, com.atlassian.user.User user) com.atlassian.user.Group
createGroup
(String groupName) com.atlassian.user.search.page.Pager<String>
getExternalMemberNames
(com.atlassian.user.Group group) com.atlassian.user.Group
com.atlassian.user.search.page.Pager<com.atlassian.user.Group>
com.atlassian.user.search.page.Pager<com.atlassian.user.Group>
getGroups
(com.atlassian.user.User user) com.atlassian.user.repository.RepositoryIdentifier
com.atlassian.user.search.page.Pager<String>
getLocalMemberNames
(com.atlassian.user.Group group) com.atlassian.user.search.page.Pager<String>
getMemberNames
(com.atlassian.user.Group group) com.atlassian.user.repository.RepositoryIdentifier
getRepository
(com.atlassian.user.Entity entity) List<com.atlassian.user.Group>
boolean
hasMembership
(com.atlassian.user.Group group, com.atlassian.user.User user) boolean
boolean
isReadOnly
(com.atlassian.user.Group group) void
removeGroup
(com.atlassian.user.Group group) void
removeMembership
(com.atlassian.user.Group group, com.atlassian.user.User user) boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.user.EntityManager
unwrapProxy
-
Constructor Details
-
EmbeddedCrowdGroupManagerImpl
public EmbeddedCrowdGroupManagerImpl()
-
-
Method Details
-
getIdentifier
public com.atlassian.user.repository.RepositoryIdentifier getIdentifier()- Specified by:
getIdentifier
in interfacecom.atlassian.user.EntityManager
-
getRepository
public com.atlassian.user.repository.RepositoryIdentifier getRepository(com.atlassian.user.Entity entity) throws com.atlassian.user.EntityException - Specified by:
getRepository
in interfacecom.atlassian.user.EntityManager
- Throws:
com.atlassian.user.EntityException
-
isCreative
public boolean isCreative()- Specified by:
isCreative
in interfacecom.atlassian.user.EntityManager
-
getGroups
public com.atlassian.user.search.page.Pager<com.atlassian.user.Group> getGroups() throws com.atlassian.user.EntityException- Specified by:
getGroups
in interfacecom.atlassian.user.GroupManager
- Throws:
com.atlassian.user.EntityException
-
getWritableGroups
- Specified by:
getWritableGroups
in interfacecom.atlassian.user.GroupManager
-
getGroups
public com.atlassian.user.search.page.Pager<com.atlassian.user.Group> getGroups(com.atlassian.user.User user) - Specified by:
getGroups
in interfacecom.atlassian.user.GroupManager
-
getMemberNames
public com.atlassian.user.search.page.Pager<String> getMemberNames(com.atlassian.user.Group group) throws com.atlassian.user.EntityException - Specified by:
getMemberNames
in interfacecom.atlassian.user.GroupManager
- Throws:
com.atlassian.user.EntityException
-
getLocalMemberNames
public com.atlassian.user.search.page.Pager<String> getLocalMemberNames(com.atlassian.user.Group group) throws com.atlassian.user.EntityException - Specified by:
getLocalMemberNames
in interfacecom.atlassian.user.GroupManager
- Throws:
com.atlassian.user.EntityException
-
getExternalMemberNames
public com.atlassian.user.search.page.Pager<String> getExternalMemberNames(com.atlassian.user.Group group) throws com.atlassian.user.EntityException - Specified by:
getExternalMemberNames
in interfacecom.atlassian.user.GroupManager
- Throws:
com.atlassian.user.EntityException
-
getGroup
public com.atlassian.user.Group getGroup(String groupName) throws com.atlassian.user.EntityException - Specified by:
getGroup
in interfacecom.atlassian.user.GroupManager
- Throws:
com.atlassian.user.EntityException
-
createGroup
public com.atlassian.user.Group createGroup(String groupName) throws com.atlassian.user.EntityException - Specified by:
createGroup
in interfacecom.atlassian.user.GroupManager
- Throws:
com.atlassian.user.EntityException
-
removeGroup
public void removeGroup(com.atlassian.user.Group group) throws com.atlassian.user.EntityException, IllegalArgumentException - Specified by:
removeGroup
in interfacecom.atlassian.user.GroupManager
- Throws:
com.atlassian.user.EntityException
IllegalArgumentException
-
addMembership
public void addMembership(com.atlassian.user.Group group, com.atlassian.user.User user) throws com.atlassian.user.EntityException, IllegalArgumentException - Specified by:
addMembership
in interfacecom.atlassian.user.GroupManager
- Throws:
com.atlassian.user.EntityException
IllegalArgumentException
-
hasMembership
public boolean hasMembership(com.atlassian.user.Group group, com.atlassian.user.User user) throws com.atlassian.user.EntityException - Specified by:
hasMembership
in interfacecom.atlassian.user.GroupManager
- Throws:
com.atlassian.user.EntityException
-
removeMembership
public void removeMembership(com.atlassian.user.Group group, com.atlassian.user.User user) throws com.atlassian.user.EntityException, IllegalArgumentException - Specified by:
removeMembership
in interfacecom.atlassian.user.GroupManager
- Throws:
com.atlassian.user.EntityException
IllegalArgumentException
-
supportsExternalMembership
public boolean supportsExternalMembership() throws com.atlassian.user.EntityException- Specified by:
supportsExternalMembership
in interfacecom.atlassian.user.GroupManager
- Throws:
com.atlassian.user.EntityException
-
isReadOnly
public boolean isReadOnly(com.atlassian.user.Group group) throws com.atlassian.user.EntityException - Specified by:
isReadOnly
in interfacecom.atlassian.user.GroupManager
- Throws:
com.atlassian.user.EntityException
-