public interface PromotedTemplateService
| Modifier and Type | Method and Description |
|---|---|
void |
demoteTemplate(long templateId,
String spaceKey)
Un-promote a user created template
|
Collection<Long> |
getPromotedTemplates(com.atlassian.confluence.spaces.Space space)
Gets all promoted templates for a space
|
void |
promoteTemplate(long templateId,
String spaceKey)
Promote a user created template
|
void promoteTemplate(long templateId,
@Nonnull
String spaceKey)
throws BlueprintIllegalArgumentException
templateId - template idspaceKey - space in which the template is to be promoted or demotedBlueprintIllegalArgumentExceptionvoid demoteTemplate(long templateId,
@Nonnull
String spaceKey)
throws BlueprintIllegalArgumentException
templateId - template idspaceKey - space in which the template is to be promoted or demotedBlueprintIllegalArgumentExceptionCollection<Long> getPromotedTemplates(@Nonnull com.atlassian.confluence.spaces.Space space)
space - space in which to get the promoted templatesCopyright © 2017 Atlassian. All rights reserved.