public class ChangeDocumentIdBuilder
extends java.lang.Object
Constructor and Description |
---|
ChangeDocumentIdBuilder() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChangeDocumentAndAuthorId(com.atlassian.bonnie.Searchable entityObject)
Creates an id that uniquely identifies a change document in the index.
|
java.lang.String |
getGroupId(com.atlassian.bonnie.Handle handle)
Creates an id that uniquely identifies a group of change documents in the
index.
|
java.lang.String |
getGroupId(com.atlassian.bonnie.Searchable searchable)
Creates an id that uniquely identifies a group of change documents in the
index.
|
public java.lang.String getChangeDocumentAndAuthorId(com.atlassian.bonnie.Searchable entityObject)
public java.lang.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 java.lang.String getGroupId(com.atlassian.bonnie.Searchable searchable)
searchable
- an entity.Copyright © 2003-2014 Atlassian. All Rights Reserved.