• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

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 Source

CreateSystemWorkflows(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS