|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NotificationWorkflowDocumentService
The NotificationWorkflowDocumentService class is responsible for housing service methods for interacting with KEW.
Method Summary | |
---|---|
void |
clearAllFyisAndAcknowledgeNotificationWorkflowDocument(String initiatorUserId,
NotificationWorkflowDocument 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)
This service method is responsible for creating a NotificationWorkflowDocument for the given user, which in turn, creates a workflow document in KEW. |
NotificationWorkflowDocument |
getNotificationWorkflowDocumentByDocumentId(String initiatorUserId,
String workflowDocumentId)
This service method is responsible for retrieving a NotificationWorkflowDocument from KEW. |
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. |
Method Detail |
---|
String createAndAdHocRouteNotificationWorkflowDocument(NotificationMessageDelivery messageDelivery, String initiatorUserId, String recipientUserId, String annotation) throws WorkflowException
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
WorkflowException
void clearAllFyisAndAcknowledgeNotificationWorkflowDocument(String initiatorUserId, NotificationWorkflowDocument workflowDocument, String annotation) throws WorkflowException
initiatorUserId
- workflowDocument
- annotation
-
WorkflowException
void terminateWorkflowDocument(WorkflowDocument document) throws WorkflowException
document
- workflow document to terminate
WorkflowException
NotificationWorkflowDocument getNotificationWorkflowDocumentByDocumentId(String initiatorUserId, String workflowDocumentId) throws WorkflowException
initiatorUserId
- workflowDocumentId
-
WorkflowException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |