public class ChangeDocumentIdBuilder extends Object
Constructor and Description |
---|
ChangeDocumentIdBuilder() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2003–2015 Atlassian. All rights reserved.