com.atlassian.confluence.search.lucene.tasks
Class DeleteDocumentIndexTask

java.lang.Object
  extended bycom.atlassian.confluence.search.lucene.tasks.BaseContentIndexTask
      extended bycom.atlassian.confluence.search.lucene.tasks.DeleteDocumentIndexTask
All Implemented Interfaces:
ContentIndexTask, ILuceneConnection.ReaderAction, IndexTask

public class DeleteDocumentIndexTask
extends BaseContentIndexTask
implements ILuceneConnection.ReaderAction


Field Summary
 
Fields inherited from class com.atlassian.confluence.search.lucene.tasks.BaseContentIndexTask
anyTypeObjectDao, documentBuilder, handle, spaceKey, target
 
Constructor Summary
DeleteDocumentIndexTask(Searchable target)
           
DeleteDocumentIndexTask(String handle)
           
 
Method Summary
 String getDescription()
          A description of the task that can be presented to the user via the UI.
 Object perform(IndexReader reader)
           
 
Methods inherited from class com.atlassian.confluence.search.lucene.tasks.BaseContentIndexTask
createHandle, createHandle, equals, getHandle, getTarget, hashCode, setAnyTypeObjectDao, setDocumentBuilder, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteDocumentIndexTask

public DeleteDocumentIndexTask(Searchable target)

DeleteDocumentIndexTask

public DeleteDocumentIndexTask(String handle)
                        throws ParseException
Method Detail

getDescription

public 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 Object perform(IndexReader reader)
               throws IOException
Specified by:
perform in interface ILuceneConnection.ReaderAction
Throws:
IOException


Confluence is developed by Atlassian.