public interface SystemTemplateManager
Modifier and Type | Field and Description |
---|---|
static String |
NEW_GLOBAL_SPACE_TEMPLATE_KEY |
static String |
NEW_GLOBAL_SPACE_TEMPLATE_NAME |
static String |
NEW_PERSONAL_SPACE_TEMPLATE_KEY |
static String |
NEW_PERSONAL_SPACE_TEMPLATE_NAME |
Modifier and Type | Method and Description |
---|---|
String |
getTemplate(String templateKey,
List<Variable> vars) |
String |
getTemplate(String templateKey,
List<Variable> vars,
Page page) |
void |
saveTemplate(String templateName,
String templateKey,
String content)
Saves the given content as a system template.
|
static final String NEW_GLOBAL_SPACE_TEMPLATE_NAME
static final String NEW_PERSONAL_SPACE_TEMPLATE_NAME
static final String NEW_GLOBAL_SPACE_TEMPLATE_KEY
static final String NEW_PERSONAL_SPACE_TEMPLATE_KEY
String getTemplate(String templateKey, List<Variable> vars)
vars
- templateKey
- the complete plugin module of the system template to getvoid saveTemplate(String templateName, String templateKey, String content)
templateName
- Name of the templatetemplateKey
- the complete plugin module key of the original system templatecontent
- the template contents in storage formatCopyright © 2003–2015 Atlassian. All rights reserved.