@PublicApi
public interface ContentBlueprintService
| Modifier and Type | Field and Description |
|---|---|
static String |
LABELS |
static String |
PAGE_TITLE
The key in the
BlueprintPageEntity context specifying the title of the page or draft to be created. |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.confluence.core.ContentEntityObject |
createContentDraft(CreateBlueprintPageEntity createEntity,
com.atlassian.confluence.user.ConfluenceUser creator)
Create a page draft from a Blueprint content template.
|
com.atlassian.confluence.pages.Draft |
createDraft(CreateBlueprintPageEntity createEntity,
com.atlassian.confluence.user.ConfluenceUser creator)
Deprecated.
since 5.9
|
BlueprintPage |
createPage(CreateBlueprintPageEntity createEntity,
com.atlassian.confluence.user.ConfluenceUser creator)
Creates a page from a Blueprint content template.
|
static final String PAGE_TITLE
BlueprintPageEntity context specifying the title of the page or draft to be created.static final String LABELS
BlueprintPage createPage(CreateBlueprintPageEntity createEntity, com.atlassian.confluence.user.ConfluenceUser creator) throws BlueprintIllegalArgumentException
createEntity - defines the blueprint to create the page from, and the contextcreator - user creating the pageBlueprintIllegalArgumentException@Deprecated com.atlassian.confluence.pages.Draft createDraft(CreateBlueprintPageEntity createEntity, com.atlassian.confluence.user.ConfluenceUser creator) throws BlueprintIllegalArgumentException
createEntity - defines the blueprint to create the draft from, and the contextcreator - user creating the pageBlueprintIllegalArgumentExceptioncom.atlassian.confluence.core.ContentEntityObject createContentDraft(CreateBlueprintPageEntity createEntity, com.atlassian.confluence.user.ConfluenceUser creator) throws BlueprintIllegalArgumentException
ContentEntityObject.DRAFT) or a per-user Draft otherwise.createEntity - defines the blueprint to create the draft from, and the contextcreator - user creating the pageBlueprintIllegalArgumentException - exceptionCopyright © 2017 Atlassian. All rights reserved.