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

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

public class DeleteDocumentIndexTask
extends BaseContentIndexTask
implements com.atlassian.bonnie.ILuceneConnection.ReaderAction


Field Summary
 
Fields inherited from class com.atlassian.confluence.search.lucene.tasks.BaseContentIndexTask
anyTypeObjectDao, documentBuilder, handle, spaceKey, target
 
Constructor Summary
DeleteDocumentIndexTask(com.atlassian.bonnie.Searchable target)
           
DeleteDocumentIndexTask(java.lang.String handle)
           
 
Method Summary
 java.lang.String getDescription()
          A description of the task that can be presented to the user via the UI.
 java.lang.Object perform(org.apache.lucene.index.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(com.atlassian.bonnie.Searchable target)

DeleteDocumentIndexTask

public DeleteDocumentIndexTask(java.lang.String handle)
                        throws java.text.ParseException
Throws:
java.text.ParseException
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 java.lang.Object perform(org.apache.lucene.index.IndexReader reader)
                         throws java.io.IOException
Specified by:
perform in interface com.atlassian.bonnie.ILuceneConnection.ReaderAction
Throws:
java.io.IOException


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.