public class EmailMessageDeliverer extends Object implements MessageDeliverer
Modifier and Type | Field and Description |
---|---|
static String |
EMAIL_ADDR_PREF_KEY |
static String |
EMAIL_DELIV_FRMT_PREF_KEY |
static String |
NAME |
Constructor and Description |
---|
EmailMessageDeliverer()
Constructs a EmailMessageDeliverer.java.
|
Modifier and Type | Method and Description |
---|---|
void |
autoRemoveMessageDelivery(MessageDelivery messageDelivery)
This implementation does an auto-remove by "canceling" the workflow email with the message delivery record.
|
void |
deliver(MessageDelivery messageDelivery)
This implementation uses the email service to deliver a notification.
|
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 implementation returns an address field.
|
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.
|
public static final String NAME
public static final String EMAIL_ADDR_PREF_KEY
public static final String EMAIL_DELIV_FRMT_PREF_KEY
public EmailMessageDeliverer()
public void deliver(MessageDelivery messageDelivery) throws MessageDeliveryException
deliver
in interface MessageDeliverer
messageDelivery
- The messageDelivery to processMessageDeliveryException
MessageDeliverer.deliver(MessageDelivery)
public void autoRemoveMessageDelivery(MessageDelivery messageDelivery)
org.kuali.rice.kcb.deliverer.MessageDeliverer#autoRemoveMessageDelivery(org.kuali.rice.ken.bo.NotificationMessageDelivery)
public void dismiss(MessageDelivery messageDelivery, String user, String cause) throws MessageDismissalException
MessageDeliverer
dismiss
in interface MessageDeliverer
messageDelivery
- the messageDelivery to dismisscause
- the reason the message was dismissedMessageDismissalException
MessageDeliverer.dismiss(org.kuali.rice.kcb.bo.MessageDelivery, java.lang.String, java.lang.String)
public String getDescription()
MessageDeliverer
getDescription
in interface MessageDeliverer
MessageDeliverer.getDescription()
public String getName()
MessageDeliverer
getName
in interface MessageDeliverer
MessageDeliverer.getName()
public String getTitle()
MessageDeliverer
getTitle
in interface MessageDeliverer
MessageDeliverer.getTitle()
public LinkedHashMap<String,String> getPreferenceKeys()
getPreferenceKeys
in interface MessageDeliverer
MessageDeliverer.getPreferenceKeys()
public void validatePreferenceValues(HashMap<String,String> prefs) throws ErrorList
MessageDeliverer
validatePreferenceValues
in interface MessageDeliverer
ErrorList
MessageDeliverer.validatePreferenceValues(java.util.HashMap)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.