public class NotificationWorkflowDocumentServiceImpl extends Object implements NotificationWorkflowDocumentService
Constructor and Description |
---|
NotificationWorkflowDocumentServiceImpl(NotificationMessageContentService messageContentService)
Constructs a NotificationWorkflowDocumentServiceImpl instance.
|
Modifier and Type | Method and Description |
---|---|
void |
clearAllFyisAndAcknowledgeNotificationWorkflowDocument(String initiatorUserId,
WorkflowDocument workflowDocument,
String annotation)
This method is responsible for canceling a workflow document; which in turn simulates the "checking-off"
of a notification in the notification list by the system through an auto-removal.
|
String |
createAndAdHocRouteNotificationWorkflowDocument(NotificationMessageDelivery messageDelivery,
String initiatorUserId,
String recipientUserId,
String annotation)
Implements by instantiating a NotificationWorkflowDocument, which in turn interacts with
Workflow to set it up with an initiator of the passed in user id.
|
WorkflowDocument |
getNotificationWorkflowDocumentByDocumentId(String initiatorUserId,
String workflowDocumentId)
This service method is implemented by constructing a NotificationWorkflowDocument using the
pre-existing document Id that is passed in.
|
void |
terminateWorkflowDocument(WorkflowDocument document)
This method is responsible for unconditionally terminating a workflow document, after which there should be no
pending action requests against this document.
|
public NotificationWorkflowDocumentServiceImpl(NotificationMessageContentService messageContentService)
messageContentService
- public String createAndAdHocRouteNotificationWorkflowDocument(NotificationMessageDelivery messageDelivery, String initiatorUserId, String recipientUserId, String annotation)
createAndAdHocRouteNotificationWorkflowDocument
in interface NotificationWorkflowDocumentService
messageDelivery
- - the specific NotificationMessageDelivery that is associated with this ad hoc routeinitiatorUserId
- - the person/workflow user who is responsible for "initiating" this workflow documentrecipientUserId
- - the person/workflow user who will recieve this document via an ad hoc routeannotation
- - a description of the workflow ad hoc route transactionNotificationWorkflowDocumentService.createAndAdHocRouteNotificationWorkflowDocument(org.kuali.rice.ken.bo.NotificationMessageDelivery,
java.lang.String, java.lang.String, java.lang.String)
public WorkflowDocument getNotificationWorkflowDocumentByDocumentId(String initiatorUserId, String workflowDocumentId)
getNotificationWorkflowDocumentByDocumentId
in interface NotificationWorkflowDocumentService
org.kuali.rice.ken.service.NotificationWorkflowDocumentService#findNotificationWorkflowDocumentByDocumentId(java.lang.String,
java.lang.String)
public void clearAllFyisAndAcknowledgeNotificationWorkflowDocument(String initiatorUserId, WorkflowDocument workflowDocument, String annotation)
NotificationWorkflowDocumentService
clearAllFyisAndAcknowledgeNotificationWorkflowDocument
in interface NotificationWorkflowDocumentService
org.kuali.rice.ken.service.NotificationWorkflowDocumentService#clearAllFyisAndAcknowledgeNotificationWorkflowDocument(java.lang.String,
org.kuali.rice.ken.document.kew.NotificationWorkflowDocument, java.lang.String)
public void terminateWorkflowDocument(WorkflowDocument document)
NotificationWorkflowDocumentService
terminateWorkflowDocument
in interface NotificationWorkflowDocumentService
document
- workflow document to terminateNotificationWorkflowDocumentService.terminateWorkflowDocument(org.kuali.rice.kew.api.WorkflowDocument)
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.