|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kcb.deliverer.impl.EmailMessageDeliverer
public class EmailMessageDeliverer
This class is responsible for describing the email delivery mechanism for the system.
Field Summary | |
---|---|
static String |
EMAIL_ADDR_PREF_KEY
|
static String |
EMAIL_DELIV_FRMT_PREF_KEY
|
static String |
NAME
|
Constructor Summary | |
---|---|
EmailMessageDeliverer()
Constructs a EmailMessageDeliverer.java. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NAME
public static final String EMAIL_ADDR_PREF_KEY
public static final String EMAIL_DELIV_FRMT_PREF_KEY
Constructor Detail |
---|
public EmailMessageDeliverer()
Method Detail |
---|
public void deliver(MessageDelivery messageDelivery) throws MessageDeliveryException
deliver
in interface MessageDeliverer
messageDelivery
- The messageDelivery to process
MessageDeliveryException
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 dismissed
MessageDismissalException
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |