public interface WorkflowConfigurationService
Modifier and Type | Method and Description |
---|---|
MacroTransformStatus |
getEffectiveMacroTransformStatus(com.atlassian.confluence.spaces.Space space)
Returns the effective "Published View Macro Transform" setting that defines if with page publishing workflows
the include and excerpt-include macros should render the workflow approved version of the referenced page.
|
PageUpdateResetApprovalStatus |
getEffectiveResetApprovalStatus(com.atlassian.confluence.spaces.Space space)
Returns the effective "Page Update Reset Approval" setting from a space.
|
TasksMode |
getEffectiveTasksMode(com.atlassian.confluence.spaces.Space space)
Returns the effective "Tasks Mode" setting from a space.
|
WorkflowVisibility |
getEffectiveWorkflowVisibility(com.atlassian.confluence.spaces.Space space)
Returns the effective "Workflow Activity and Drafts Visibility" setting from a space.
|
MacroTransformStatus |
getMacroTransformStatus(com.atlassian.confluence.spaces.Space space)
Returns "Published View Macro Transform" setting for the given space.
|
PageUpdateResetApprovalStatus |
getResetApprovalStatus(com.atlassian.confluence.spaces.Space space)
Returns "Page Update Reset Approval" setting from a space
|
TasksMode |
getTasksMode(com.atlassian.confluence.spaces.Space space)
Returns "Tasks Mode" setting from a space
|
WorkflowVisibility |
getWorkflowVisibility(com.atlassian.confluence.spaces.Space space)
Returns "Workflow Activity and Drafts Visibility" setting for
the given space
|
boolean |
isSnapshotsCreationEnabled(com.atlassian.confluence.spaces.Space space)
Returns if the creation of automatic snapshots is enabled or not
This feature requires a Comala Workflows Enterprise license.
|
boolean |
isViewDraftByDefault(com.atlassian.confluence.spaces.Space space)
Returns what version of pages should users view by default
with internal page publishing workflows
|
void |
setMacroTransformStatus(com.atlassian.confluence.spaces.Space space,
MacroTransformStatus status)
Sets the "Published View Macro Transform" setting that defines if with page publishing workflows the include
and excerpt-include macros should render the workflow approved version of the referenced page.
|
void |
setResetApprovalStatus(com.atlassian.confluence.spaces.Space space,
PageUpdateResetApprovalStatus pageUpdateResetApprovalStatus)
Sets "Page Update Reset Approval" setting in a space
|
void |
setSnapshotsCreationEnabled(com.atlassian.confluence.spaces.Space space,
boolean isAutoSnapshotEnabled)
Setting to enable/disable automatic snapshot generation on final workflow state
This feature requires a Comala Workflows Enterprise license.
|
void |
setTasksMode(com.atlassian.confluence.spaces.Space space,
TasksMode tasksMode)
Sets "Tasks Mode" setting in a space
|
void |
setViewDraftByDefault(com.atlassian.confluence.spaces.Space space,
boolean isDraft)
Sets the version of pages that users should view by default with internal
page publishing workflows in a space.
|
void |
setWorkflowVisibility(com.atlassian.confluence.spaces.Space space,
WorkflowVisibility visibility)
Sets "Workflow Activity and Drafts Visibility" setting in a space
|
WorkflowVisibility getWorkflowVisibility(com.atlassian.confluence.spaces.Space space)
space
- space from which to get the option valueWorkflowVisibility getEffectiveWorkflowVisibility(com.atlassian.confluence.spaces.Space space)
WorkflowVisibility.DEFAULT
it returns the Global level value for this setting.space
- space from which to get the option valuevoid setWorkflowVisibility(com.atlassian.confluence.spaces.Space space, WorkflowVisibility visibility)
space
- space in which to set the option valuevisibility
- workflow visibility value to set for the given spacePageUpdateResetApprovalStatus getResetApprovalStatus(com.atlassian.confluence.spaces.Space space)
space
- space from which to get the option valuePageUpdateResetApprovalStatus getEffectiveResetApprovalStatus(com.atlassian.confluence.spaces.Space space)
PageUpdateResetApprovalStatus.DEFAULT
it returns the Global level value for this setting.space
- space from which to get the option valuevoid setResetApprovalStatus(com.atlassian.confluence.spaces.Space space, PageUpdateResetApprovalStatus pageUpdateResetApprovalStatus)
space
- space in which to set the option valuepageUpdateResetApprovalStatus
- page update reset approval status setting to set for the given spaceTasksMode getTasksMode(com.atlassian.confluence.spaces.Space space)
space
- space from which to get the option valueTasksMode getEffectiveTasksMode(com.atlassian.confluence.spaces.Space space)
TasksMode.DEFAULT
it returns the Global level value for this setting.space
- space from which to get the option valuevoid setTasksMode(com.atlassian.confluence.spaces.Space space, TasksMode tasksMode)
space
- space in which to set the option valuetasksMode
- tasks mode setting to set for the given spaceboolean isViewDraftByDefault(com.atlassian.confluence.spaces.Space space)
space
- space in which to check the option valuevoid setViewDraftByDefault(com.atlassian.confluence.spaces.Space space, boolean isDraft)
space
- space in which to set the option valueMacroTransformStatus getMacroTransformStatus(com.atlassian.confluence.spaces.Space space)
space
- space from which to get the option valueMacroTransformStatus getEffectiveMacroTransformStatus(com.atlassian.confluence.spaces.Space space)
MacroTransformStatus.DEFAULT
it returns the Global level value for this setting.space
- space from which to get the option valuevoid setMacroTransformStatus(com.atlassian.confluence.spaces.Space space, MacroTransformStatus status)
space
- space in which to set the option valuestatus
- macro transform status to set for the given spaceboolean isSnapshotsCreationEnabled(com.atlassian.confluence.spaces.Space space)
space
- space in which to check the option valuevoid setSnapshotsCreationEnabled(com.atlassian.confluence.spaces.Space space, boolean isAutoSnapshotEnabled)
space
- space in which to set the option valueCopyright © 2021 Comala Technology Solutions, Inc.. All rights reserved.