| Modifier and Type | Method and Description |
|---|---|
com.atlassian.fugue.Pair<String,Reference<WebResourceDependencies>> |
ContentBodyConversionManagerImpl.convert(ContentRepresentation fromFormat,
String value,
ContentRepresentation toFormat,
ContentEntityObject ceo,
Expansion... expansions) |
com.atlassian.fugue.Pair<String,Reference<WebResourceDependencies>> |
ContentBodyConversionManager.convert(ContentRepresentation from,
String value,
ContentRepresentation to,
ContentEntityObject ceo,
Expansion... expansions)
Computes the converted value of the ContentBody and the required web resources that may be needed to render the converted value.
|
| Modifier and Type | Method and Description |
|---|---|
Reference<Content> |
ContentFactory.buildRef(ContentEntityObject entity,
Fauxpansions fauxpansions) |
Reference<Version> |
VersionFactory.buildRef(ContentEntityObject entity,
Fauxpansions fauxpansions,
ContentFactory contentFactory) |
Reference<History> |
HistoryFactory.buildRef(ContentEntityObject entity,
Reference<Content> contentReference,
List<ConfluenceUser> editContributors,
Fauxpansions fauxpansions,
ContentFactory contentFactory) |
protected Reference<Content> |
AbstractSpaceFactory.getHomepageRef(H space,
Expansions expansions) |
protected Reference<Icon> |
AbstractSpaceFactory.getIconIfExpanded(H space,
Expansions expansions) |
| Modifier and Type | Method and Description |
|---|---|
Map<ContentType,Reference<Boolean>> |
ChildContentFactory.buildChildTypesMap(ContentConvertible parent,
Fauxpansions fauxpansions) |
Map<ContentEntityObject,Reference<History>> |
HistoryFactory.buildReferences(Iterable<ContentEntityObject> ceos,
Fauxpansions historyExpansions,
ContentFactory contentFactory) |
| Modifier and Type | Method and Description |
|---|---|
Reference<History> |
HistoryFactory.buildRef(ContentEntityObject entity,
Reference<Content> contentReference,
List<ConfluenceUser> editContributors,
Fauxpansions fauxpansions,
ContentFactory contentFactory) |
| Modifier and Type | Field and Description |
|---|---|
protected Reference<WebResourceDependencies> |
FormattedBody.BaseFormattedBodyBuilder.webresource |
| Modifier and Type | Method and Description |
|---|---|
static Reference<Content> |
Content.buildReference(ContentId id)
Deprecated.
Since 6.0. Use
Content.buildReference(ContentSelector) |
static Reference<Content> |
Content.buildReference(ContentSelector selector) |
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(String spaceKey)
builds a collapsed reference to the space with the given spaceKey
|
Reference<? extends Container> |
Content.getContainerRef() |
Reference<Content> |
History.getContentParentRef() |
Reference<Content> |
Version.getContentRef() |
Reference<Content> |
JsonContentProperty.getContentRef() |
Reference<Content> |
ContentBody.getContentRef() |
Reference<Contributors> |
History.getContributors() |
Reference<History> |
Content.getHistoryRef() |
Reference<Content> |
Space.getHomepageRef() |
Reference<Icon> |
Space.getIconRef() |
Reference<Version> |
History.getLastUpdatedRef()
Get information about the latest published non-draft version of the content.
|
Reference<Version> |
History.getNextVersionRef()
Get the next version, if this is not the newest version.
|
static Reference<Content> |
History.getParentReference(Reference<History> historyReference) |
Reference<Version> |
History.getPreviousVersionRef()
Get the previous version, if this is not the oldest version.
|
Reference<ContributorUsers> |
Contributors.getPublishers() |
Reference<Space> |
JsonSpaceProperty.getSpaceRef() |
Reference<Space> |
Content.getSpaceRef() |
Reference<Version> |
Content.getVersionRef() |
| Modifier and Type | Method and Description |
|---|---|
Map<ContentType,Reference<Boolean>> |
Content.getChildTypes()
Returns a map of all possibly containing child types.
|
Map<ContentRepresentation,Reference<FormattedBody>> |
Space.getDescriptionRefs()
Deprecated.
Since 5.5.1 Use
Space.getDescription(). |
| Modifier and Type | Method and Description |
|---|---|
Content.ContentBuilder |
Content.ContentBuilder.childTypes(Map<ContentType,Reference<Boolean>> childTypes) |
| Constructor and Description |
|---|
ContentBody(ContentRepresentation representation,
String value,
Reference<Content> contentReference)
Deprecated.
in 5.9 , use
ContentBody.contentBodyBuilder() |
ContentBody(ContentRepresentation representation,
String value,
Reference<Content> contentReference,
Reference<WebResourceDependencies> webresource)
Deprecated.
in 5.9 , use
ContentBody.contentBodyBuilder() |
ContentBody(ContentRepresentation representation,
String value,
Reference<Content> contentReference,
Reference<WebResourceDependencies> webresource)
Deprecated.
in 5.9 , use
ContentBody.contentBodyBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static com.atlassian.sal.api.user.UserKey |
User.getUserKey(Reference<User> userReference) |
| Modifier and Type | Method and Description |
|---|---|
UserDetails.UserDetailsBuilder |
UserDetails.UserDetailsBuilder.businessDetails(Reference<BusinessDetails> businessDetails) |
UserDetails.UserDetailsBuilder |
UserDetails.UserDetailsBuilder.personalDetails(Reference<PersonalDetails> personalDetails) |
| Modifier and Type | Method and Description |
|---|---|
Reference<Content> |
ContentRestriction.getContent() |
| Modifier and Type | Method and Description |
|---|---|
ContentRestriction.ContentRestrictionBuilder |
ContentRestriction.ContentRestrictionBuilder.content(Reference<Content> content) |
| Modifier and Type | Class and Description |
|---|---|
class |
ExpandedReference<T>
An expanded reference has a value, call get() will return that referent value.
|
class |
ExpandedWrapperReference<T>
A Reference wrapping an Object that cannot resolve navigation by itself.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Reference<T> |
Reference.collapsed(Class<T> objClass) |
static <T> Reference<T> |
Reference.collapsed(Class<T> objClass,
Map idProperties) |
static <T> Reference<T> |
Reference.collapsed(T obj)
Create a collapse reference to the given object.
|
static <T> Reference<T> |
BuilderUtils.collapsedWrapperReference(Class<? extends T> referentClass,
Navigation.Builder navBuilder)
Create a new collapsed Reference with the supplied Navigation.Builder.
|
static <T> Reference<T> |
Reference.empty(Class<T> referrentClass)
Create an empty reference to the given class.
|
static <T> Reference<T> |
BuilderUtils.expandedWrapperReference(T value,
Navigation.Builder navBuilder)
Create a new expanded Reference with the supplied Navigation.Builder.
|
static <T> Reference<T> |
Reference.orEmpty(Reference<T> reference,
Class<T> referentClass) |
static <T> Reference<T> |
Reference.orEmpty(T entity,
Class<T> referentClass) |
static <T> Reference<T> |
Reference.to(T value)
Create an expanded reference to the referent value.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Reference<T> |
Reference.orEmpty(Reference<T> reference,
Class<T> referentClass) |
| Modifier and Type | Method and Description |
|---|---|
Reference<RelationData> |
RelationInstance.getRelationDataRef() |
Reference<S> |
RelationInstance.getSourceRef() |
Reference<T> |
RelationInstance.getTargetRef() |
| Modifier and Type | Method and Description |
|---|---|
static <S extends Relatable,T extends Relatable> |
RelationInstance.builder(Reference<S> sourceRef,
RelationDescriptor<S,T> relationDescriptor,
Reference<T> targetRef) |
static <S extends Relatable,T extends Relatable> |
RelationInstance.builder(Reference<S> sourceRef,
RelationDescriptor<S,T> relationDescriptor,
Reference<T> targetRef) |
RelationInstance.RelationInstanceBuilder<S,T> |
RelationInstance.RelationInstanceBuilder.relationData(Reference<RelationData> data) |
| Constructor and Description |
|---|
RelationInstanceBuilder(Reference<S> sourceRef,
RelationDescriptor<S,T> relationDescriptor,
Reference<T> targetRef) |
RelationInstanceBuilder(Reference<S> sourceRef,
RelationDescriptor<S,T> relationDescriptor,
Reference<T> targetRef) |
| Modifier and Type | Method and Description |
|---|---|
Reference<User> |
UserSearchResult.getEntityRef() |
Reference<Space> |
SpaceSearchResult.getEntityRef() |
abstract Reference<T> |
SearchResult.getEntityRef() |
protected Reference<T> |
SearchResult.Builder.getEntityRef() |
Reference<Content> |
ContentSearchResult.getEntityRef() |
Reference<ContainerSummary> |
SearchResult.getResultGlobalContainerRef() |
Reference<ContainerSummary> |
SearchResult.getResultParentRef() |
| 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.RelationToNav |
Navigation.RelationFromNav.from(Reference<? extends Relatable> reference) |
Navigation.Builder |
Navigation.fromReference(Reference<?> reference) |
Navigation.SpaceNav |
Navigation.space(Reference<Space> spaceReference)
create a space nav builder to reference the given space
|
Navigation.Builder |
Navigation.RelationToNav.to(Reference<? extends Relatable> reference) |
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<Reference<?>> |
ReferenceMatchers.isCollapsedReferenceWithOrWithoutProperties(Class<?> expectedReferentClass)
Matches collapsed references to the specified class, even if they are non-specific ones without properties
set for generating navigation links
|
static org.hamcrest.Matcher<Reference<?>> |
ReferenceMatchers.isCollapsedReferenceWithProperties(Class<?> expectedReferentClass)
Matches collapsed references to the specified class, and checks they have properties set for generating
navigation links
|
| Modifier and Type | Method and Description |
|---|---|
Reference<Version> |
JsonPropertyFactory.makeVersion(ContentEntityObject entity,
boolean expanded) |
| Modifier and Type | Method and Description |
|---|---|
Navigation.ContentNav |
RestNavigationImpl.content(Reference<Content> contentReference) |
Navigation.RelationToNav |
RelationNavImpl.from(Reference<? extends Relatable> reference) |
Navigation.Builder |
RestNavigationImpl.fromReference(Reference reference) |
Navigation.SpaceNav |
RestNavigationImpl.space(Reference<Space> space) |
Navigation.Builder |
RelationNavImpl.to(Reference<? extends Relatable> reference) |
Navigation.UserNav |
RestNavigationImpl.user(Reference<User> user) |
Copyright © 2003–2016 Atlassian. All rights reserved.