|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.search.lucene.tasks.IndexTaskFactory
public class IndexTaskFactory
Creates index tasks and provides conversion into queue entries for implementations of IndexTaskQueue
Constructor Summary | |
---|---|
IndexTaskFactory()
|
Method Summary | |
---|---|
ConfluenceIndexTask |
createAddChangeDocumentTask(com.atlassian.bonnie.Searchable searchable)
Constructs an add change document task. |
ConfluenceIndexTask |
createAddDocumentTask(com.atlassian.bonnie.Searchable searchable)
Returns an add document task. |
AddDocumentIndexTask |
createAddDocumentTask(java.lang.String handle)
Deprecated. |
ConfluenceIndexTask |
createDeleteChangeDocumentsIndexTask(com.atlassian.bonnie.Searchable searchable)
|
ConfluenceIndexTask |
createDeleteChangeDocumentsIndexTask(java.lang.String handle)
|
ConfluenceIndexTask |
createDeleteDocumentTask(com.atlassian.bonnie.Searchable searchable)
|
ConfluenceIndexTask |
createDeleteDocumentTask(java.lang.String handle)
|
OptimizeIndexTask |
createOptimizeIndexTask()
|
ConfluenceIndexTask |
createRebuildChangeDocumentsIndexTask(com.atlassian.bonnie.Searchable searchable)
|
UnIndexSpaceIndexTask |
createUnIndexSpaceTask(Space space)
|
UnIndexSpaceIndexTask |
createUnIndexSpaceTask(java.lang.String handle)
|
ConfluenceIndexTask |
createUpdateDocumentTask(com.atlassian.bonnie.Searchable searchable)
Returns an update document task. |
AttachmentManager |
getAttachmentManager()
|
void |
setAnyTypeDao(AnyTypeDao anyTypeDao)
|
void |
setChangeDocumentBuilder(com.atlassian.bonnie.search.DocumentBuilder changeDocumentBuilder)
|
void |
setContentEntityObjectDao(ContentEntityObjectDao contentEntityObjectDao)
|
void |
setDocumentBuilder(com.atlassian.bonnie.search.DocumentBuilder documentBuilder)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexTaskFactory()
Method Detail |
---|
public void setAnyTypeDao(AnyTypeDao anyTypeDao)
public void setDocumentBuilder(com.atlassian.bonnie.search.DocumentBuilder documentBuilder)
public UnIndexSpaceIndexTask createUnIndexSpaceTask(java.lang.String handle)
handle
- space keypublic UnIndexSpaceIndexTask createUnIndexSpaceTask(Space space)
public ConfluenceIndexTask createDeleteDocumentTask(com.atlassian.bonnie.Searchable searchable)
public ConfluenceIndexTask createDeleteDocumentTask(java.lang.String handle)
public ConfluenceIndexTask createUpdateDocumentTask(com.atlassian.bonnie.Searchable searchable)
searchable
- the searchable
public ConfluenceIndexTask createAddDocumentTask(com.atlassian.bonnie.Searchable searchable)
searchable
- the searchable
@Deprecated public AddDocumentIndexTask createAddDocumentTask(java.lang.String handle) throws java.text.ParseException
java.text.ParseException
public ConfluenceIndexTask createDeleteChangeDocumentsIndexTask(com.atlassian.bonnie.Searchable searchable)
searchable
-
public ConfluenceIndexTask createDeleteChangeDocumentsIndexTask(java.lang.String handle)
handle
- handle to the latest version
public OptimizeIndexTask createOptimizeIndexTask()
public ConfluenceIndexTask createRebuildChangeDocumentsIndexTask(com.atlassian.bonnie.Searchable searchable)
public ConfluenceIndexTask createAddChangeDocumentTask(com.atlassian.bonnie.Searchable searchable)
searchable
- the searchable
NoOpIndexTask
if searchable is nullpublic void setChangeDocumentBuilder(com.atlassian.bonnie.search.DocumentBuilder changeDocumentBuilder)
public void setContentEntityObjectDao(ContentEntityObjectDao contentEntityObjectDao)
public AttachmentManager getAttachmentManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |