public interface WorkflowTemplateManager
Modifier and Type | Method and Description |
---|---|
void |
activateGlobalTemplate(String workflowName)
Activate global workflow template so it can be applied to spaces or pages.
|
void |
addWorkflowTemplate(com.atlassian.confluence.spaces.Space space,
String workflowMarkup)
Adds a workflow template to a space
|
void |
copyGlobalTemplate(String workflowName)
Copies a global workflow template
|
void |
deactivateGlobalTemplate(String workflowName)
Deactivate global workflow template so it can't be applied to spaces or pages.
|
List<Workflow> |
getWorkflowTemplates()
Returns the global workflow templates
|
List<Workflow> |
getWorkflowTemplates(com.atlassian.confluence.spaces.Space space)
Returns the workflow templates for a given space
|
void |
removeWorkflowTemplate(com.atlassian.confluence.spaces.Space space,
String workflowName)
Removes a workflow template from a space.
|
List<Workflow> getWorkflowTemplates()
List<Workflow> getWorkflowTemplates(com.atlassian.confluence.spaces.Space space)
space
- the space to get the workflow templates forvoid addWorkflowTemplate(com.atlassian.confluence.spaces.Space space, String workflowMarkup) throws WorkflowException
space
- the space to add the workflow template toworkflowMarkup
- the workflow markup to addWorkflowException
- if there was an error with the workflow markupvoid removeWorkflowTemplate(com.atlassian.confluence.spaces.Space space, String workflowName)
space
- the space to remove the workflow template fromworkflowName
- the name of the workflow to removevoid copyGlobalTemplate(String workflowName)
workflowName
- the name of the workflow to copyvoid deactivateGlobalTemplate(String workflowName) throws WorkflowException
workflowName
- the name of the workflow to deactivateWorkflowException
void activateGlobalTemplate(String workflowName) throws WorkflowException
workflowName
- the name of the workflow to activateWorkflowException
Copyright © 2021 Comala Technology Solutions, Inc.. All rights reserved.