Class SystemWorkflowManager
Inheritance
Implements
Inherited Members
Namespace: DotNetNuke.Entities.Content.Workflow
Assembly: DotNetNuke.dll
Syntax
public class SystemWorkflowManager : ServiceLocator<ISystemWorkflowManager, SystemWorkflowManager>, ISystemWorkflowManager
Constructors
| Improve this Doc View SourceSystemWorkflowManager()
Initializes a new instance of the SystemWorkflowManager class.
Declaration
public SystemWorkflowManager()
Fields
| Improve this Doc View SourceContentAprovalWorkflowKey
Declaration
public const string ContentAprovalWorkflowKey = null
Field Value
Type | Description |
---|---|
System.String |
DirectPublishWorkflowKey
Declaration
public const string DirectPublishWorkflowKey = null
Field Value
Type | Description |
---|---|
System.String |
SaveDraftWorkflowKey
Declaration
public const string SaveDraftWorkflowKey = null
Field Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceCreateSystemWorkflows(Int32)
Creates predefined system workflows.
Declaration
public 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
public 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
public 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
public 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. |
GetFactory()
Gets the service locator factory.
Declaration
protected override Func<ISystemWorkflowManager> GetFactory()
Returns
Type | Description |
---|---|
Func<ISystemWorkflowManager> | A factory function. |
Overrides
GetPublishedStateDefinition(Int32)
Gets a default definition of the 'Published' system state.
Declaration
public 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
public 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
public Workflow GetSaveDraftWorkflow(int portalId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId | Portal Id. |
Returns
Type | Description |
---|---|
Workflow | The 'Save Draft' workflow. |