Uses of Class
com.atlassian.confluence.api.model.content.Content.ContentBuilder
Package
Description
-
Uses of Content.ContentBuilder in com.atlassian.confluence.api.impl.service.content.factory
Modifier and TypeMethodDescriptionContentFactory.builderFrom
(ContentEntityObject entity, ContentType contentType, Expansions expansions) Exposes the content builder that this factory uses to produce content objects, generally don't use this method, it exists as an interim measure whilst legacy drafts are being migrated to shared drafts and we need to be able to attach files to legacy drafts using the rest api. -
Uses of Content.ContentBuilder in com.atlassian.confluence.api.model.content
Modifier and TypeMethodDescriptionContent.ContentBuilder.body
(ContentBody body) Content.ContentBuilder.body
(String value, ContentRepresentation format) Content.ContentBuilder.body
(Map<ContentRepresentation, ContentBody> body) static Content.ContentBuilder
Content.builder()
Returns aContent.ContentBuilder
instance that can be used to create a newContent
object.static Content.ContentBuilder
Returns aContent.ContentBuilder
instance that clones an existingContent
object.static Content.ContentBuilder
Content.builder
(ContentType type) Returns aContent.ContentBuilder
instance that can be used to create a newContent
object.static Content.ContentBuilder
Content.builder
(ContentType type, long id) Returns aContent.ContentBuilder
instance that can be used to create a newContent
object.static Content.ContentBuilder
Content.builder
(ContentType type, ContentId id) Returns aContent.ContentBuilder
instance that can be used to create a newContent
object.Content.ContentBuilder.children
(Map<ContentType, PageResponse<Content>> children) Content.ContentBuilder.collapsed()
Set all collapsible Reference/Map/List fields to be collapsed rather than empty values.Content.ContentBuilder.descendants
(Map<ContentType, PageResponse<Content>> descendants) Content.ContentBuilder.extensions
(Map<String, Object> extensions) Content.ContentBuilder.operations
(Iterable<OperationCheckResult> operations) Shortcut method for creating ancestors with a single item of ContentContent.ContentBuilder.position
(int position) Content.ContentBuilder.restrictions
(Map<OperationKey, ContentRestriction> restrictionsByOperationMap) Content.ContentBuilder.status
(ContentStatus status) Content.ContentBuilder.type
(ContentType type)