com.atlassian.crowd.integration.atlassianuser
Class CrowdGroupManager
java.lang.Object
com.atlassian.crowd.integration.atlassianuser.AbstractCrowdGroupManager
com.atlassian.crowd.integration.atlassianuser.CrowdGroupManager
- All Implemented Interfaces:
- com.atlassian.user.EntityManager, com.atlassian.user.GroupManager
public class CrowdGroupManager
- extends AbstractCrowdGroupManager
Constructor Summary |
CrowdGroupManager(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier)
|
CrowdGroupManager(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier,
com.atlassian.crowd.integration.atlassianuser.UserGroupCache snapshotProvider)
|
Method Summary |
void |
addMembership(com.atlassian.user.Group group,
com.atlassian.user.User user)
|
com.atlassian.user.Group |
createGroup(java.lang.String groupName)
|
com.atlassian.user.Group |
getGroup(java.lang.String groupName)
|
com.atlassian.user.search.page.Pager |
getGroups()
|
com.atlassian.user.search.page.Pager |
getGroups(com.atlassian.user.User user)
|
com.atlassian.user.search.page.Pager |
getMemberNames(com.atlassian.user.Group group)
|
boolean |
hasMembership(com.atlassian.user.Group group,
com.atlassian.user.User user)
|
void |
removeGroup(com.atlassian.user.Group group)
|
void |
removeMembership(com.atlassian.user.Group group,
com.atlassian.user.User user)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrowdGroupManager
public CrowdGroupManager(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier,
com.atlassian.crowd.integration.atlassianuser.UserGroupCache snapshotProvider)
CrowdGroupManager
public CrowdGroupManager(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier)
addMembership
public void addMembership(com.atlassian.user.Group group,
com.atlassian.user.User user)
throws com.atlassian.user.EntityException,
java.lang.IllegalArgumentException
- Throws:
com.atlassian.user.EntityException
java.lang.IllegalArgumentException
createGroup
public com.atlassian.user.Group createGroup(java.lang.String groupName)
throws com.atlassian.user.EntityException
- Throws:
com.atlassian.user.EntityException
getGroup
public com.atlassian.user.Group getGroup(java.lang.String groupName)
throws com.atlassian.user.EntityException
- Throws:
com.atlassian.user.EntityException
getGroups
public com.atlassian.user.search.page.Pager getGroups()
throws com.atlassian.user.EntityException
- Throws:
com.atlassian.user.EntityException
getGroups
public com.atlassian.user.search.page.Pager getGroups(com.atlassian.user.User user)
throws com.atlassian.user.EntityException
- Throws:
com.atlassian.user.EntityException
getMemberNames
public com.atlassian.user.search.page.Pager getMemberNames(com.atlassian.user.Group group)
throws com.atlassian.user.EntityException
- Throws:
com.atlassian.user.EntityException
hasMembership
public boolean hasMembership(com.atlassian.user.Group group,
com.atlassian.user.User user)
throws com.atlassian.user.EntityException
- Throws:
com.atlassian.user.EntityException
removeGroup
public void removeGroup(com.atlassian.user.Group group)
throws com.atlassian.user.EntityException
- Throws:
com.atlassian.user.EntityException
removeMembership
public void removeMembership(com.atlassian.user.Group group,
com.atlassian.user.User user)
throws com.atlassian.user.EntityException,
java.lang.IllegalArgumentException
- Throws:
com.atlassian.user.EntityException
java.lang.IllegalArgumentException
Copyright © 2012 Atlassian. All Rights Reserved.