| Package | Description | 
|---|---|
| com.atlassian.confluence.api.model.content | |
| com.atlassian.confluence.api.model.reference | |
| com.atlassian.confluence.api.nav | 
| Modifier and Type | Method and Description | 
|---|---|
static Reference<Content> | 
Content.buildReference(ContentId id)  | 
static Reference<Version> | 
Version.buildReference(int number)  | 
static Reference<JsonContentProperty> | 
JsonContentProperty.buildReference(JsonContentPropertyId id)
Creates a collapsed reference to a JsonContentProperty with the given id, or an empty reference, if none was given. 
 | 
static Reference<History> | 
History.buildReference(Reference<Content> contentParent)  | 
static Reference<Version> | 
Version.buildReference(Reference<Content> contentRef,
              int number)
Deprecated. 
 
since 5.6 use  
Version.buildReference(int) | 
static Reference<Space> | 
Space.buildReference(java.lang.String spaceKey)
builds a collapsed reference to the space with the given spaceKey 
 | 
Reference<Content> | 
History.getContentParentRef()  | 
Reference<Content> | 
JsonContentProperty.getContentRef()  | 
Reference<Content> | 
ContentBody.getContentRef()  | 
Reference<History> | 
Content.getHistoryRef()  | 
Reference<Content> | 
Space.getHomepageRef()  | 
Reference<Icon> | 
Space.getIconRef()  | 
Reference<Version> | 
History.getLastUpdatedRef()  | 
Reference<Version> | 
History.getNextVersionRef()  | 
static Reference<Content> | 
History.getParentReference(Reference<History> historyReference)  | 
Reference<Version> | 
History.getPreviousVersionRef()  | 
Reference<Space> | 
Content.getSpaceRef()  | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.Map<ContentRepresentation,Reference<FormattedBody>> | 
Space.getDescriptionRefs()
Deprecated. 
 
Since 5.5.1 Use  
Space.getDescription(). | 
| Constructor and Description | 
|---|
ContentBody(ContentRepresentation representation,
           java.lang.String value,
           Reference<Content> contentReference)  | 
| Modifier and Type | Class and Description | 
|---|---|
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)  | 
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)  | 
| Modifier and Type | Method and Description | 
|---|---|
Navigation.ContentNav | 
Navigation.content(Reference<Content> contentReference)
create a content nav builder to reference a piece of content 
 | 
Navigation.ExperimentalContentNav | 
Navigation.ExperimentalNav.content(Reference<Content> contentReference)
create a content nav builder to reference a piece of content 
 | 
Navigation.Builder | 
Navigation.fromReference(Reference<?> reference)  | 
Navigation.SpaceNav | 
Navigation.space(Reference<Space> spaceReference)
create a space nav builder to reference the given space 
 | 
Copyright © 2003-2014 Atlassian. All Rights Reserved.