Interface RemoteContentBlueprintService

  • All Known Implementing Classes:
    RemoteContentBlueprintServiceImpl

    @ExperimentalApi
    public interface RemoteContentBlueprintService
    ContentBlueprintService implementation that communicates with Confluence remotely using the Confluence REST API.

    Provides future returning equivalents for the methods in ContentBlueprintService.

    • Method Detail

      • publishInstance

        @Deprecated
        com.atlassian.util.concurrent.Promise<Content> publishInstance​(Content content,
                                                                       Expansion... expansions)
        Deprecated.
        Publishes the draft from blueprints. This will change the status of the current draft to current.
        Parameters:
        content - new content to be created
        expansions - an array list of properties to expand on the content.
        Returns:
        a Promise that resolves to the published content, with the given expansions
      • publishInstanceCompletionStage

        CompletionStage<Content> publishInstanceCompletionStage​(Content content,
                                                                Expansion... expansions)
        Publishes the draft from blueprints. This will change the status of the current draft to current.
        Parameters:
        content - new content to be created
        expansions - an array list of properties to expand on the content.
        Returns:
        a CompletionStage that resolves to the published content, with the given expansions
        Since:
        7.0.1