Package | Description |
---|---|
com.atlassian.confluence.api.impl.service.content.draft | |
com.atlassian.confluence.api.service.content | |
com.atlassian.confluence.plugins.restapi.resources | |
com.atlassian.confluence.rest.client |
This package contains the code which communicates with Confluence via REST API.
|
Modifier and Type | Method and Description |
---|---|
Content |
SharedContentDraftServiceImpl.publishEditDraft(Content updatedContent,
ContentDraftService.ConflictPolicy conflictPolicy) |
Content |
ContentDraftServiceImpl.publishEditDraft(Content content,
ContentDraftService.ConflictPolicy conflictPolicy) |
Content |
LegacyContentDraftServiceImpl.publishEditDraft(Content content,
ContentDraftService.ConflictPolicy conflictPolicy) |
MergeValidationResult |
LegacyDraftValidator.validateContentForPageUpdate(Content content,
ContentDraftService.ConflictPolicy conflictPolicy) |
Modifier and Type | Field and Description |
---|---|
static ContentDraftService.ConflictPolicy |
ContentDraftService.ConflictPolicy.ABORT
If a conflict occurs the update is aborted with a ConflictException which converts to a http 409 error
|
Modifier and Type | Method and Description |
---|---|
static ContentDraftService.ConflictPolicy |
ContentDraftService.ConflictPolicy.valueOf(String str) |
Modifier and Type | Method and Description |
---|---|
Content |
ContentDraftService.publishEditDraft(Content content,
ContentDraftService.ConflictPolicy conflictPolicy)
Update existing page/blog post that has an existing draft
|
MergeValidationResult |
ContentDraftService.DraftValidator.validateContentForPageUpdate(Content content,
ContentDraftService.ConflictPolicy conflictPolicy)
Validate the publish edit draft operation.
|
Modifier and Type | Method and Description |
---|---|
Content |
ContentResource.update(ContentId contentId,
Content content,
ContentStatus status,
ContentDraftService.ConflictPolicy conflictPolicy)
Updates a piece of Content, including changes to content status
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentDraftServiceImpl.publishEditDraft(Content content,
ContentDraftService.ConflictPolicy conflictPolicy)
Deprecated.
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentDraftService.publishEditDraft(Content content,
ContentDraftService.ConflictPolicy conflictPolicy)
Deprecated.
since 7.0.1. Use
RemoteContentDraftService.publishEditDraftCompletionStage(Content, ContentDraftService.ConflictPolicy) instead. |
CompletionStage<Content> |
RemoteContentDraftServiceImpl.publishEditDraftCompletionStage(Content content,
ContentDraftService.ConflictPolicy conflictPolicy) |
CompletionStage<Content> |
RemoteContentDraftService.publishEditDraftCompletionStage(Content content,
ContentDraftService.ConflictPolicy conflictPolicy)
Update content
|
Copyright © 2003–2021 Atlassian. All rights reserved.