Class ReIndexPermissionsIndexTask
java.lang.Object
com.atlassian.confluence.plugins.edgeindex.tasks.ReIndexPermissionsIndexTask
- All Implemented Interfaces:
EdgeIndexTask
,ConfluenceIndexTask
,ConvertibleToJournalEntry
,IndexTask
@ParametersAreNonnullByDefault
public class ReIndexPermissionsIndexTask
extends Object
implements EdgeIndexTask
- Since:
- 7.17
-
Constructor Summary
ConstructorDescriptionReIndexPermissionsIndexTask
(String contentId, ContentEntityManager contentEntityManager, com.atlassian.sal.api.transaction.TransactionTemplate txTemplate, EdgeSearchIndexAccessor edgeSearchIndexAccessor, ContentPermissionCalculator contentPermissionCalculator) -
Method Summary
Modifier and TypeMethodDescriptionA description of the task that can be presented to the user via the UI.void
perform
(SearchIndexWriter searchIndexWriter) Executes this task against a document writer.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.plugins.edgeindex.EdgeIndexTask
convertToJournalEntry
-
Constructor Details
-
ReIndexPermissionsIndexTask
public ReIndexPermissionsIndexTask(String contentId, ContentEntityManager contentEntityManager, com.atlassian.sal.api.transaction.TransactionTemplate txTemplate, EdgeSearchIndexAccessor edgeSearchIndexAccessor, ContentPermissionCalculator contentPermissionCalculator)
-
-
Method Details
-
getDescription
Description copied from interface:IndexTask
A description of the task that can be presented to the user via the UI.- Specified by:
getDescription
in interfaceIndexTask
- Returns:
- an readable message.
-
getSearchIndex
- Specified by:
getSearchIndex
in interfaceConfluenceIndexTask
- Returns:
- the
SearchIndex
that the task should write to
-
perform
Description copied from interface:ConfluenceIndexTask
Executes this task against a document writer.- Specified by:
perform
in interfaceConfluenceIndexTask
-