|
||||||||||
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
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 java.lang.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(java.lang.String handle)
Deprecated. |
Method Summary | |
---|---|
protected com.atlassian.bonnie.Handle |
createHandle(com.atlassian.bonnie.Searchable target)
Deprecated. |
protected com.atlassian.bonnie.Handle |
createHandle(java.lang.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(java.lang.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. |
java.lang.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 java.lang.String spaceKey
protected transient com.atlassian.bonnie.Searchable target
Constructor Detail |
---|
protected BaseContentIndexTask()
public BaseContentIndexTask(com.atlassian.bonnie.Searchable target)
target
-
java.lang.IllegalArgumentException
- if the searchable target is not indexible, as defined by the isIndexable
call.protected BaseContentIndexTask(java.lang.String handle) throws java.text.ParseException
java.text.ParseException
Method Detail |
---|
protected com.atlassian.bonnie.Handle createHandle(java.lang.String handle) throws java.text.ParseException
AnyTypeDao.findByHandle(handle);
handle
-
java.text.ParseException
public com.atlassian.bonnie.Searchable getTarget()
public com.atlassian.bonnie.Handle getHandle()
getHandle
in interface ContentIndexTask
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
-
public int hashCode()
hashCode
in class java.lang.Object
protected com.atlassian.bonnie.Handle createHandle(com.atlassian.bonnie.Searchable target)
public void setDocumentBuilder(com.atlassian.bonnie.search.DocumentBuilder documentBuilder)
documentBuilder
- public void setAnyTypeDao(AnyTypeDao anyTypeDao)
anyTypeDao
- public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |