public class DefaultBlueprintContentGenerator extends Object implements BlueprintContentGenerator
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_PAGE_TITLE_CONTEXT_KEY |
static String |
CONTENT_TEMPLATE_REF_ID_CONTEXT_KEY |
static String |
PAGE_TITLE_PREFIX_CONTEXT_KEY |
static String |
USE_PAGE_TEMPLATE_TITLE_CONTEXT_KEY |
| Constructor and Description |
|---|
DefaultBlueprintContentGenerator(com.atlassian.plugin.PluginAccessor pluginAccessor,
PluginPageTemplateHelper pluginPageTemplateHelper,
com.atlassian.confluence.pages.templates.TemplateHandler templateHandler,
com.atlassian.sal.api.message.I18nResolver i18nResolver) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.confluence.pages.Page |
createIndexPageObject(ContentTemplateRef contentTemplateRef,
com.atlassian.confluence.spaces.Space space,
Map<String,Object> context) |
com.atlassian.confluence.pages.Page |
createIndexPageObject(com.atlassian.confluence.pages.templates.PluginTemplateReference pluginTemplateReference,
Map<String,Object> context)
Creates an index page object given a plugin template and a render context.
|
com.atlassian.confluence.pages.Page |
generateBlueprintPageObject(ContentTemplateRef contentTemplateRef,
com.atlassian.confluence.spaces.Space space,
Map<String,Object> context) |
com.atlassian.confluence.pages.Page |
generateBlueprintPageObject(CreateBlueprintPageRequest createRequest)
Creates an unsaved content page object for a create-Blueprint-page request.
|
com.atlassian.confluence.pages.Page |
generateBlueprintPageObject(com.atlassian.confluence.pages.templates.PluginTemplateReference pluginTemplateReference,
Map<String,? extends Object> context)
Deprecated.
|
public static final String CONTENT_PAGE_TITLE_CONTEXT_KEY
public static final String PAGE_TITLE_PREFIX_CONTEXT_KEY
public static final String CONTENT_TEMPLATE_REF_ID_CONTEXT_KEY
public static final String USE_PAGE_TEMPLATE_TITLE_CONTEXT_KEY
public DefaultBlueprintContentGenerator(com.atlassian.plugin.PluginAccessor pluginAccessor,
PluginPageTemplateHelper pluginPageTemplateHelper,
com.atlassian.confluence.pages.templates.TemplateHandler templateHandler,
com.atlassian.sal.api.message.I18nResolver i18nResolver)
@Deprecated public com.atlassian.confluence.pages.Page generateBlueprintPageObject(com.atlassian.confluence.pages.templates.PluginTemplateReference pluginTemplateReference, Map<String,? extends Object> context)
BlueprintContentGeneratorgenerateBlueprintPageObject in interface BlueprintContentGeneratorpublic com.atlassian.confluence.pages.Page generateBlueprintPageObject(CreateBlueprintPageRequest createRequest)
BlueprintContentGeneratorgenerateBlueprintPageObject in interface BlueprintContentGeneratorpublic com.atlassian.confluence.pages.Page generateBlueprintPageObject(ContentTemplateRef contentTemplateRef, com.atlassian.confluence.spaces.Space space, Map<String,Object> context)
generateBlueprintPageObject in interface BlueprintContentGeneratorpublic com.atlassian.confluence.pages.Page createIndexPageObject(com.atlassian.confluence.pages.templates.PluginTemplateReference pluginTemplateReference,
Map<String,Object> context)
BlueprintContentGeneratorcreateIndexPageObject in interface BlueprintContentGeneratorpublic com.atlassian.confluence.pages.Page createIndexPageObject(ContentTemplateRef contentTemplateRef, com.atlassian.confluence.spaces.Space space, Map<String,Object> context)
createIndexPageObject in interface BlueprintContentGeneratorCopyright © 2017 Atlassian. All rights reserved.