com.atlassian.jira.sharing
Class DefaultSharedEntityAccessorFactory

java.lang.Object
  extended by com.atlassian.jira.sharing.DefaultSharedEntityAccessorFactory
All Implemented Interfaces:
SharedEntityAccessor.Factory

public class DefaultSharedEntityAccessorFactory
extends java.lang.Object
implements SharedEntityAccessor.Factory


Constructor Summary
DefaultSharedEntityAccessorFactory()
           
 
Method Summary
<S extends SharedEntity>
SharedEntityAccessor<S>
getSharedEntityAccessor(SharedEntity.TypeDescriptor<S> type)
          Retrieves a SharedEntityAccessor that can operate on the passed type.
<S extends SharedEntity>
SharedEntityAccessor<S>
getSharedEntityAccessor(java.lang.String type)
          Retrieves a SharedEntityAccessor that can operate on the passed type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSharedEntityAccessorFactory

public DefaultSharedEntityAccessorFactory()
Method Detail

getSharedEntityAccessor

public <S extends SharedEntity> SharedEntityAccessor<S> getSharedEntityAccessor(SharedEntity.TypeDescriptor<S> type)
Description copied from interface: SharedEntityAccessor.Factory
Retrieves a SharedEntityAccessor that can operate on the passed type. E.g. SearchRequestManager will be returned for a SearchRequest.

Specified by:
getSharedEntityAccessor in interface SharedEntityAccessor.Factory
Parameters:
type - the type of entity.
Returns:
the corresponding accessor.

getSharedEntityAccessor

public <S extends SharedEntity> SharedEntityAccessor<S> getSharedEntityAccessor(java.lang.String type)
Description copied from interface: SharedEntityAccessor.Factory
Retrieves a SharedEntityAccessor that can operate on the passed type. E.g. SearchRequestManager will be returned for a SearchRequest.

Specified by:
getSharedEntityAccessor in interface SharedEntityAccessor.Factory
Parameters:
type - the type of entity to adjust
Returns:
the corresponding accessor.


Copyright © 2002-2010 Atlassian. All Rights Reserved.