|
||||||||||
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.BaseContentIndexTask
@Deprecated public abstract class BaseContentIndexTask
A base implementation of a ContentIndexTask, that maintains a handle to the searchable target.
Field Summary | |
---|---|
protected AnyTypeDao |
anyTypeDao
Deprecated. Required resource. |
protected com.atlassian.bonnie.search.DocumentBuilder |
documentBuilder
Deprecated. Required resource. |
protected com.atlassian.bonnie.Handle |
handle
Deprecated. The handle that identifies the searchable instance being indexed. |
protected String |
spaceKey
Deprecated. The spacekey (if any) of the instance being indexed |
protected com.atlassian.bonnie.Searchable |
target
Deprecated. The searchable subject of this index task. |
Constructor Summary | |
---|---|
protected |
BaseContentIndexTask()
Deprecated. |
|
BaseContentIndexTask(com.atlassian.bonnie.Searchable target)
Deprecated. Create a new index task. |
protected |
BaseContentIndexTask(String handle)
Deprecated. |
Method Summary | |
---|---|
protected com.atlassian.bonnie.Handle |
createHandle(com.atlassian.bonnie.Searchable target)
Deprecated. |
protected com.atlassian.bonnie.Handle |
createHandle(String handle)
Deprecated. The default create handle implementation creates a handle that can be used to retrieve the searchable target from the persistent store via the |
boolean |
equals(Object other)
Deprecated. Two content index tasks are considered equal if they are of the same type and contain the same handle. |
com.atlassian.bonnie.Handle |
getHandle()
Deprecated. |
com.atlassian.bonnie.Searchable |
getTarget()
Deprecated. |
int |
hashCode()
Deprecated. |
void |
setAnyTypeDao(AnyTypeDao anyTypeDao)
Deprecated. Required resource for converting handles into searchable instances so that the content to be indexed can be retrieved. |
void |
setDocumentBuilder(com.atlassian.bonnie.search.DocumentBuilder documentBuilder)
Deprecated. Required resource for converting searchable instances into documents to be indexed. |
String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.atlassian.confluence.search.IndexTask |
---|
getDescription |
Field Detail |
---|
protected com.atlassian.bonnie.search.DocumentBuilder documentBuilder
protected AnyTypeDao anyTypeDao
protected com.atlassian.bonnie.Handle handle
protected String spaceKey
protected transient com.atlassian.bonnie.Searchable target
Constructor Detail |
---|
protected BaseContentIndexTask()
public BaseContentIndexTask(com.atlassian.bonnie.Searchable target)
IllegalArgumentException
- if the searchable target is not indexible, as defined by the isIndexable
call.protected BaseContentIndexTask(String handle) throws ParseException
ParseException
Method Detail |
---|
protected com.atlassian.bonnie.Handle createHandle(String handle) throws ParseException
AnyTypeDao.findByHandle(handle);
ParseException
public com.atlassian.bonnie.Searchable getTarget()
public com.atlassian.bonnie.Handle getHandle()
getHandle
in interface ContentIndexTask
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
protected com.atlassian.bonnie.Handle createHandle(com.atlassian.bonnie.Searchable target)
public void setDocumentBuilder(com.atlassian.bonnie.search.DocumentBuilder documentBuilder)
public void setAnyTypeDao(AnyTypeDao anyTypeDao)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |