com.atlassian.user.configuration
Class DefaultDelegationAccessor

java.lang.Object
  extended bycom.atlassian.user.configuration.DefaultDelegationAccessor
All Implemented Interfaces:
DelegationAccessor, RepositoryAccessor

public class DefaultDelegationAccessor
extends java.lang.Object
implements DelegationAccessor


Constructor Summary
DefaultDelegationAccessor()
           
DefaultDelegationAccessor(java.util.List repositoryAccessors)
           
 
Method Summary
 void addRepositoryAccessor(RepositoryAccessor accessor)
          Adds a RepositoryAccessor to the end of the delegation order.
 Authenticator getAuthenticator()
           
 EntityQueryParser getEntityQueryParser()
           
 GroupManager getGroupManager()
           
 RepositoryIdentifier getIdentifier()
           
 PropertySetFactory getPropertySetFactory()
           
 RepositoryAccessor getRepositoryAccessor(java.lang.String key)
           
 java.util.List getRepositoryAccessors()
           
 UserManager getUserManager()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDelegationAccessor

public DefaultDelegationAccessor()

DefaultDelegationAccessor

public DefaultDelegationAccessor(java.util.List repositoryAccessors)
Method Detail

getIdentifier

public RepositoryIdentifier getIdentifier()
Specified by:
getIdentifier in interface RepositoryAccessor

getUserManager

public UserManager getUserManager()
Specified by:
getUserManager in interface RepositoryAccessor

getGroupManager

public GroupManager getGroupManager()
Specified by:
getGroupManager in interface RepositoryAccessor

getPropertySetFactory

public PropertySetFactory getPropertySetFactory()
Specified by:
getPropertySetFactory in interface RepositoryAccessor

getAuthenticator

public Authenticator getAuthenticator()
Specified by:
getAuthenticator in interface RepositoryAccessor

getEntityQueryParser

public EntityQueryParser getEntityQueryParser()
Specified by:
getEntityQueryParser in interface RepositoryAccessor

getRepositoryAccessor

public RepositoryAccessor getRepositoryAccessor(java.lang.String key)
Specified by:
getRepositoryAccessor in interface DelegationAccessor
Returns:
the RepositoryAccessor for the repository with the specified key, or null if no repository exists for the given key.

getRepositoryAccessors

public java.util.List getRepositoryAccessors()
Specified by:
getRepositoryAccessors in interface DelegationAccessor
Returns:
a list of RepositoryAccessors in the order of delegation.

addRepositoryAccessor

public void addRepositoryAccessor(RepositoryAccessor accessor)
Description copied from interface: DelegationAccessor
Adds a RepositoryAccessor to the end of the delegation order.

Specified by:
addRepositoryAccessor in interface DelegationAccessor


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