public class KEWActionListMessageDeliverer extends Object implements NotificationMessageDeliverer
Modifier and Type | Field and Description |
---|---|
static String |
INTERNAL_COMMAND_FLAG
Property set in the attribute content that indicates the action received by workflow was
initiated by the Notification System itself (and not an end user)
|
Constructor and Description |
---|
KEWActionListMessageDeliverer()
Constructs a KEWActionListMessageDeliverer.java.
|
Modifier and Type | Method and Description |
---|---|
void |
autoRemoveMessageDelivery(NotificationMessageDelivery messageDelivery)
This implementation does an auto-remove by "canceling" the workflow document associated with
the message delivery record.
|
void |
deliverMessage(NotificationMessageDelivery messageDelivery)
This implementation leverages the workflow integration services to push this notification
into the KEW action list.
|
void |
dismissMessageDelivery(NotificationMessageDelivery messageDelivery,
String user,
String cause)
This method dismisses/removes the NotificationMessageDelivery so that it is no longer being presented to the user
via this deliverer.
|
protected void |
flagWorkflowDocument(WorkflowDocument doc)
Marks the workflow document as originating from the Notification System, so that the
Notification post-processor does not route the action back through the Notification System.
|
public static final String INTERNAL_COMMAND_FLAG
public KEWActionListMessageDeliverer()
public void deliverMessage(NotificationMessageDelivery messageDelivery) throws NotificationMessageDeliveryException
deliverMessage
in interface NotificationMessageDeliverer
messageDelivery
- The messageDelivery to processNotificationMessageDeliveryException
NotificationMessageDeliverer.deliverMessage(org.kuali.rice.ken.bo.NotificationMessageDelivery)
public void autoRemoveMessageDelivery(NotificationMessageDelivery messageDelivery) throws NotificationAutoRemoveException
autoRemoveMessageDelivery
in interface NotificationMessageDeliverer
messageDelivery
- The messageDelivery to auto removeNotificationAutoRemoveException
NotificationMessageDeliverer.autoRemoveMessageDelivery(org.kuali.rice.ken.bo.NotificationMessageDelivery)
public void dismissMessageDelivery(NotificationMessageDelivery messageDelivery, String user, String cause)
NotificationMessageDeliverer
dismissMessageDelivery
in interface NotificationMessageDeliverer
messageDelivery
- the messageDelivery to dismisscause
- the reason the message was dismissedNotificationMessageDeliverer.dismissMessageDelivery(org.kuali.rice.ken.bo.NotificationMessageDelivery,
java.lang.String, java.lang.String)
protected void flagWorkflowDocument(WorkflowDocument doc)
doc
- the doc to monogramCopyright © 2005–2015 The Kuali Foundation. All rights reserved.