public class RemoteContentDraftServiceImpl extends AbstractRemoteService<ContentDraftService> implements RemoteContentDraftService
provider| Constructor and Description | 
|---|
| RemoteContentDraftServiceImpl(AuthenticatedWebResourceProvider provider,
                             com.google.common.util.concurrent.ListeningExecutorService executor) | 
addExpansions, addPageRequest, addPageRequestParams, deleteCompletionStage, deleteCompletionStage, deleteFuture, deleteFuture, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postFuture, postFuture, postFuture, postFutureToPageResponse, putCompletionStage, putFuturepublic RemoteContentDraftServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
@Deprecated public com.atlassian.util.concurrent.Promise<Content> publishNewDraft(Content content, Expansion... expansions)
publishNewDraftCompletionStage(Content, Expansion...) instead.RemoteContentDraftServicepublishNewDraft in interface RemoteContentDraftServicecontent - new content to be createdexpansions - An array list of properties to expand on the content.@Deprecated public com.atlassian.util.concurrent.Promise<Content> publishEditDraft(Content content, ContentDraftService.ConflictPolicy conflictPolicy)
publishEditDraftCompletionStage(Content, ContentDraftService.ConflictPolicy) instead.RemoteContentDraftServicepublishEditDraft in interface RemoteContentDraftServicecontent - page/blogpost contentconflictPolicy - the policy to apply on a conflict, either abort or automerge.  No mergeable conflicts will still return a 409 even if policy is automerge@Deprecated public com.atlassian.util.concurrent.Promise<Void> deleteDraft(ContentId contentId)
deleteDraftCompletionStage(ContentId) instead.RemoteContentDraftServicedeleteDraft in interface RemoteContentDraftServicecontentId - id of the page/blogpost contentpublic CompletionStage<Content> publishNewDraftCompletionStage(Content content, Expansion... expansions)
RemoteContentDraftServicepublishNewDraftCompletionStage in interface RemoteContentDraftServicecontent - new content to be createdexpansions - An array list of properties to expand on the content.public CompletionStage<Content> publishEditDraftCompletionStage(Content content, ContentDraftService.ConflictPolicy conflictPolicy)
RemoteContentDraftServicepublishEditDraftCompletionStage in interface RemoteContentDraftServicecontent - page/blogpost contentconflictPolicy - the policy to apply on a conflict, either abort or automerge.  No mergeable conflicts will still return a 409 even if policy is automergepublic CompletionStage<Void> deleteDraftCompletionStage(ContentId contentId)
RemoteContentDraftServicedeleteDraftCompletionStage in interface RemoteContentDraftServicecontentId - id of the page/blogpost contentCopyright © 2003–2022 Atlassian. All rights reserved.