| Package | Description |
|---|---|
| com.atlassian.confluence.api.model.content | |
| com.atlassian.confluence.api.model.reference |
| Modifier and Type | Method and Description |
|---|---|
static Reference<History> |
History.buildReference(Reference<Content> contentParent) |
static Reference<Version> |
Version.buildReference(Reference<Content> contentReference,
int number) |
static Reference<Space> |
Space.buildReference(java.lang.String spaceKey)
builds a collapsed reference to the space with the given spaceKey
|
static Reference<Content> |
Content.buildReference(java.lang.String id) |
Reference<Content> |
History.getContentParentRef() |
Reference<Content> |
ContentBody.getContentRef() |
Reference<History> |
Content.getHistoryRef() |
Reference<Version> |
History.getLastUpdated() |
Reference<Version> |
History.getNextVersion() |
static Reference<Content> |
History.getParentReference(Reference<History> historyReference) |
Reference<Version> |
History.getPreviousVersion() |
Reference<Space> |
ContentLink.getSpace() |
Reference<Space> |
Content.getSpaceRef() |
| Modifier and Type | Method and Description |
|---|---|
static Reference<History> |
History.buildReference(Reference<Content> contentParent) |
static Reference<Version> |
Version.buildReference(Reference<Content> contentReference,
int number) |
History.HistoryBuilder |
History.HistoryBuilder.content(Reference<Content> content) |
static ContentBody |
ContentBody.emptyBody(ContentRepresentation representation,
Reference<Content> contentReference) |
static java.lang.String |
Content.getContentId(Reference<Content> contentRef)
get the content id from the Reference to a piece of content
|
static Reference<Content> |
History.getParentReference(Reference<History> historyReference) |
static java.lang.String |
Space.getSpaceKey(Reference<Space> reference) |
Content.ContentBuilder |
Content.ContentBuilder.history(Reference<History> history) |
Content.ContentBuilder |
Content.ContentBuilder.space(Reference<Space> space) |
Content.ContentBuilder |
Content.ContentBuilder.version(Reference<Version> version) |
| Constructor and Description |
|---|
ContentBody(ContentRepresentation representation,
java.lang.String value,
Reference<Content> contentReference) |
ContentLink(java.lang.String id,
Reference<Space> space,
ContentType type,
java.lang.String title,
java.lang.String webUrlPath) |
| Modifier and Type | Class and Description |
|---|---|
class |
CollapsedReference<T>
A collapsed reference is a property that potentially has a value, but the property's
value has not been expanded at the time fo the request.
|
class |
EmptyReference<T>
A null object reference, indicates that the referenced property is empty.
|
class |
ExpandedReference<T>
An expanded reference has a value, call get() will return that referent value.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Reference<T> |
Reference.collapsed(java.lang.Class objClass,
java.util.Map idProperties) |
static <T> Reference<T> |
Reference.collapsed(T obj)
create a collapse reference to the given object
|
static <T> Reference<T> |
Reference.empty(java.lang.Class<T> referrentClass)
create an empty reference to the given class
|
static <T> Reference<T> |
Reference.orEmpty(Reference<T> reference,
java.lang.Class<T> referentClass) |
static <T> Reference<T> |
Reference.orEmpty(T entity,
java.lang.Class<T> referentClass) |
static <T> Reference<T> |
Reference.to(T obj)
create an exanded reference to the referent object
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Reference<T> |
Reference.orEmpty(Reference<T> reference,
java.lang.Class<T> referentClass) |
Copyright © 2003-2014 Atlassian. All Rights Reserved.