|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.ken.service.impl.NotificationWorkflowDocumentServiceImpl
public class NotificationWorkflowDocumentServiceImpl
This class is responsible for interacting with KEW - this is the default implementation that leverages the KEW client API.
Constructor Summary | |
---|---|
NotificationWorkflowDocumentServiceImpl(NotificationMessageContentService messageContentService)
Constructs a NotificationWorkflowDocumentServiceImpl instance. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NotificationWorkflowDocumentServiceImpl(NotificationMessageContentService messageContentService)
messageContentService
- Method Detail |
---|
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 transaction
NotificationWorkflowDocumentService.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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |