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

Class WorkflowActionManager

Inheritance
System.Object
ServiceLocator<IWorkflowActionManager, WorkflowActionManager>
WorkflowActionManager
Implements
IWorkflowActionManager
Inherited Members
ServiceLocator<IWorkflowActionManager, WorkflowActionManager>.Instance
ServiceLocator<IWorkflowActionManager, WorkflowActionManager>.Factory
ServiceLocator<IWorkflowActionManager, WorkflowActionManager>.SetTestableInstance(IWorkflowActionManager)
ServiceLocator<IWorkflowActionManager, WorkflowActionManager>.ClearInstance()
ServiceLocator<IWorkflowActionManager, WorkflowActionManager>.GetFactory()
Namespace: DotNetNuke.Entities.Content.Workflow.Actions
Assembly: DotNetNuke.dll
Syntax
public class WorkflowActionManager : ServiceLocator<IWorkflowActionManager, WorkflowActionManager>, IWorkflowActionManager

Constructors

| Improve this Doc View Source

WorkflowActionManager()

Initializes a new instance of the WorkflowActionManager class.

Declaration
public WorkflowActionManager()

Methods

| Improve this Doc View Source

GetFactory()

Gets the service locator factory.

Declaration
protected override Func<IWorkflowActionManager> GetFactory()
Returns
Type Description
Func<IWorkflowActionManager>

A factory function.

Overrides
DotNetNuke.Framework.ServiceLocator<DotNetNuke.Entities.Content.Workflow.Actions.IWorkflowActionManager, DotNetNuke.Entities.Content.Workflow.Actions.WorkflowActionManager>.GetFactory()
| Improve this Doc View Source

GetWorkflowActionInstance(Int32, WorkflowActionTypes)

This method gets an instance of the IWorkflowAction associated to the content type and action type.

Declaration
public IWorkflowAction GetWorkflowActionInstance(int contentTypeId, WorkflowActionTypes actionType)
Parameters
Type Name Description
System.Int32 contentTypeId

Content Item Id.

WorkflowActionTypes actionType

Action type.

Returns
Type Description
IWorkflowAction

IWorkflowAction instance.

| Improve this Doc View Source

RegisterWorkflowAction(WorkflowAction)

This method registers a new workflow action.

Declaration
public void RegisterWorkflowAction(WorkflowAction workflowAction)
Parameters
Type Name Description
WorkflowAction workflowAction

Workflow action entity.

Remarks

This method checks that the WorkflowAction Source implements the IWorkflowAction interface before register it.

Implements

IWorkflowActionManager

Extension Methods

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