Uses of Class
com.atlassian.confluence.api.model.content.ContentRepresentation
Packages that use ContentRepresentation
Package
Description
This package contains the code which communicates with Confluence via REST API.
-
Uses of ContentRepresentation in com.atlassian.confluence.api.impl.service.content
Methods in com.atlassian.confluence.api.impl.service.content with parameters of type ContentRepresentationModifier and TypeMethodDescriptionContentBodyConversionManagerImpl.convert
(ContentRepresentation fromFormat, String value, ContentRepresentation toFormat, ContentEntityObject ceo, Expansion... expansions) ContentBodyConversionServiceImpl.convert
(ContentBody body, ContentRepresentation toFormat) ContentBodyConversionServiceImpl.convert
(ContentBody contentBody, ContentRepresentation toFormat, Expansion... expansions) ContentBodyConversionServiceImpl.convertBody
(Content content, ContentRepresentation toFormat) ContentBodyConversionServiceImpl.convertBody
(Content content, ContentRepresentation toFormat, Expansion... expansions) ContentBodyConversionServiceImpl.selectBodyForRepresentation
(Content content, ContentRepresentation toFormat) -
Uses of ContentRepresentation in com.atlassian.confluence.api.impl.service.content.factory
Fields in com.atlassian.confluence.api.impl.service.content.factory declared as ContentRepresentationModifier and TypeFieldDescriptionstatic final ContentRepresentation
SpaceFactory.DEFAULT_DESCRIPTION_REPRESENTATION
Methods in com.atlassian.confluence.api.impl.service.content.factory that return types with arguments of type ContentRepresentationModifier and TypeMethodDescriptionContentBodyFactory.makeContentBodies
(ContentEntityObject ceo, BodyContent bodyContent, Expansions expansions, ContentFactory contentFactory) Methods in com.atlassian.confluence.api.impl.service.content.factory with parameters of type ContentRepresentationModifier and TypeMethodDescriptionContentBodyFactory.build
(ContentEntityObject ceo, BodyContent bodyContent, ContentRepresentation representation) -
Uses of ContentRepresentation in com.atlassian.confluence.api.model.content
Fields in com.atlassian.confluence.api.model.content declared as ContentRepresentationModifier and TypeFieldDescriptionstatic final ContentRepresentation
ContentRepresentation.ANONYMOUS_EXPORT_VIEW
HTML representation for viewing, but with absolute urls, instead of relative urls in the markup, and macros are rendered as though it is viewed by an anonymous user.static final ContentRepresentation
ContentRepresentation.EDITOR
Representation suitable for use in the rich text editorstatic final ContentRepresentation
ContentRepresentation.EXPORT_VIEW
HTML representation for viewing, but with absolute urls, instead of relative urls in the markup.static final ContentRepresentation
ContentRepresentation.PLAIN
Raw database format as plain text with no XHTML or WIKI markup.static final ContentRepresentation
ContentRepresentation.RAW
Raw "database" format.protected ContentRepresentation
FormattedBody.BaseFormattedBodyBuilder.representation
static final ContentRepresentation
ContentRepresentation.STORAGE
Raw database format, for content that stores data in our XML storage formatstatic final ContentRepresentation
ContentRepresentation.STYLED_VIEW
A rendered view that includes inline styles in a <style> element, wrapped in an entire <html> structure.static final ContentRepresentation
ContentRepresentation.VIEW
HTML representation for viewing in a web pagestatic final ContentRepresentation
ContentRepresentation.WIKI
Legacy WIKI representationFields in com.atlassian.confluence.api.model.content with type parameters of type ContentRepresentationModifier and TypeFieldDescriptionstatic final Iterable<ContentRepresentation>
ContentRepresentation.INPUT_CONVERSION_TO_STORAGE_ORDER
An ordered enumeration of ContentRepresentations that can be converted to STORAGE format.Methods in com.atlassian.confluence.api.model.content that return ContentRepresentationMethods in com.atlassian.confluence.api.model.content that return types with arguments of type ContentRepresentationModifier and TypeMethodDescriptionContent.getBody()
PersonalSpaceDetailsForCreation.getDescription()
Space.getDescription()
Space.getDescriptionRefs()
Deprecated.Methods in com.atlassian.confluence.api.model.content with parameters of type ContentRepresentationModifier and TypeMethodDescriptionContent.ContentBuilder.body
(String value, ContentRepresentation format) PersonalSpaceDetailsForCreation.PersonalSpaceDetailsForCreationBuilder.description
(ContentRepresentation representation, FormattedBody formattedBody) PersonalSpaceDetailsForCreation.PersonalSpaceDetailsForCreationBuilder.description
(ContentRepresentation representation, String value) Space.SpaceBuilder.description
(ContentRepresentation representation, FormattedBody formattedBody) Space.SpaceBuilder.description
(ContentRepresentation representation, Reference<FormattedBody> formattedBody) Deprecated.Space.SpaceBuilder.description
(ContentRepresentation representation, String value) static ContentBody
ContentBody.emptyBody
(ContentRepresentation representation, Reference<Content> contentReference) FormattedBody.BaseFormattedBodyBuilder.representation
(ContentRepresentation representation) Method parameters in com.atlassian.confluence.api.model.content with type arguments of type ContentRepresentationModifier and TypeMethodDescriptionContent.ContentBuilder.body
(Map<ContentRepresentation, ContentBody> body) PersonalSpaceDetailsForCreation.PersonalSpaceDetailsForCreationBuilder.description
(Map<ContentRepresentation, FormattedBody> description) Space.SpaceBuilder.description
(Map<ContentRepresentation, FormattedBody> description) Constructors in com.atlassian.confluence.api.model.content with parameters of type ContentRepresentationModifierConstructorDescriptionContentBody
(ContentRepresentation representation, String value) ContentBody
(ContentRepresentation representation, String value, Content content) Deprecated.since 5.9 , useContentBody.contentBodyBuilder()
ContentBody
(ContentRepresentation representation, String value, ContentId contentId) Deprecated.since 5.9 , useContentBody.contentBodyBuilder()
ContentBody
(ContentRepresentation representation, String value, Reference<Content> contentReference) Deprecated.since 5.9 , useContentBody.contentBodyBuilder()
ContentBody
(ContentRepresentation representation, String value, Reference<Content> contentReference, Reference<WebResourceDependencies> webresource) Deprecated.since 5.9 , useContentBody.contentBodyBuilder()
FormattedBody
(ContentRepresentation representation, String value) -
Uses of ContentRepresentation in com.atlassian.confluence.api.model.content.template
Methods in com.atlassian.confluence.api.model.content.template that return types with arguments of type ContentRepresentationMethod parameters in com.atlassian.confluence.api.model.content.template with type arguments of type ContentRepresentationModifier and TypeMethodDescriptionContentTemplate.ContentTemplateBuilder.body
(Map<ContentRepresentation, ContentBody> body) -
Uses of ContentRepresentation in com.atlassian.confluence.api.service.content
Methods in com.atlassian.confluence.api.service.content with parameters of type ContentRepresentationModifier and TypeMethodDescriptionContentBodyConversionService.convert
(ContentBody body, ContentRepresentation representation) Same as callingContentBodyConversionService.convert(ContentBody, ContentRepresentation, Expansion...)
with an empty expansion.ContentBodyConversionService.convert
(ContentBody body, ContentRepresentation representation, Expansion... expansions) Convert a ContentBody value into another format, performing validation during the conversion.ContentBodyConversionService.convertBody
(Content content, ContentRepresentation representation) Same as callingContentBodyConversionService.convertBody(Content, ContentRepresentation, Expansion...)
with an empty expansion.ContentBodyConversionService.convertBody
(Content content, ContentRepresentation representation, Expansion... expansions) Convert the single ContentBody value in aContent
body map into another format, performing validation during the conversion.ContentBodyConversionService.selectBodyForRepresentation
(Content content, ContentRepresentation toFormat) Given aContent
object for which the body could be converted to a givenContentRepresentation
, returns theContentBody
that would be used for the conversion. -
Uses of ContentRepresentation in com.atlassian.confluence.api.service.exceptions
Methods in com.atlassian.confluence.api.service.exceptions that return types with arguments of type ContentRepresentationConstructors in com.atlassian.confluence.api.service.exceptions with parameters of type ContentRepresentationModifierConstructorDescriptionInvalidRepresentationException
(ContentRepresentation unacceptableRepresentation, ContentRepresentation[] permittedRepresentations) InvalidRepresentationException
(ContentRepresentation representation, Iterable<ContentRepresentation> contentRepresentations) Constructor parameters in com.atlassian.confluence.api.service.exceptions with type arguments of type ContentRepresentationModifierConstructorDescriptionInvalidRepresentationException
(ContentRepresentation representation, Iterable<ContentRepresentation> contentRepresentations) -
Uses of ContentRepresentation in com.atlassian.confluence.core
Methods in com.atlassian.confluence.core that return ContentRepresentation -
Uses of ContentRepresentation in com.atlassian.confluence.dmz.service.content
Methods in com.atlassian.confluence.dmz.service.content with parameters of type ContentRepresentationModifier and TypeMethodDescriptionContentBodyConversionManager.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. -
Uses of ContentRepresentation in com.atlassian.confluence.plugins.restapi.resources
Methods in com.atlassian.confluence.plugins.restapi.resources with parameters of type ContentRepresentationModifier and TypeMethodDescriptionContentBodyResource.convert
(ContentBody body, ContentRepresentation toRepresentation, String expand) -
Uses of ContentRepresentation in com.atlassian.confluence.rest.client
Methods in com.atlassian.confluence.rest.client with parameters of type ContentRepresentationModifier and TypeMethodDescriptionRemoteContentBodyConversionService.convertCompletionStage
(ContentBody body, ContentRepresentation representation) Convert a ContentBody value into another format, performing validation during the conversion.RemoteContentBodyConversionService.convertCompletionStage
(ContentBody body, ContentRepresentation representation, Expansion... expansions) Convert a ContentBody value into another format, performing validation during the conversion.RemoteContentBodyConversionServiceImpl.convertCompletionStage
(ContentBody body, ContentRepresentation representation) RemoteContentBodyConversionServiceImpl.convertCompletionStage
(ContentBody body, ContentRepresentation representation, Expansion... expansions)
Space.getDescription()
.