Interface IContentWorkflowController
Assembly: DotNetNuke.dll
Syntax
public interface IContentWorkflowController
Methods
|
Improve this Doc
View Source
AddWorkflow(ContentWorkflow)
Declaration
void AddWorkflow(ContentWorkflow workflow)
Parameters
|
Improve this Doc
View Source
AddWorkflowLog(ContentItem, String, String, Int32)
Declaration
void AddWorkflowLog(ContentItem item, string action, string comment, int userID)
Parameters
Type |
Name |
Description |
ContentItem |
item |
|
System.String |
action |
|
System.String |
comment |
|
System.Int32 |
userID |
|
|
Improve this Doc
View Source
AddWorkflowState(ContentWorkflowState)
Declaration
void AddWorkflowState(ContentWorkflowState state)
Parameters
|
Improve this Doc
View Source
AddWorkflowStatePermission(ContentWorkflowStatePermission, Int32)
Declaration
void AddWorkflowStatePermission(ContentWorkflowStatePermission permission, int lastModifiedByUserID)
Parameters
|
Improve this Doc
View Source
CompleteState(Int32, String, String, String, Int32, Int32, String, String[])
Declaration
void CompleteState(int itemID, string subject, string body, string comment, int portalID, int userID, string source, params string[] parameters)
Parameters
Type |
Name |
Description |
System.Int32 |
itemID |
|
System.String |
subject |
|
System.String |
body |
|
System.String |
comment |
|
System.Int32 |
portalID |
|
System.Int32 |
userID |
|
System.String |
source |
|
System.String[] |
parameters |
|
|
Improve this Doc
View Source
CompleteState(Int32, String, String, String, Int32, Int32)
Declaration
void CompleteState(int itemID, string subject, string body, string comment, int portalID, int userID)
Parameters
Type |
Name |
Description |
System.Int32 |
itemID |
|
System.String |
subject |
|
System.String |
body |
|
System.String |
comment |
|
System.Int32 |
portalID |
|
System.Int32 |
userID |
|
|
Improve this Doc
View Source
CompleteWorkflow(Int32, String, Int32, Int32)
Declaration
void CompleteWorkflow(int contentItemId, string comment, int portalId, int userId)
Parameters
Type |
Name |
Description |
System.Int32 |
contentItemId |
|
System.String |
comment |
|
System.Int32 |
portalId |
|
System.Int32 |
userId |
|
|
Improve this Doc
View Source
CreateDefaultWorkflows(Int32)
Declaration
void CreateDefaultWorkflows(int portalId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
|
Improve this Doc
View Source
DeleteWorkflowLogs(Int32, Int32)
Declaration
void DeleteWorkflowLogs(int workflowID, int contentItemID)
Parameters
Type |
Name |
Description |
System.Int32 |
workflowID |
|
System.Int32 |
contentItemID |
|
|
Improve this Doc
View Source
DeleteWorkflowStatePermission(Int32)
Declaration
void DeleteWorkflowStatePermission(int workflowStatePermissionID)
Parameters
Type |
Name |
Description |
System.Int32 |
workflowStatePermissionID |
|
|
Improve this Doc
View Source
DiscardState(Int32, String, String, String, Int32, Int32)
Declaration
void DiscardState(int itemID, string subject, string body, string comment, int portalID, int userID)
Parameters
Type |
Name |
Description |
System.Int32 |
itemID |
|
System.String |
subject |
|
System.String |
body |
|
System.String |
comment |
|
System.Int32 |
portalID |
|
System.Int32 |
userID |
|
|
Improve this Doc
View Source
DiscardWorkflow(Int32, String, Int32, Int32)
Declaration
void DiscardWorkflow(int contentItemId, string comment, int portalId, int userId)
Parameters
Type |
Name |
Description |
System.Int32 |
contentItemId |
|
System.String |
comment |
|
System.Int32 |
portalId |
|
System.Int32 |
userId |
|
|
Improve this Doc
View Source
GetDefaultWorkflow(Int32)
Declaration
ContentWorkflow GetDefaultWorkflow(int portalID)
Parameters
Type |
Name |
Description |
System.Int32 |
portalID |
|
Returns
|
Improve this Doc
View Source
GetWorkflow(ContentItem)
Declaration
ContentWorkflow GetWorkflow(ContentItem item)
Parameters
Returns
|
Improve this Doc
View Source
GetWorkflowByID(Int32)
Declaration
ContentWorkflow GetWorkflowByID(int workflowID)
Parameters
Type |
Name |
Description |
System.Int32 |
workflowID |
|
Returns
|
Improve this Doc
View Source
GetWorkflowLogs(Int32, Int32)
Declaration
IEnumerable<ContentWorkflowLog> GetWorkflowLogs(int workflowId, int contentItemId)
Parameters
Type |
Name |
Description |
System.Int32 |
workflowId |
|
System.Int32 |
contentItemId |
|
Returns
|
Improve this Doc
View Source
GetWorkflows(Int32)
Declaration
IEnumerable<ContentWorkflow> GetWorkflows(int portalID)
Parameters
Type |
Name |
Description |
System.Int32 |
portalID |
|
Returns
|
Improve this Doc
View Source
GetWorkflowSource(Int32, String)
Declaration
ContentWorkflowSource GetWorkflowSource(int workflowId, string sourceName)
Parameters
Type |
Name |
Description |
System.Int32 |
workflowId |
|
System.String |
sourceName |
|
Returns
|
Improve this Doc
View Source
GetWorkflowStateByID(Int32)
Declaration
ContentWorkflowState GetWorkflowStateByID(int stateID)
Parameters
Type |
Name |
Description |
System.Int32 |
stateID |
|
Returns
|
Improve this Doc
View Source
GetWorkflowStatePermissionByState(Int32)
Declaration
IEnumerable<ContentWorkflowStatePermission> GetWorkflowStatePermissionByState(int stateID)
Parameters
Type |
Name |
Description |
System.Int32 |
stateID |
|
Returns
|
Improve this Doc
View Source
GetWorkflowStates(Int32)
Declaration
IEnumerable<ContentWorkflowState> GetWorkflowStates(int workflowID)
Parameters
Type |
Name |
Description |
System.Int32 |
workflowID |
|
Returns
|
Improve this Doc
View Source
IsAnyReviewer(Int32, Int32, Int32)
Declaration
bool IsAnyReviewer(int portalID, int userID, int workflowID)
Parameters
Type |
Name |
Description |
System.Int32 |
portalID |
|
System.Int32 |
userID |
|
System.Int32 |
workflowID |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsAnyReviewer(Int32)
Declaration
bool IsAnyReviewer(int workflowID)
Parameters
Type |
Name |
Description |
System.Int32 |
workflowID |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsCurrentReviewer(Int32, Int32, Int32)
Declaration
bool IsCurrentReviewer(int portalId, int userID, int itemID)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
userID |
|
System.Int32 |
itemID |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsCurrentReviewer(Int32)
Declaration
bool IsCurrentReviewer(int itemID)
Parameters
Type |
Name |
Description |
System.Int32 |
itemID |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsReviewer(Int32, Int32, Int32)
Declaration
bool IsReviewer(int portalId, int userID, int stateID)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
userID |
|
System.Int32 |
stateID |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsReviewer(Int32)
Declaration
bool IsReviewer(int stateID)
Parameters
Type |
Name |
Description |
System.Int32 |
stateID |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsWorkflowCompleted(Int32)
Declaration
bool IsWorkflowCompleted(int itemID)
Parameters
Type |
Name |
Description |
System.Int32 |
itemID |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsWorkflowOnDraft(Int32)
Declaration
bool IsWorkflowOnDraft(int itemID)
Parameters
Type |
Name |
Description |
System.Int32 |
itemID |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ReplaceNotificationTokens(String, ContentWorkflow, ContentItem, ContentWorkflowState, Int32, Int32, String)
Declaration
string ReplaceNotificationTokens(string text, ContentWorkflow workflow, ContentItem item, ContentWorkflowState state, int portalID, int userID, string comment = "")
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SendWorkflowNotification(Boolean, Boolean, PortalSettings, IEnumerable<RoleInfo>, IEnumerable<UserInfo>, String, String, String, Int32)
Declaration
void SendWorkflowNotification(bool sendEmail, bool sendMessage, PortalSettings settings, IEnumerable<RoleInfo> roles, IEnumerable<UserInfo> users, string subject, string body, string comment, int userID)
Parameters
Type |
Name |
Description |
System.Boolean |
sendEmail |
|
System.Boolean |
sendMessage |
|
PortalSettings |
settings |
|
IEnumerable<RoleInfo> |
roles |
|
IEnumerable<UserInfo> |
users |
|
System.String |
subject |
|
System.String |
body |
|
System.String |
comment |
|
System.Int32 |
userID |
|
|
Improve this Doc
View Source
StartWorkflow(Int32, Int32, Int32)
Declaration
void StartWorkflow(int workflowID, int itemID, int userID)
Parameters
Type |
Name |
Description |
System.Int32 |
workflowID |
|
System.Int32 |
itemID |
|
System.Int32 |
userID |
|
|
Improve this Doc
View Source
UpdateWorkflow(ContentWorkflow)
Declaration
void UpdateWorkflow(ContentWorkflow workflow)
Parameters
|
Improve this Doc
View Source
UpdateWorkflowState(ContentWorkflowState)
Declaration
void UpdateWorkflowState(ContentWorkflowState state)
Parameters
|
Improve this Doc
View Source
UpdateWorkflowStatePermission(ContentWorkflowStatePermission, Int32)
Declaration
void UpdateWorkflowStatePermission(ContentWorkflowStatePermission permission, int lasModifiedByUserId)
Parameters
Extension Methods