com.atlassian.confluence.plugins.edgeindex.lucene.tasks
Class ReIndexPermissionsIndexTask

java.lang.Object
  extended by com.atlassian.confluence.plugins.edgeindex.lucene.tasks.ReIndexPermissionsIndexTask
All Implemented Interfaces:
com.atlassian.bonnie.ILuceneConnection.WriterAction, EdgeIndexTask, IndexTask

public class ReIndexPermissionsIndexTask
extends java.lang.Object
implements EdgeIndexTask


Constructor Summary
ReIndexPermissionsIndexTask(java.lang.String pageId, ContentPermissionsExtractor contentPermissionsExtractor, ContentEntityManager contentEntityManager, com.atlassian.sal.api.transaction.TransactionTemplate txTemplate)
           
 
Method Summary
 java.lang.String getDescription()
          A description of the task that can be presented to the user via the UI.
 void perform(org.apache.lucene.index.IndexWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReIndexPermissionsIndexTask

public ReIndexPermissionsIndexTask(java.lang.String pageId,
                                   ContentPermissionsExtractor contentPermissionsExtractor,
                                   ContentEntityManager contentEntityManager,
                                   com.atlassian.sal.api.transaction.TransactionTemplate txTemplate)
Method Detail

getDescription

public java.lang.String 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 interface IndexTask
Returns:
an readable message.

perform

public void perform(org.apache.lucene.index.IndexWriter writer)
             throws java.io.IOException
Specified by:
perform in interface com.atlassian.bonnie.ILuceneConnection.WriterAction
Throws:
java.io.IOException


Copyright © 2003-2014 Atlassian. All Rights Reserved.