Class WorkflowActionManager
Inheritance
System.Object
WorkflowActionManager
Implements
Inherited Members
Namespace: DotNetNuke.Entities.Content.Workflow.Actions
Assembly: DotNetNuke.dll
Syntax
public class WorkflowActionManager : ServiceLocator<IWorkflowActionManager, WorkflowActionManager>, IWorkflowActionManager
Constructors
| Improve this Doc View SourceWorkflowActionManager()
Initializes a new instance of the WorkflowActionManager class.
Declaration
public WorkflowActionManager()
Methods
| Improve this Doc View SourceGetFactory()
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. |
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.