Class RemoteContentBlueprintServiceImpl
java.lang.Object
com.atlassian.confluence.rest.client.AbstractRemoteService<ContentBlueprintService>
com.atlassian.confluence.rest.client.RemoteContentBlueprintServiceImpl
- All Implemented Interfaces:
RemoteContentBlueprintService
public class RemoteContentBlueprintServiceImpl
extends AbstractRemoteService<ContentBlueprintService>
implements RemoteContentBlueprintService
This service implementation is used in create-content plugin RemoteContentBlueprintServiceAcceptanceTest
-
Field Summary
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteContentBlueprintServiceImpl
(AuthenticatedWebResourceProvider provider, ExecutorService executor) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.client.WebTarget
publishInstanceCompletionStage
(Content content, Expansion... expansions) Publishes the draft from blueprints.Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
addExpansions, addPageRequest, addPageRequestParams, deleteCompletionStage, deleteCompletionStage, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfGenericListResponse, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, newExperimentalRestWebTarget, newWebTarget, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postVoidCompletionStage, putCompletionStage, putVoidCompletionStage
-
Constructor Details
-
RemoteContentBlueprintServiceImpl
public RemoteContentBlueprintServiceImpl(AuthenticatedWebResourceProvider provider, ExecutorService executor) - Since:
- 9.0
-
-
Method Details
-
publishInstanceCompletionStage
public CompletionStage<Content> publishInstanceCompletionStage(Content content, Expansion... expansions) Description copied from interface:RemoteContentBlueprintService
Publishes the draft from blueprints. This will change the status of the current draft to current.- Specified by:
publishInstanceCompletionStage
in interfaceRemoteContentBlueprintService
- Parameters:
content
- new content to be createdexpansions
- an array list of properties to expand on the content.- Returns:
- a CompletionStage that resolves to the published content, with the given expansions
-
newContentWebResource
public javax.ws.rs.client.WebTarget newContentWebResource()
-