Interface ISystemWorkflowManager
This class is responsible to manage the system workflows of the portal. It provides creation operation methods and methods to get specifically all system workflows.
Namespace: DotNetNuke.Entities.Content.Workflow
Assembly: DotNetNuke.dll
Syntax
public interface ISystemWorkflowManager
Methods
| Improve this Doc View SourceCreateSystemWorkflows(Int32)
Creates predefined system workflows.
Declaration
void CreateSystemWorkflows(int portalId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId | Portal Id where system workflows will be created. |
GetContentApprovalWorkflow(Int32)
Get the 'Content Approval' system workflow of a specific portal.
Declaration
Workflow GetContentApprovalWorkflow(int portalId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId | Portal Id. |
Returns
Type | Description |
---|---|
Workflow | The 'Content Approval' workflow. |
GetDirectPublishWorkflow(Int32)
Get the 'Direct Publish' system workflow of a specific portal.
Declaration
Workflow GetDirectPublishWorkflow(int portalId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId | Portal Id. |
Returns
Type | Description |
---|---|
Workflow | The 'Direct Publish' workflow. |
GetDraftStateDefinition(Int32)
Gets a default definition of the 'Draft' system state.
Declaration
WorkflowState GetDraftStateDefinition(int order)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | order | Order number to be included in the state definition. |
Returns
Type | Description |
---|---|
WorkflowState | A 'Draft' state definition. |
GetPublishedStateDefinition(Int32)
Gets a default definition of the 'Published' system state.
Declaration
WorkflowState GetPublishedStateDefinition(int order)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | order | Order number to be included in the state definition. |
Returns
Type | Description |
---|---|
WorkflowState | A 'Published' state definition. |
GetReadyForReviewStateDefinition(Int32)
Gets a default definition of the 'Ready for review' system state.
Declaration
WorkflowState GetReadyForReviewStateDefinition(int order)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | order | Order number to be included in the state definition. |
Returns
Type | Description |
---|---|
WorkflowState | A 'Ready for review' state definition. |
GetSaveDraftWorkflow(Int32)
Get the 'Save Draft' system workflow of a specific portal.
Declaration
Workflow GetSaveDraftWorkflow(int portalId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId | Portal Id. |
Returns
Type | Description |
---|---|
Workflow | The 'Save Draft' workflow. |