@Transactional public class EmbeddedCrowdGroupManagerImpl extends Object implements EmbeddedCrowdGroupManager
Constructor and Description |
---|
EmbeddedCrowdGroupManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
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 |
getGroup(String groupName) |
com.atlassian.user.search.page.Pager<com.atlassian.user.Group> |
getGroups() |
com.atlassian.user.search.page.Pager<com.atlassian.user.Group> |
getGroups(com.atlassian.user.User user) |
com.atlassian.user.repository.RepositoryIdentifier |
getIdentifier() |
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> |
getWritableGroups() |
boolean |
hasMembership(com.atlassian.user.Group group,
com.atlassian.user.User user) |
boolean |
isCreative() |
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 |
supportsExternalMembership() |
public com.atlassian.user.repository.RepositoryIdentifier getIdentifier()
getIdentifier
in interface com.atlassian.user.EntityManager
public com.atlassian.user.repository.RepositoryIdentifier getRepository(com.atlassian.user.Entity entity) throws com.atlassian.user.EntityException
getRepository
in interface com.atlassian.user.EntityManager
com.atlassian.user.EntityException
public boolean isCreative()
isCreative
in interface com.atlassian.user.EntityManager
public com.atlassian.user.search.page.Pager<com.atlassian.user.Group> getGroups() throws com.atlassian.user.EntityException
getGroups
in interface com.atlassian.user.GroupManager
com.atlassian.user.EntityException
public List<com.atlassian.user.Group> getWritableGroups()
getWritableGroups
in interface com.atlassian.user.GroupManager
public com.atlassian.user.search.page.Pager<com.atlassian.user.Group> getGroups(com.atlassian.user.User user)
getGroups
in interface com.atlassian.user.GroupManager
public com.atlassian.user.search.page.Pager<String> getMemberNames(com.atlassian.user.Group group) throws com.atlassian.user.EntityException
getMemberNames
in interface com.atlassian.user.GroupManager
com.atlassian.user.EntityException
public com.atlassian.user.search.page.Pager<String> getLocalMemberNames(com.atlassian.user.Group group) throws com.atlassian.user.EntityException
getLocalMemberNames
in interface com.atlassian.user.GroupManager
com.atlassian.user.EntityException
public com.atlassian.user.search.page.Pager<String> getExternalMemberNames(com.atlassian.user.Group group) throws com.atlassian.user.EntityException
getExternalMemberNames
in interface com.atlassian.user.GroupManager
com.atlassian.user.EntityException
public com.atlassian.user.Group getGroup(String groupName) throws com.atlassian.user.EntityException
getGroup
in interface com.atlassian.user.GroupManager
com.atlassian.user.EntityException
public com.atlassian.user.Group createGroup(String groupName) throws com.atlassian.user.EntityException
createGroup
in interface com.atlassian.user.GroupManager
com.atlassian.user.EntityException
public void removeGroup(com.atlassian.user.Group group) throws com.atlassian.user.EntityException, IllegalArgumentException
removeGroup
in interface com.atlassian.user.GroupManager
com.atlassian.user.EntityException
IllegalArgumentException
public void addMembership(com.atlassian.user.Group group, com.atlassian.user.User user) throws com.atlassian.user.EntityException, IllegalArgumentException
addMembership
in interface com.atlassian.user.GroupManager
com.atlassian.user.EntityException
IllegalArgumentException
public boolean hasMembership(com.atlassian.user.Group group, com.atlassian.user.User user) throws com.atlassian.user.EntityException
hasMembership
in interface com.atlassian.user.GroupManager
com.atlassian.user.EntityException
public void removeMembership(com.atlassian.user.Group group, com.atlassian.user.User user) throws com.atlassian.user.EntityException, IllegalArgumentException
removeMembership
in interface com.atlassian.user.GroupManager
com.atlassian.user.EntityException
IllegalArgumentException
public boolean supportsExternalMembership() throws com.atlassian.user.EntityException
supportsExternalMembership
in interface com.atlassian.user.GroupManager
com.atlassian.user.EntityException
public boolean isReadOnly(com.atlassian.user.Group group) throws com.atlassian.user.EntityException
isReadOnly
in interface com.atlassian.user.GroupManager
com.atlassian.user.EntityException
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.