Interface IWorkflowActionManager
This class is responsible to manage Workflow Actions.
Namespace: DotNetNuke.Entities.Content.Workflow.Actions
Assembly: DotNetNuke.dll
Syntax
public interface IWorkflowActionManager
Methods
| Improve this Doc View SourceGetWorkflowActionInstance(Int32, WorkflowActionTypes)
This method gets an instance of the IWorkflowAction associated to the content type and action type.
Declaration
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
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.