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 Details

    • EmbeddedCrowdGroupManagerImpl

      public EmbeddedCrowdGroupManagerImpl()
  • Method Details

    • getIdentifier

      public com.atlassian.user.repository.RepositoryIdentifier getIdentifier()
      Specified by:
      getIdentifier in interface com.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 interface com.atlassian.user.EntityManager
      Throws:
      com.atlassian.user.EntityException
    • isCreative

      public boolean isCreative()
      Specified by:
      isCreative in interface com.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 interface com.atlassian.user.GroupManager
      Throws:
      com.atlassian.user.EntityException
    • getWritableGroups

      public List<com.atlassian.user.Group> getWritableGroups()
      Specified by:
      getWritableGroups in interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.atlassian.user.GroupManager
      Throws:
      com.atlassian.user.EntityException
      IllegalArgumentException
    • supportsExternalMembership

      public boolean supportsExternalMembership() throws com.atlassian.user.EntityException
      Specified by:
      supportsExternalMembership in interface com.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 interface com.atlassian.user.GroupManager
      Throws:
      com.atlassian.user.EntityException