com.atlassian.crowd.integration.atlassianuser
Class AbstractCrowdUserManager

java.lang.Object
  extended by com.atlassian.crowd.integration.atlassianuser.AbstractCrowdUserManager
All Implemented Interfaces:
com.atlassian.user.EntityManager, com.atlassian.user.UserManager
Direct Known Subclasses:
CrowdUserManager, DirectCrowdUserManager

public abstract class AbstractCrowdUserManager
extends java.lang.Object
implements com.atlassian.user.UserManager


Constructor Summary
AbstractCrowdUserManager(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier)
           
 
Method Summary
 com.atlassian.user.repository.RepositoryIdentifier getIdentifier()
          Returns information about the respository implementation.
 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.User user)
          Determines if the user is read only.
 
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.UserManager
alterPassword, createUser, getUser, getUserNames, getUsers, removeUser, saveUser
 

Constructor Detail

AbstractCrowdUserManager

public AbstractCrowdUserManager(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier)
Method Detail

isReadOnly

public boolean isReadOnly(com.atlassian.user.User user)
                   throws com.atlassian.user.EntityException
Determines if the user is read only. Always returns false.

Specified by:
isReadOnly in interface com.atlassian.user.UserManager
Parameters:
user - The user to check.
Returns:
true indicates that information on the user object cannot be altered in the storage system false indicates that the storage system will save changes or that this UserManager does not know about the User.
Throws:
com.atlassian.user.EntityException

getIdentifier

public com.atlassian.user.repository.RepositoryIdentifier getIdentifier()
Returns information about the respository implementation.

Specified by:
getIdentifier in interface com.atlassian.user.EntityManager
Returns:
The repository configuration.

getRepository

public com.atlassian.user.repository.RepositoryIdentifier getRepository(com.atlassian.user.Entity entity)
                                                                 throws com.atlassian.user.EntityException
Returns information about the respository for a specific entity.

Specified by:
getRepository in interface com.atlassian.user.EntityManager
Parameters:
entity - The entity.
Returns:
The repository configuration.
Throws:
com.atlassian.user.EntityException

isCreative

public boolean isCreative()
Specified by:
isCreative in interface com.atlassian.user.EntityManager


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.