com.atlassian.user.configuration
Interface DelegationAccessor

All Superinterfaces:
RepositoryAccessor
All Known Implementing Classes:
DefaultDelegationAccessor

public interface DelegationAccessor
extends RepositoryAccessor

Given to an application to access the delegation of repositories.


Method Summary
 void addRepositoryAccessor(RepositoryAccessor accessor)
          Adds a RepositoryAccessor to the end of the delegation order.
 RepositoryAccessor getRepositoryAccessor(java.lang.String key)
           
 java.util.List getRepositoryAccessors()
           
 
Methods inherited from interface com.atlassian.user.configuration.RepositoryAccessor
getAuthenticator, getEntityQueryParser, getGroupManager, getIdentifier, getPropertySetFactory, getUserManager
 

Method Detail

getRepositoryAccessor

public RepositoryAccessor getRepositoryAccessor(java.lang.String key)
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()
Returns:
a list of RepositoryAccessors in the order of delegation.

addRepositoryAccessor

public void addRepositoryAccessor(RepositoryAccessor accessor)
Adds a RepositoryAccessor to the end of the delegation order.



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