com.atlassian.jira.sharing
Class DefaultSharedEntityAccessorFactory
java.lang.Object
com.atlassian.jira.sharing.DefaultSharedEntityAccessorFactory
- All Implemented Interfaces:
- SharedEntityAccessor.Factory
public class DefaultSharedEntityAccessorFactory
- extends Object
- implements SharedEntityAccessor.Factory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSharedEntityAccessorFactory
public DefaultSharedEntityAccessorFactory()
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(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-2012 Atlassian. All Rights Reserved.