com.atlassian.jira.index.ha
Class SharedEntityResolver

java.lang.Object
  extended by com.atlassian.jira.index.ha.SharedEntityResolver

public class SharedEntityResolver
extends Object

Resolves Shared Entities

Since:
v6.1

Constructor Summary
SharedEntityResolver(SharedEntityAccessor.Factory accessorFactory)
           
 
Method Summary
 Collection<SharedEntity> getDummySharedEntities(ReplicatedIndexOperation.SharedEntityType entityType, Set<Long> ids)
          Returns a set of 'placeholder' SharedEntity's - they only have an id
 Collection<SharedEntity> getSharedEntities(ReplicatedIndexOperation.SharedEntityType entityType, Set<Long> ids)
          Returns a collection of SharedEntity's given ids
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedEntityResolver

public SharedEntityResolver(SharedEntityAccessor.Factory accessorFactory)
Method Detail

getSharedEntities

public Collection<SharedEntity> getSharedEntities(ReplicatedIndexOperation.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

getDummySharedEntities

public Collection<SharedEntity> getDummySharedEntities(ReplicatedIndexOperation.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


Copyright © 2002-2014 Atlassian. All Rights Reserved.