public abstract class AbstractCrowdGroupManager extends Object implements com.atlassian.user.GroupManager
| Constructor and Description |
|---|
AbstractCrowdGroupManager(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.user.search.page.Pager |
getExternalMemberNames(com.atlassian.user.Group group)
|
com.atlassian.user.repository.RepositoryIdentifier |
getIdentifier()
Returns information about the respository implementation.
|
com.atlassian.user.search.page.Pager |
getLocalMemberNames(com.atlassian.user.Group group) |
com.atlassian.user.repository.RepositoryIdentifier |
getRepository(com.atlassian.user.Entity entity)
Returns information about the respository for a specific entity.
|
boolean |
isCreative() |
boolean |
isReadOnly(com.atlassian.user.Group group)
Returns
true if the specified group and membership of the
specified group cannot be modified in the repository. |
boolean |
supportsExternalMembership()
Returns
true if the repository supports users in other
repositories being members of groups in this repository. |
public AbstractCrowdGroupManager(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier)
public com.atlassian.user.search.page.Pager getExternalMemberNames(com.atlassian.user.Group group)
throws com.atlassian.user.EntityException
getExternalMemberNames in interface com.atlassian.user.GroupManagergroup - The group to lookup.com.atlassian.user.EntityException - Search exception.public boolean supportsExternalMembership()
throws com.atlassian.user.EntityException
true if the repository supports users in other
repositories being members of groups in this repository.
Typically this is true of an application-specific Hibernate repository, but
not of a company's LDAP server. It is designed to allow the LDAP users to
be members of the application's groups for flexible application-level
security.supportsExternalMembership in interface com.atlassian.user.GroupManagercom.atlassian.user.EntityExceptionpublic boolean isReadOnly(com.atlassian.user.Group group)
throws com.atlassian.user.EntityException
true if the specified group and membership of the
specified group cannot be modified in the repository.
If this returns true, invoking methods which attempt to
modify the group or membership of the group will fail with
UnsupportedOperationException.isReadOnly in interface com.atlassian.user.GroupManagercom.atlassian.user.EntityExceptionpublic com.atlassian.user.repository.RepositoryIdentifier getIdentifier()
getIdentifier in interface com.atlassian.user.EntityManagerpublic com.atlassian.user.repository.RepositoryIdentifier getRepository(com.atlassian.user.Entity entity)
throws com.atlassian.user.EntityException
getRepository in interface com.atlassian.user.EntityManagerentity - The entity.com.atlassian.user.EntityExceptionpublic boolean isCreative()
isCreative in interface com.atlassian.user.EntityManagerpublic com.atlassian.user.search.page.Pager getLocalMemberNames(com.atlassian.user.Group group)
throws com.atlassian.user.EntityException
getLocalMemberNames in interface com.atlassian.user.GroupManagercom.atlassian.user.EntityExceptionCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.