Interface ITGroupManager


  • public interface ITGroupManager
    • Method Detail

      • getGroup

        com.atlassian.crowd.embedded.api.Group getGroup​(String var1)
      • getGroupsForUser

        Collection<com.atlassian.crowd.embedded.api.Group> getGroupsForUser​(com.atlassian.jira.user.ApplicationUser user)
      • createGroup

        com.atlassian.crowd.embedded.api.Group createGroup​(String groupName)
                                                    throws com.atlassian.crowd.exception.OperationNotPermittedException,
                                                           com.atlassian.crowd.exception.embedded.InvalidGroupException
        Throws:
        com.atlassian.crowd.exception.OperationNotPermittedException
        com.atlassian.crowd.exception.embedded.InvalidGroupException
      • removeUserFromGroup

        void removeUserFromGroup​(com.atlassian.jira.user.ApplicationUser aUser,
                                 String groupName)
                          throws com.atlassian.jira.exception.PermissionException,
                                 com.atlassian.jira.exception.RemoveException
        Throws:
        com.atlassian.jira.exception.PermissionException
        com.atlassian.jira.exception.RemoveException
      • isUserInGroup

        boolean isUserInGroup​(com.atlassian.jira.user.ApplicationUser user,
                              com.atlassian.crowd.embedded.api.Group group)
      • isUserInGroup

        boolean isUserInGroup​(String username,
                              com.atlassian.crowd.embedded.api.Group group)
      • isUserInGroup

        boolean isUserInGroup​(com.atlassian.jira.user.ApplicationUser user,
                              String groupName)
      • addUserToGroup

        void addUserToGroup​(com.atlassian.jira.user.ApplicationUser aUser,
                            com.atlassian.crowd.embedded.api.Group group)
                     throws com.atlassian.crowd.exception.OperationNotPermittedException,
                            com.atlassian.crowd.exception.GroupNotFoundException,
                            com.atlassian.crowd.exception.UserNotFoundException,
                            com.atlassian.crowd.exception.OperationFailedException
        Throws:
        com.atlassian.crowd.exception.OperationNotPermittedException
        com.atlassian.crowd.exception.GroupNotFoundException
        com.atlassian.crowd.exception.UserNotFoundException
        com.atlassian.crowd.exception.OperationFailedException
      • groupExists

        boolean groupExists​(String groupName)
      • getUsersInGroup

        Collection<com.atlassian.jira.user.ApplicationUser> getUsersInGroup​(com.atlassian.crowd.embedded.api.Group group)