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.GroupManager
group
- 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.GroupManager
com.atlassian.user.EntityException
public 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.GroupManager
com.atlassian.user.EntityException
public com.atlassian.user.repository.RepositoryIdentifier getIdentifier()
getIdentifier
in interface com.atlassian.user.EntityManager
public com.atlassian.user.repository.RepositoryIdentifier getRepository(com.atlassian.user.Entity entity) throws com.atlassian.user.EntityException
getRepository
in interface com.atlassian.user.EntityManager
entity
- The entity.com.atlassian.user.EntityException
public boolean isCreative()
isCreative
in interface com.atlassian.user.EntityManager
public com.atlassian.user.search.page.Pager getLocalMemberNames(com.atlassian.user.Group group) throws com.atlassian.user.EntityException
getLocalMemberNames
in interface com.atlassian.user.GroupManager
com.atlassian.user.EntityException
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.