public static interface

SharedEntityAccessor.Factory

com.atlassian.jira.sharing.SharedEntityAccessor.Factory
Known Indirect Subclasses

Class Overview

Factory to retrieve a SharedEntityAccessor for a given SharedEntity

Summary

Public Methods
<S extends SharedEntity> SharedEntityAccessor<S> getSharedEntityAccessor(String type)
Retrieves a SharedEntityAccessor that can operate on the passed type.
<S extends SharedEntity> SharedEntityAccessor<S> getSharedEntityAccessor(TypeDescriptor<S> type)
Retrieves a SharedEntityAccessor that can operate on the passed type.

Public Methods

public SharedEntityAccessor<S> getSharedEntityAccessor (String type)

Retrieves a SharedEntityAccessor that can operate on the passed type. E.g. SearchRequestManager will be returned for a SearchRequest.

Parameters
type the type of entity to adjust
Returns
  • the corresponding accessor.

public SharedEntityAccessor<S> getSharedEntityAccessor (TypeDescriptor<S> type)

Retrieves a SharedEntityAccessor that can operate on the passed type. E.g. SearchRequestManager will be returned for a SearchRequest.

Parameters
type the type of entity.
Returns
  • the corresponding accessor.