public interface PageTemplateManager
void savePageTemplate(PageTemplate page, PageTemplate original)
void refreshPageTemplate(PageTemplate pageTemplate)
PageTemplate getPageTemplate(long id)
PageTemplate getPageTemplate(PluginTemplateReference pluginTemplateReference)
PageTemplate getPageTemplate(String name, Space space)
void removePageTemplate(PageTemplate page)
List getTemplateVariables(PageTemplate template) throws XhtmlException
XhtmlException
String mergeVariables(PageTemplate template, List variables) throws XhtmlException
mergeVariables(PageTemplate, List, String)
XhtmlException
String mergeVariables(PageTemplate template, List variables, String spaceKey) throws XhtmlException
XhtmlException
String insertVariables(PageTemplate template, List variables)
boolean canCreate(PageTemplate template, PageTemplate foundTemplate)
template
- to be created, null if it's a new templatefoundTemplate
- template found in DB, null if not foundList getGlobalPageTemplates()
PageTemplate getGlobalPageTemplate(String name)
void setEventManager(com.atlassian.event.EventManager eventManager)
void removeAllPageTemplates(Space space)
Copyright © 2003–2017 Atlassian. All rights reserved.