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 void
contentEntityRemoved(boolean deletingVersion, ContentEntityObject contentEntity)
void
contentEntityRemoved(ContentEntityObject contentEntity)
Update the index to reflect the deletion of the specified content entity.void
contentEntityVersionRemoved(ContentEntityObject contentEntity)
Update the index to reflect the deletion of the specified content entity version.void
index(Edge edge)
Indexes an edge.void
reIndexPermissions(Object target)
Updates the index to reflect any changes to permissions in the specified target object.void
unIndex(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:EdgeIndexManager
Indexes an edge.- Specified by:
index
in interfaceEdgeIndexManager
-
unIndex
public void unIndex(Edge edge)
Description copied from interface:EdgeIndexManager
Unindexes an edge.- Specified by:
unIndex
in interfaceEdgeIndexManager
-
reIndexPermissions
public void reIndexPermissions(Object target)
Description copied from interface:EdgeIndexManager
Updates the index to reflect any changes to permissions in the specified target object.- Specified by:
reIndexPermissions
in interfaceEdgeIndexManager
-
contentEntityRemoved
public void contentEntityRemoved(boolean deletingVersion, ContentEntityObject contentEntity)
-
contentEntityRemoved
public void contentEntityRemoved(ContentEntityObject contentEntity)
Description copied from interface:EdgeIndexManager
Update the index to reflect the deletion of the specified content entity.- Specified by:
contentEntityRemoved
in interfaceEdgeIndexManager
-
contentEntityVersionRemoved
public void contentEntityVersionRemoved(ContentEntityObject contentEntity)
Description copied from interface:EdgeIndexManager
Update the index to reflect the deletion of the specified content entity version.- Specified by:
contentEntityVersionRemoved
in interfaceEdgeIndexManager
-
-