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

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

public class UnIndexSpaceIndexTask
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
  UnIndexSpaceIndexTask(Searchable target)
           
protected UnIndexSpaceIndexTask(String handle)
           
 
Method Summary
protected  Handle createHandle(Searchable target)
           
protected  Handle createHandle(String handle)
          The default create handle implementation creates a handle that can be used to retrieve the searchable target from the persistent store via the
 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
equals, getHandle, getTarget, hashCode, setAnyTypeObjectDao, setDocumentBuilder, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnIndexSpaceIndexTask

public UnIndexSpaceIndexTask(Searchable target)

UnIndexSpaceIndexTask

protected UnIndexSpaceIndexTask(String handle)
                         throws ParseException
Method Detail

createHandle

protected Handle createHandle(String handle)
                       throws ParseException
Description copied from class: BaseContentIndexTask
The default create handle implementation creates a handle that can be used to retrieve the searchable target from the persistent store via the
AnyTypeObjectDao.findByHandle(handle);

Overrides:
createHandle in class BaseContentIndexTask
Parameters:
handle -
Returns:
Throws:
ParseException

createHandle

protected Handle createHandle(Searchable target)
Overrides:
createHandle in class BaseContentIndexTask

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.