Interface ITGroupManager
-
public interface ITGroupManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addUserToGroup(com.atlassian.jira.user.ApplicationUser aUser, com.atlassian.crowd.embedded.api.Group group)
com.atlassian.crowd.embedded.api.Group
createGroup(String groupName)
com.atlassian.crowd.embedded.api.Group
getGroup(String var1)
Collection<com.atlassian.crowd.embedded.api.Group>
getGroupsForUser(com.atlassian.jira.user.ApplicationUser user)
Collection<com.atlassian.jira.user.ApplicationUser>
getUsersInGroup(com.atlassian.crowd.embedded.api.Group group)
boolean
groupExists(String groupName)
boolean
isUserInGroup(com.atlassian.jira.user.ApplicationUser user, com.atlassian.crowd.embedded.api.Group group)
boolean
isUserInGroup(com.atlassian.jira.user.ApplicationUser user, String groupName)
boolean
isUserInGroup(String username, com.atlassian.crowd.embedded.api.Group group)
void
removeUserFromGroup(com.atlassian.jira.user.ApplicationUser aUser, String groupName)
-
-
-
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)
-
-