Class EmbeddedCrowdGroupManager
- java.lang.Object
-
- com.atlassian.crowd.embedded.atlassianuser.EmbeddedCrowdGroupManager
-
- All Implemented Interfaces:
com.atlassian.user.EntityManager
,com.atlassian.user.GroupManager
@Deprecated public class EmbeddedCrowdGroupManager extends Object implements com.atlassian.user.GroupManager
Deprecated.since 7.0.1 because atlassian-embedded-crowd-atlassian-user module was removed. No replacementCopied from atlassian-embedded-crowd library- Since:
- 7.0.1
-
-
Constructor Summary
Constructors Constructor Description EmbeddedCrowdGroupManager(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier, com.atlassian.crowd.embedded.api.CrowdService crowdService)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addMembership(com.atlassian.user.Group group, com.atlassian.user.User user)
Deprecated.com.atlassian.user.Group
createGroup(String groupName)
Deprecated.com.atlassian.user.search.page.Pager<String>
getExternalMemberNames(com.atlassian.user.Group group)
Deprecated.com.atlassian.user.Group
getGroup(String groupName)
Deprecated.com.atlassian.user.search.page.Pager<com.atlassian.user.Group>
getGroups()
Deprecated.com.atlassian.user.search.page.Pager<com.atlassian.user.Group>
getGroups(com.atlassian.user.User user)
Deprecated.com.atlassian.user.repository.RepositoryIdentifier
getIdentifier()
Deprecated.com.atlassian.user.search.page.Pager<String>
getLocalMemberNames(com.atlassian.user.Group group)
Deprecated.com.atlassian.user.search.page.Pager<String>
getMemberNames(com.atlassian.user.Group group)
Deprecated.com.atlassian.user.repository.RepositoryIdentifier
getRepository(com.atlassian.user.Entity entity)
Deprecated.List<com.atlassian.user.Group>
getWritableGroups()
Deprecated.boolean
hasMembership(com.atlassian.user.Group group, com.atlassian.user.User user)
Deprecated.boolean
isCreative()
Deprecated.boolean
isReadOnly(com.atlassian.user.Group group)
Deprecated.void
removeGroup(com.atlassian.user.Group group)
Deprecated.void
removeMembership(com.atlassian.user.Group group, com.atlassian.user.User user)
Deprecated.boolean
supportsExternalMembership()
Deprecated.
-
-
-
Method Detail
-
getIdentifier
public com.atlassian.user.repository.RepositoryIdentifier getIdentifier()
Deprecated.- 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
Deprecated.- Specified by:
getRepository
in interfacecom.atlassian.user.EntityManager
- Throws:
com.atlassian.user.EntityException
-
isCreative
public boolean isCreative()
Deprecated.- 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
Deprecated.- Specified by:
getGroups
in interfacecom.atlassian.user.GroupManager
- Throws:
com.atlassian.user.EntityException
-
getWritableGroups
public List<com.atlassian.user.Group> getWritableGroups()
Deprecated.- 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) throws com.atlassian.user.EntityException
Deprecated.- Specified by:
getGroups
in interfacecom.atlassian.user.GroupManager
- Throws:
com.atlassian.user.EntityException
-
getMemberNames
public com.atlassian.user.search.page.Pager<String> getMemberNames(com.atlassian.user.Group group) throws com.atlassian.user.EntityException
Deprecated.- 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
Deprecated.- 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
Deprecated.- 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
Deprecated.- 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
Deprecated.- 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
Deprecated.- 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
Deprecated.- 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
Deprecated.- 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
Deprecated.- Specified by:
removeMembership
in interfacecom.atlassian.user.GroupManager
- Throws:
com.atlassian.user.EntityException
IllegalArgumentException
-
supportsExternalMembership
public boolean supportsExternalMembership() throws com.atlassian.user.EntityException
Deprecated.- 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
Deprecated.- Specified by:
isReadOnly
in interfacecom.atlassian.user.GroupManager
- Throws:
com.atlassian.user.EntityException
-
-