Package | Description |
---|---|
com.atlassian.confluence.api.impl.service.content.factory | |
com.atlassian.confluence.api.model.content |
Modifier and Type | Method and Description |
---|---|
Content.ContentBuilder |
ContentFactory.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.
|
Modifier and Type | Method and Description |
---|---|
Content.ContentBuilder |
Content.ContentBuilder.addLink(Link link) |
Content.ContentBuilder |
Content.ContentBuilder.addLink(LinkType type,
String path) |
Content.ContentBuilder |
Content.ContentBuilder.ancestors(Iterable<Content> ancestors) |
Content.ContentBuilder |
Content.ContentBuilder.body(ContentBody body) |
Content.ContentBuilder |
Content.ContentBuilder.body(Map<ContentRepresentation,ContentBody> body) |
Content.ContentBuilder |
Content.ContentBuilder.body(String value,
ContentRepresentation format) |
static Content.ContentBuilder |
Content.builder()
Returns a
Content.ContentBuilder instance that can be used to create a new Content object. |
static Content.ContentBuilder |
Content.builder(Content content)
Returns a
Content.ContentBuilder instance that clones an existing Content object. |
static Content.ContentBuilder |
Content.builder(ContentType type)
Returns a
Content.ContentBuilder instance that can be used to create a new Content object. |
static Content.ContentBuilder |
Content.builder(ContentType type,
ContentId id)
Returns a
Content.ContentBuilder instance that can be used to create a new Content object. |
static Content.ContentBuilder |
Content.builder(ContentType type,
long id)
Returns a
Content.ContentBuilder instance that can be used to create a new Content object. |
Content.ContentBuilder |
Content.ContentBuilder.children(Map<ContentType,PageResponse<Content>> children) |
Content.ContentBuilder |
Content.ContentBuilder.collapsed()
Set all collapsible Reference/Map/List fields to be collapsed rather than empty values.
|
Content.ContentBuilder |
Content.ContentBuilder.container(Container container) |
Content.ContentBuilder |
Content.ContentBuilder.container(Reference<? extends Container> container) |
Content.ContentBuilder |
Content.ContentBuilder.descendants(Map<ContentType,PageResponse<Content>> descendants) |
Content.ContentBuilder |
Content.ContentBuilder.extension(String key,
Object value) |
Content.ContentBuilder |
Content.ContentBuilder.extensions(Map<String,Object> extensions) |
Content.ContentBuilder |
Content.ContentBuilder.history(History history) |
Content.ContentBuilder |
Content.ContentBuilder.history(Reference<History> history) |
Content.ContentBuilder |
Content.ContentBuilder.id(ContentId id) |
Content.ContentBuilder |
Content.ContentBuilder.metadata(Map<String,Object> metadata) |
Content.ContentBuilder |
Content.ContentBuilder.operations(Iterable<OperationCheckResult> operations) |
Content.ContentBuilder |
Content.ContentBuilder.parent(Content parent)
Shortcut method for creating ancestors with a single item of Content
|
Content.ContentBuilder |
Content.ContentBuilder.restrictions(Map<OperationKey,ContentRestriction> restrictionsByOperationMap) |
Content.ContentBuilder |
Content.ContentBuilder.space(Reference<Space> space) |
Content.ContentBuilder |
Content.ContentBuilder.space(Space space) |
Content.ContentBuilder |
Content.ContentBuilder.space(String spaceKey) |
Content.ContentBuilder |
Content.ContentBuilder.status(ContentStatus status) |
Content.ContentBuilder |
Content.ContentBuilder.title(String title) |
Content.ContentBuilder |
Content.ContentBuilder.type(ContentType type) |
Content.ContentBuilder |
Content.ContentBuilder.version(Reference<Version> version) |
Content.ContentBuilder |
Content.ContentBuilder.version(Version version) |
Copyright © 2003–2017 Atlassian. All rights reserved.