public class DefaultContentBlueprintService extends Object implements ContentBlueprintService, com.atlassian.confluence.api.service.content.ContentBlueprintService
LABELS, PAGE_TITLE| Constructor and Description |
|---|
DefaultContentBlueprintService(ContentBlueprintManager contentBlueprintManager,
BlueprintManager blueprintManager,
com.atlassian.confluence.pages.PageManager pageManager,
com.atlassian.confluence.pages.DraftManager draftManager,
BlueprintContentGenerator contentGenerator,
com.atlassian.confluence.labels.LabelManager labelManager,
RequestResolver requestResolver,
com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.confluence.core.ContentPermissionManager contentPermissionManager,
RequestStorage requestStorage,
com.atlassian.confluence.pages.DraftsTransitionHelper draftsTransitionHelper,
UserBlueprintConfigManager userBlueprintConfigManager,
com.atlassian.confluence.api.service.content.ContentDraftService contentDraftService,
com.atlassian.confluence.core.ContentEntityManager contentEntityManager,
com.atlassian.confluence.spaces.SpaceManager spaceManager,
ContentBlueprintInstanceAdapter contentBlueprintInstanceAdapter,
com.atlassian.confluence.user.UserAccessor userAccessor) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.confluence.core.ContentEntityObject |
createContentDraft(CreateBlueprintPageEntity entity,
com.atlassian.confluence.user.ConfluenceUser creator)
Create a page draft from a Blueprint content template.
|
com.atlassian.confluence.pages.Draft |
createDraft(CreateBlueprintPageEntity entity,
com.atlassian.confluence.user.ConfluenceUser creator)
Creates a per-user page draft from a Blueprint content template.
|
com.atlassian.confluence.api.model.content.template.ContentBlueprintInstance |
createInstance(com.atlassian.confluence.api.model.content.template.ContentBlueprintInstance contentBlueprintInstance,
com.atlassian.confluence.api.model.Expansion... expansions) |
BlueprintPage |
createPage(CreateBlueprintPageEntity entity,
com.atlassian.confluence.user.ConfluenceUser creator)
Creates a page from a Blueprint content template.
|
com.atlassian.confluence.api.model.content.Content |
publishInstance(com.atlassian.confluence.api.model.content.Content content,
com.atlassian.confluence.api.model.Expansion... expansions) |
public DefaultContentBlueprintService(ContentBlueprintManager contentBlueprintManager, BlueprintManager blueprintManager, com.atlassian.confluence.pages.PageManager pageManager, com.atlassian.confluence.pages.DraftManager draftManager, BlueprintContentGenerator contentGenerator, com.atlassian.confluence.labels.LabelManager labelManager, RequestResolver requestResolver, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.confluence.core.ContentPermissionManager contentPermissionManager, RequestStorage requestStorage, com.atlassian.confluence.pages.DraftsTransitionHelper draftsTransitionHelper, UserBlueprintConfigManager userBlueprintConfigManager, com.atlassian.confluence.api.service.content.ContentDraftService contentDraftService, @Qualifier(value="contentEntityManager") com.atlassian.confluence.core.ContentEntityManager contentEntityManager, com.atlassian.confluence.spaces.SpaceManager spaceManager, ContentBlueprintInstanceAdapter contentBlueprintInstanceAdapter, com.atlassian.confluence.user.UserAccessor userAccessor)
public com.atlassian.confluence.api.model.content.template.ContentBlueprintInstance createInstance(com.atlassian.confluence.api.model.content.template.ContentBlueprintInstance contentBlueprintInstance,
com.atlassian.confluence.api.model.Expansion... expansions)
createInstance in interface com.atlassian.confluence.api.service.content.ContentBlueprintServicepublic com.atlassian.confluence.api.model.content.Content publishInstance(com.atlassian.confluence.api.model.content.Content content,
com.atlassian.confluence.api.model.Expansion... expansions)
publishInstance in interface com.atlassian.confluence.api.service.content.ContentBlueprintServicepublic BlueprintPage createPage(CreateBlueprintPageEntity entity, com.atlassian.confluence.user.ConfluenceUser creator) throws BlueprintIllegalArgumentException
ContentBlueprintServiceentity - defines the blueprint to create the page from, and the contextcreator - user creating the pageBlueprintIllegalArgumentExceptionpublic com.atlassian.confluence.pages.Draft createDraft(CreateBlueprintPageEntity entity, com.atlassian.confluence.user.ConfluenceUser creator) throws BlueprintIllegalArgumentException
ContentBlueprintServiceentity - defines the blueprint to create the draft from, and the contextcreator - user creating the pageBlueprintIllegalArgumentExceptionpublic com.atlassian.confluence.core.ContentEntityObject createContentDraft(CreateBlueprintPageEntity entity, com.atlassian.confluence.user.ConfluenceUser creator) throws BlueprintIllegalArgumentException
ContentBlueprintServiceContentEntityObject.DRAFT) or a per-user Draft otherwise.entity - defines the blueprint to create the draft from, and the contextcreator - user creating the pageBlueprintIllegalArgumentException - exceptionCopyright © 2017 Atlassian. All rights reserved.