|
||||||||||
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.
Field Summary | |
---|---|
private static org.apache.log4j.Logger |
LOG
|
private NotificationMessageContentService |
messageContentService
|
Constructor Summary | |
---|---|
NotificationWorkflowDocumentServiceImpl(NotificationMessageContentService messageContentService)
Constructs a NotificationWorkflowDocumentServiceImpl instance. |
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. |
Long |
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. |
NotificationWorkflowDocument |
getNotificationWorkflowDocumentByDocumentId(String initiatorUserId,
Long 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 |
Field Detail |
---|
private static org.apache.log4j.Logger LOG
private NotificationMessageContentService messageContentService
Constructor Detail |
---|
public NotificationWorkflowDocumentServiceImpl(NotificationMessageContentService messageContentService)
messageContentService
- Method Detail |
---|
public Long createAndAdHocRouteNotificationWorkflowDocument(NotificationMessageDelivery messageDelivery, String initiatorUserId, String recipientUserId, String annotation) throws WorkflowException
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
WorkflowException
NotificationWorkflowDocumentService.createAndAdHocRouteNotificationWorkflowDocument(org.kuali.rice.ken.bo.NotificationMessageDelivery, java.lang.String, java.lang.String, java.lang.String)
public NotificationWorkflowDocument getNotificationWorkflowDocumentByDocumentId(String initiatorUserId, Long workflowDocumentId) throws WorkflowException
getNotificationWorkflowDocumentByDocumentId
in interface NotificationWorkflowDocumentService
WorkflowException
org.kuali.rice.ken.service.NotificationWorkflowDocumentService#findNotificationWorkflowDocumentByDocumentId(java.lang.String, java.lang.Long)
public void clearAllFyisAndAcknowledgeNotificationWorkflowDocument(String initiatorUserId, NotificationWorkflowDocument workflowDocument, String annotation) throws WorkflowException
NotificationWorkflowDocumentService
clearAllFyisAndAcknowledgeNotificationWorkflowDocument
in interface NotificationWorkflowDocumentService
WorkflowException
NotificationWorkflowDocumentService.clearAllFyisAndAcknowledgeNotificationWorkflowDocument(java.lang.String, org.kuali.rice.ken.document.kew.NotificationWorkflowDocument, java.lang.String)
public void terminateWorkflowDocument(WorkflowDocument document) throws WorkflowException
NotificationWorkflowDocumentService
terminateWorkflowDocument
in interface NotificationWorkflowDocumentService
document
- workflow document to terminate
WorkflowException
NotificationWorkflowDocumentService.terminateWorkflowDocument(org.kuali.rice.kew.service.WorkflowDocument)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |