Class WorkflowStateManager
Inheritance
WorkflowStateManager
Assembly: DotNetNuke.dll
Syntax
public class WorkflowStateManager : ServiceLocator<IWorkflowStateManager, WorkflowStateManager>, IWorkflowStateManager
Constructors
WorkflowStateManager()
Declaration
public WorkflowStateManager()
Methods
AddWorkflowState(WorkflowState)
Declaration
public void AddWorkflowState(WorkflowState state)
Parameters
AddWorkflowStatePermission(WorkflowStatePermission, int)
Declaration
public void AddWorkflowStatePermission(WorkflowStatePermission permission, int userId)
Parameters
DeleteWorkflowState(WorkflowState)
Declaration
public void DeleteWorkflowState(WorkflowState state)
Parameters
DeleteWorkflowStatePermission(int)
Declaration
public void DeleteWorkflowStatePermission(int workflowStatePermissionId)
Parameters
Type |
Name |
Description |
int |
workflowStatePermissionId |
|
GetContentWorkflowStateUsageCount(int)
Declaration
public int GetContentWorkflowStateUsageCount(int stateId)
Parameters
Type |
Name |
Description |
int |
stateId |
|
Returns
GetFactory()
Declaration
protected override Func<IWorkflowStateManager> GetFactory()
Returns
Overrides
GetWorkflowState(int)
Declaration
public WorkflowState GetWorkflowState(int stateId)
Parameters
Type |
Name |
Description |
int |
stateId |
|
Returns
GetWorkflowStatePermissionByState(int)
Declaration
public IEnumerable<WorkflowStatePermission> GetWorkflowStatePermissionByState(int stateId)
Parameters
Type |
Name |
Description |
int |
stateId |
|
Returns
GetWorkflowStates(int)
Declaration
public IEnumerable<WorkflowState> GetWorkflowStates(int workflowId)
Parameters
Type |
Name |
Description |
int |
workflowId |
|
Returns
MoveState(int, int)
Declaration
public void MoveState(int stateId, int index)
Parameters
Type |
Name |
Description |
int |
stateId |
|
int |
index |
|
MoveWorkflowStateDown(int)
Declaration
public void MoveWorkflowStateDown(int stateId)
Parameters
Type |
Name |
Description |
int |
stateId |
|
MoveWorkflowStateUp(int)
Declaration
public void MoveWorkflowStateUp(int stateId)
Parameters
Type |
Name |
Description |
int |
stateId |
|
UpdateWorkflowState(WorkflowState)
Declaration
public void UpdateWorkflowState(WorkflowState state)
Parameters
Implements
Extension Methods