|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.search.lucene.ChangeDocumentIdBuilder
public class ChangeDocumentIdBuilder
This class is used to generate the ids used to identify change documents and groups of change document in the Lucene index
Constructor Summary | |
---|---|
ChangeDocumentIdBuilder()
|
Method Summary | |
---|---|
String |
getChangeDocumentAndAuthorId(com.atlassian.bonnie.Searchable entityObject)
Creates an id that uniquely identifies a change document in the index. |
String |
getGroupId(com.atlassian.bonnie.Handle handle)
Creates an id that uniquely identifies a group of change documents in the index. |
String |
getGroupId(com.atlassian.bonnie.Searchable searchable)
Creates an id that uniquely identifies a group of change documents in the index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChangeDocumentIdBuilder()
Method Detail |
---|
public String getChangeDocumentAndAuthorId(com.atlassian.bonnie.Searchable entityObject)
public String getGroupId(com.atlassian.bonnie.Handle handle)
handle
- the handle of an entity. Note:If the referenced entity is an
instance of Versioned
it expects the handle for the
latest version of that entitypublic String getGroupId(com.atlassian.bonnie.Searchable searchable)
searchable
- an entity.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |