@PublicApi
public interface CreateButtonService
| Modifier and Type | Method and Description |
|---|---|
String |
renderBlueprintButton(com.atlassian.confluence.spaces.Space space,
String contentBlueprintId,
String blueprintModuleCompleteKey,
String buttonLabelKey,
String newPageTitle)
Render a button that launches the Create dialog for a Blueprint.
|
String |
renderTemplateButton(com.atlassian.confluence.spaces.Space space,
long templateId,
String buttonLabelKey,
String newPageTitle)
Render a button that launches the Create dialog for a Template.
|
String renderBlueprintButton(com.atlassian.confluence.spaces.Space space, String contentBlueprintId, String blueprintModuleCompleteKey, @Nullable String buttonLabelKey, @Nullable String newPageTitle)
Depending on the Blueprint used, the contentBlueprintId or the blueprintModuleCompleteKey may be blank.
space - the space the new page will be created incontentBlueprintId - the id of the Blueprint the new page will be created fromblueprintModuleCompleteKey - the plugin module key of the Blueprint the new page will be created frombuttonLabelKey - (optional) the i18n key of the label for the Create buttonnewPageTitle - (optional) the i18ned title of the new page that will be createdString renderTemplateButton(com.atlassian.confluence.spaces.Space space, long templateId, @Nullable String buttonLabelKey, @Nullable String newPageTitle)
space - the space the new page will be created intemplateId - the id of the PageTemplate the new page will be created frombuttonLabelKey - (optional) the i18n key of the label for the Create buttonnewPageTitle - (optional) the i18ned title of the new page that will be createdCopyright © 2017 Atlassian. All rights reserved.