com.atlassian.user
Interface EntityManager
- All Known Subinterfaces:
- GroupManager, UserManager
- All Known Implementing Classes:
- CachingGroupManager, CachingUserManager, DelegatingGroupManager, DelegatingUserManager, HibernateGroupManager, HibernateUserManager, MemoryGroupManager, MemoryUserManager, MemoryUserManagerReadOnly, OSUEntityManager, OSUGroupManager, OSUUserManager, ReadOnlyGroupManager, ReadOnlyUserManager
- public interface EntityManager
getIdentifier
public RepositoryIdentifier getIdentifier()
- Returns:
- the
RepositoryIdentifier for the repository which is managed by this instance.
getRepository
public RepositoryIdentifier getRepository(Entity entity)
throws EntityException
- Returns:
- the
RepositoryIdentifier of the repository in which the entity is stored, or null
if the entity cannot be found.
- Throws:
EntityException - if the entity cannot be found, or trying to retrieve it results in an error
isCreative
public boolean isCreative()
- Used to detemine whether an entity can be created (eg, can call
UserManager.createUser(String) or
GroupManager.createGroup(String).
- Returns:
- true to indicate that
Entity objects can be created by this manager, or false to indicate
not.
Copyright © 2005-2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.