public interface MessageDeliverer
Modifier and Type | Method and Description |
---|---|
void |
deliver(MessageDelivery messageDelivery)
This method is responsible for delivering the passed in messageDelivery record.
|
void |
dismiss(MessageDelivery 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.
|
String |
getDescription()
This method returns the human readable description for this plugin.
|
String |
getName()
This method returns the human readable name of the plugin.
|
LinkedHashMap<String,String> |
getPreferenceKeys()
This method is responsible for returning a list of preference key names along with their corresponding labels that get
rendered in the UI.
|
String |
getTitle()
This method returns the human readable Title of the plugin.
|
void |
validatePreferenceValues(HashMap<String,String> prefs)
This method is responsible for validating preference values when a person saves their preferences for the particular
NotificationMessageDeliverer.
|
LinkedHashMap<String,String> getPreferenceKeys()
void validatePreferenceValues(HashMap<String,String> prefs) throws ErrorList
ErrorList
String getName()
String getTitle()
String getDescription()
void deliver(MessageDelivery messageDelivery) throws MessageDeliveryException
messageDelivery
- The messageDelivery to processMessageDeliveryException
void dismiss(MessageDelivery messageDelivery, String user, String cause) throws MessageDismissalException
messageDelivery
- the messageDelivery to dismissthe
- user that caused the dismissal; in the case of end-user actions, this will most likely be the user to
which the message was delivered (user recipient in the NotificationMessageDelivery object)cause
- the reason the message was dismissedMessageDismissalException
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.