Class DefaultEdgeIndexManager
- java.lang.Object
-
- com.atlassian.confluence.plugins.edgeindex.DefaultEdgeIndexManager
-
- All Implemented Interfaces:
EdgeIndexManager
@Component public class DefaultEdgeIndexManager extends Object implements EdgeIndexManager
-
-
Constructor Summary
Constructors Constructor Description DefaultEdgeIndexManager(EdgeIndexTaskQueue taskQueue, EdgeFactory edgeFactory, ContentEntityManager contentEntityManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontentEntityRemoved(boolean deletingVersion, ContentEntityObject contentEntity)voidcontentEntityRemoved(ContentEntityObject contentEntity)Update the index to reflect the deletion of the specified content entity.voidcontentEntityVersionRemoved(ContentEntityObject contentEntity)Update the index to reflect the deletion of the specified content entity version.voidindex(Edge edge)Indexes an edge.voidreIndexPermissions(Object target)Updates the index to reflect any changes to permissions in the specified target object.voidunIndex(Edge edge)Unindexes an edge.
-
-
-
Constructor Detail
-
DefaultEdgeIndexManager
@Autowired public DefaultEdgeIndexManager(EdgeIndexTaskQueue taskQueue, EdgeFactory edgeFactory, ContentEntityManager contentEntityManager)
-
-
Method Detail
-
index
public void index(Edge edge)
Description copied from interface:EdgeIndexManagerIndexes an edge.- Specified by:
indexin interfaceEdgeIndexManager
-
unIndex
public void unIndex(Edge edge)
Description copied from interface:EdgeIndexManagerUnindexes an edge.- Specified by:
unIndexin interfaceEdgeIndexManager
-
reIndexPermissions
public void reIndexPermissions(Object target)
Description copied from interface:EdgeIndexManagerUpdates the index to reflect any changes to permissions in the specified target object.- Specified by:
reIndexPermissionsin interfaceEdgeIndexManager
-
contentEntityRemoved
public void contentEntityRemoved(boolean deletingVersion, ContentEntityObject contentEntity)
-
contentEntityRemoved
public void contentEntityRemoved(ContentEntityObject contentEntity)
Description copied from interface:EdgeIndexManagerUpdate the index to reflect the deletion of the specified content entity.- Specified by:
contentEntityRemovedin interfaceEdgeIndexManager
-
contentEntityVersionRemoved
public void contentEntityVersionRemoved(ContentEntityObject contentEntity)
Description copied from interface:EdgeIndexManagerUpdate the index to reflect the deletion of the specified content entity version.- Specified by:
contentEntityVersionRemovedin interfaceEdgeIndexManager
-
-