public interface LinkedTemplateManager
Modifier and Type | Method and Description |
---|---|
void |
addSpaceLabelLink(String label,
String templateName)
Add a link between a label (space category) and the given global workflow
template name.
|
void |
addTemplateLink(String spaceKey,
String templateName)
Links a global template to a space, the workflow will be applied to all
pages in the space.
|
List<String> |
getLinkedLabelTemplateNames(String label)
Returns the global workflow template names that are linked to a specific
space label.
|
List<Workflow> |
getLinkedLabelTemplates(String label)
Returns the global workflows that are linked to a specific space label.
|
List<String> |
getLinkedSpaceLabels(String templateName)
Returns the labels (space categories) that are linked to a given global
workflow template name.
|
List<String> |
getLinkedSpaces(String templateName)
Get the spaces that are linked to a global template
|
List<com.atlassian.confluence.spaces.Space> |
getLinkedSpacesList(String templateName)
Get the spaces that are linked to a global template
|
List<String> |
getLinkedTemplateNames(String spaceKey)
Get the names of the global workflow templates that are linked to a space
|
List<Workflow> |
getLinkedTemplates(String spaceKey)
Get the global workflow templates that are linked to a space.
|
boolean |
isLinked(String spaceKey,
String templateName)
Returns true if the given space and global workflow template are linked.
|
void |
removeSpaceLabelLink(String label,
String templateName)
Remove the link between label (space category) and the given global
workflow template name.
|
void |
removeTemplateLink(String spaceKey,
String templateName)
Remove a global template link from a space
|
void addTemplateLink(String spaceKey, String templateName)
spaceKey
- the space to add the global workflow totemplateName
- the global template to addvoid removeTemplateLink(String spaceKey, String templateName)
spaceKey
- the space to remove the template link fromtemplateName
- the global template to removeList<Workflow> getLinkedTemplates(String spaceKey)
spaceKey
- List<String> getLinkedTemplateNames(String spaceKey)
spaceKey
- List<String> getLinkedSpaces(String templateName)
templateName
- the global template to get the linked spaces forList<com.atlassian.confluence.spaces.Space> getLinkedSpacesList(String templateName)
templateName
- boolean isLinked(String spaceKey, String templateName)
spaceKey
- templateName
- void addSpaceLabelLink(String label, String templateName)
label
- templateName
- void removeSpaceLabelLink(String label, String templateName)
label
- templateName
- List<String> getLinkedSpaceLabels(String templateName)
templateName
- List<String> getLinkedLabelTemplateNames(String label)
label
- Copyright © 2021 Comala Technology Solutions, Inc.. All rights reserved.