Uses of Class
com.atlassian.confluence.api.model.content.Content.ContentBuilder
Packages that use Content.ContentBuilder
Package
Description
-
Uses of Content.ContentBuilder in com.atlassian.confluence.api.impl.service.content.factory
Methods in com.atlassian.confluence.api.impl.service.content.factory that return Content.ContentBuilderModifier 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
Methods in com.atlassian.confluence.api.model.content that return Content.ContentBuilderModifier and TypeMethodDescriptionContent.ContentBuilder.body(ContentBody body) Content.ContentBuilder.body(String value, ContentRepresentation format) Content.ContentBuilder.body(Map<ContentRepresentation, ContentBody> body) static Content.ContentBuilderContent.builder()Returns aContent.ContentBuilderinstance that can be used to create a newContentobject.static Content.ContentBuilderReturns aContent.ContentBuilderinstance that clones an existingContentobject.static Content.ContentBuilderContent.builder(ContentType type) Returns aContent.ContentBuilderinstance that can be used to create a newContentobject.static Content.ContentBuilderContent.builder(ContentType type, long id) Returns aContent.ContentBuilderinstance that can be used to create a newContentobject.static Content.ContentBuilderContent.builder(ContentType type, ContentId id) Returns aContent.ContentBuilderinstance that can be used to create a newContentobject.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.extractedTextLink(String extractedTextLink) Content.ContentBuilder.operations(Iterable<OperationCheckResult> operations) Shortcut method for creating ancestors with a single item of ContentContent.ContentBuilder.position(int position) Content.ContentBuilder.relevantViewRestrictions(RelevantViewRestrictions relevantViewRestrictions) Content.ContentBuilder.relevantViewRestrictionsReference(Reference<RelevantViewRestrictions> relevantViewRestrictions) Content.ContentBuilder.restrictions(Map<OperationKey, ContentRestriction> restrictionsByOperationMap) Content.ContentBuilder.status(ContentStatus status) Content.ContentBuilder.type(ContentType type)