Class ReindexUsersInGroupContentIndexTask
java.lang.Object
com.atlassian.confluence.internal.search.tasks.ReindexUsersInGroupContentIndexTask
- All Implemented Interfaces:
- ConfluenceIndexTask,- ConvertibleToJournalEntry,- HandleAware,- IndexTask
@LuceneIndependent
@Internal
public class ReindexUsersInGroupContentIndexTask
extends Object
implements ConfluenceIndexTask, HandleAware
Updates all personal information and associated user entries in the content index for a particular group.
- Since:
- 7.9.0
- 
Constructor SummaryConstructorsConstructorDescriptionReindexUsersInGroupContentIndexTask(BatchOperationManager batchOperationManager, PersonalInformationManager personalInformationManager, GroupResolver groupResolver, GroupMembershipAccessor groupMembershipAccessor, IndexTaskFactoryInternal indexTaskFactory, String groupName) 
- 
Method SummaryModifier and TypeMethodDescriptionconvertToJournalEntry(JournalIdentifier journalId) Convert to journal entry.A description of the task that can be presented to the user via the UI.voidperform(SearchIndexWriter writer) Executes this task against a document writer.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.search.ConfluenceIndexTaskisRetryable
- 
Constructor Details- 
ReindexUsersInGroupContentIndexTaskpublic ReindexUsersInGroupContentIndexTask(BatchOperationManager batchOperationManager, PersonalInformationManager personalInformationManager, GroupResolver groupResolver, GroupMembershipAccessor groupMembershipAccessor, IndexTaskFactoryInternal indexTaskFactory, String groupName) - Since:
- 7.17
 
 
- 
- 
Method Details- 
getDescriptionDescription copied from interface:IndexTaskA description of the task that can be presented to the user via the UI.- Specified by:
- getDescriptionin interface- IndexTask
- Returns:
- an readable message.
 
- 
performDescription copied from interface:ConfluenceIndexTaskExecutes this task against a document writer.- Specified by:
- performin interface- ConfluenceIndexTask
- Throws:
- IOException
 
- 
convertToJournalEntryDescription copied from interface:ConvertibleToJournalEntryConvert to journal entry.- Specified by:
- convertToJournalEntryin interface- ConvertibleToJournalEntry
- Parameters:
- journalId- journal identifier
- Returns:
- an optional containing a journal entry or empty if this cannot be converted.
 
- 
getHandle- Specified by:
- getHandlein interface- HandleAware
- Returns:
- the handle
 
- 
getSearchIndex- Specified by:
- getSearchIndexin interface- ConfluenceIndexTask
- Returns:
- the SearchIndexthat the task should write to
 
 
-