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, putFuture
public 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.RemoteContentDraftService
publishNewDraft
in interface RemoteContentDraftService
@Deprecated public com.atlassian.util.concurrent.Promise<Content> publishEditDraft(Content content, ContentDraftService.ConflictPolicy conflictPolicy)
publishEditDraftCompletionStage(Content, ContentDraftService.ConflictPolicy)
instead.RemoteContentDraftService
publishEditDraft
in interface RemoteContentDraftService
content
- - 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.RemoteContentDraftService
deleteDraft
in interface RemoteContentDraftService
contentId
- - id of the page/blogpost contentpublic CompletionStage<Content> publishNewDraftCompletionStage(Content content, Expansion... expansions)
RemoteContentDraftService
publishNewDraftCompletionStage
in interface RemoteContentDraftService
public CompletionStage<Content> publishEditDraftCompletionStage(Content content, ContentDraftService.ConflictPolicy conflictPolicy)
RemoteContentDraftService
publishEditDraftCompletionStage
in interface RemoteContentDraftService
content
- - 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)
RemoteContentDraftService
deleteDraftCompletionStage
in interface RemoteContentDraftService
contentId
- - id of the page/blogpost contentCopyright © 2003–2020 Atlassian. All rights reserved.