com.atlassian.user.impl.osuser
Class OSUEntityManager

java.lang.Object
  extended bycom.atlassian.user.impl.osuser.OSUEntityManager
All Implemented Interfaces:
EntityManager
Direct Known Subclasses:
OSUGroupManager, OSUUserManager

public abstract class OSUEntityManager
extends java.lang.Object
implements EntityManager


Field Summary
protected  RepositoryIdentifier repository
           
 
Constructor Summary
OSUEntityManager(RepositoryIdentifier repo)
           
 
Method Summary
 RepositoryIdentifier getConfiguration()
           
 RepositoryIdentifier getIdentifier()
           
 boolean isCreative()
          Used to detemine whether an entity can be created (eg, can call UserManager#createUser(String) or GroupManager#createGroup(String).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.user.EntityManager
getRepository
 

Field Detail

repository

protected RepositoryIdentifier repository
Constructor Detail

OSUEntityManager

public OSUEntityManager(RepositoryIdentifier repo)
                 throws EntityException
Method Detail

getConfiguration

public RepositoryIdentifier getConfiguration()

isCreative

public boolean isCreative()
Description copied from interface: EntityManager
Used to detemine whether an entity can be created (eg, can call UserManager.createUser(String) or GroupManager.createGroup(String).

Specified by:
isCreative in interface EntityManager
Returns:
true to indicate that Entity objects can be created by this manager, or false to indicate not.

getIdentifier

public RepositoryIdentifier getIdentifier()
Specified by:
getIdentifier in interface EntityManager
Returns:
the RepositoryIdentifier for the repository which is managed by this instance.


Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.