com.atlassian.jira.index.ha
Class SharedEntityResolver
java.lang.Object
com.atlassian.jira.index.ha.SharedEntityResolver
public class SharedEntityResolver
- extends Object
Resolves Shared Entities
- Since:
- v6.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SharedEntityResolver
public SharedEntityResolver(SharedEntityAccessor.Factory accessorFactory)
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 PortalPageids
- 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 PortalPageids
- set of ids
Copyright © 2002-2013 Atlassian. All Rights Reserved.