public class

SharedEntityResolver

extends Object
java.lang.Object
   ↳ com.atlassian.jira.index.ha.SharedEntityResolver

Class Overview

Resolves Shared Entities

Summary

Public Constructors
SharedEntityResolver(SharedEntityAccessor.Factory accessorFactory)
Public Methods
Collection<SharedEntity> getDummySharedEntities(SharedEntityType entityType, Set<Long> ids)
Returns a set of 'placeholder' SharedEntity's - they only have an id
Collection<SharedEntity> getSharedEntities(SharedEntityType entityType, Set<Long> ids)
Returns a collection of SharedEntity's given ids
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SharedEntityResolver (SharedEntityAccessor.Factory accessorFactory)

Public Methods

public Collection<SharedEntity> getDummySharedEntities (SharedEntityType entityType, Set<Long> ids)

Returns a set of 'placeholder' SharedEntity's - they only have an id

Parameters
entityType type of SharedEntity - either SearchRequest or PortalPage
ids set of ids

public Collection<SharedEntity> getSharedEntities (SharedEntityType entityType, Set<Long> ids)

Returns a collection of SharedEntity's given ids

Parameters
entityType type of SharedEntity - either SearchRequest or PortalPage
ids set of ids to get