public class DefaultTemplateUpdater extends Object implements TemplateUpdater
| Constructor and Description |
|---|
DefaultTemplateUpdater(ContentBlueprintManager contentBlueprintManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
revertContentTemplateRef(com.atlassian.confluence.pages.templates.PageTemplate template)
Reverts a custom content template reference of a blueprint in order to use a default one.
|
void |
updateContentTemplateRef(com.atlassian.confluence.pages.templates.PageTemplate template)
Updates a content template reference of a blueprint in order to use a custom one.
|
public DefaultTemplateUpdater(ContentBlueprintManager contentBlueprintManager)
public void updateContentTemplateRef(com.atlassian.confluence.pages.templates.PageTemplate template)
TemplateUpdaterupdateContentTemplateRef in interface TemplateUpdatertemplate - user-defined custom template to be used when creating content from a blueprint,
instead of the default one bundled with the pluginpublic void revertContentTemplateRef(com.atlassian.confluence.pages.templates.PageTemplate template)
TemplateUpdaterrevertContentTemplateRef in interface TemplateUpdatertemplate - user-defined custom template to be reverted so that the default one is used when creating content from a blueprint.Copyright © 2017 Atlassian. All rights reserved.