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) |
Modifier and Type | Method and Description |
---|---|
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 5.10. Use
Content.buildReference(ContentSelector) |
static Reference<Content> |
Content.buildReference(ContentSelector selector) |
static Reference<Version> |
Version.buildReference(int number) |
static Reference<JsonContentProperty> |
JsonContentProperty.buildReference(@Nullable 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> |
ContentBody.getContentRef() |
Reference<Content> |
JsonContentProperty.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> |
Content.getSpaceRef() |
Reference<Space> |
JsonSpaceProperty.getSpaceRef() |
Reference<Version> |
Content.getVersionRef() |
Modifier and Type | Method and Description |
---|---|
Map<ContentRepresentation,Reference<FormattedBody>> |
Space.getDescriptionRefs()
Deprecated.
Since 5.5.1 Use
Space.getDescription() . |
Constructor and Description |
---|
ContentBody(ContentRepresentation representation,
String value,
Reference<Content> contentReference)
Deprecated.
since 5.9 , use
ContentBody.contentBodyBuilder() |
ContentBody(ContentRepresentation representation,
String value,
Reference<Content> contentReference,
Reference<WebResourceDependencies> webresource)
Deprecated.
since 5.9 , use
ContentBody.contentBodyBuilder() |
ContentBody(ContentRepresentation representation,
String value,
Reference<Content> contentReference,
Reference<WebResourceDependencies> webresource)
Deprecated.
since 5.9 , use
ContentBody.contentBodyBuilder() |
Modifier and Type | Method and Description |
---|---|
Reference<UserStatus> |
KnownUser.getStatusRef() |
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.
|
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> |
Reference.empty(Class<T> referrentClass)
Create an empty reference to the given class.
|
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<Content> |
ContentSearchResult.getEntityRef() |
Reference<User> |
UserSearchResult.getEntityRef() |
Reference<Space> |
SpaceSearchResult.getEntityRef() |
abstract Reference<T> |
SearchResult.getEntityRef() |
protected Reference<T> |
SearchResult.Builder.getEntityRef() |
Reference<ContainerSummary> |
SearchResult.getResultGlobalContainerRef() |
Reference<ContainerSummary> |
SearchResult.getResultParentRef() |
Constructor and Description |
---|
SpaceWatch(@NonNull User watcher,
@NonNull Reference<Space> space,
List<ContentType> contentTypes) |
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
|
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.Builder |
RestNavigationImpl.fromReference(Reference reference) |
Navigation.SpaceNav |
RestNavigationImpl.space(Reference<Space> space) |
Copyright © 2003–2021 Atlassian. All rights reserved.