Package org.kuali.rice.ken.document.kew
Class NotificationWorkflowDocument
java.lang.Object
org.kuali.rice.ken.document.kew.NotificationWorkflowDocument
This class extends the KEW WorkflowDocument object and becomes our gateway for get a handle on
KEW documents in workflow.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionstatic WorkflowDocumentcreateNotificationDocument(String principalId) Constructs a NotificationWorkflowDocument instance - this essentially creates a new routable document in KEW for the given user.static WorkflowDocumentcreateNotificationDocument(String principalId, String documentTypeName) Constructs a NotificationWorkflowDocument instance - this essentially creates a new routable document in KEW for the given user and document type name.static WorkflowDocumentloadNotificationDocument(String principalId, String documentId) Constructs a NotificationWorkflowDocument instance - this one is used to get a handle on a workflow document that was already created in the system.
-
Method Details
-
createNotificationDocument
Constructs a NotificationWorkflowDocument instance - this essentially creates a new routable document in KEW for the given user.- Parameters:
principalId-- Throws:
WorkflowException
-
createNotificationDocument
public static WorkflowDocument createNotificationDocument(String principalId, String documentTypeName) Constructs a NotificationWorkflowDocument instance - this essentially creates a new routable document in KEW for the given user and document type name.- Parameters:
documentTypeName-user-- Throws:
WorkflowException
-
loadNotificationDocument
Constructs a NotificationWorkflowDocument instance - this one is used to get a handle on a workflow document that was already created in the system.- Parameters:
documentId-user-- Throws:
WorkflowException
-