|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NotificationMessageDeliverer
This class represents the different types of Notification Delivery Types that the system can handle. For example, an instance of delivery type could be "ActionList" or "Email" or "SMS". Any deliverer implementation adhering to this interface can be plugged into the system and will be automatically available for use.
Method Summary | |
---|---|
void |
autoRemoveMessageDelivery(NotificationMessageDelivery messageDelivery)
This method handles auto removing a message delivery from a person's list of notifications. |
void |
deliverMessage(NotificationMessageDelivery messageDelivery)
This method is responsible for delivering the passed in messageDelivery record. |
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. |
Method Detail |
---|
void deliverMessage(NotificationMessageDelivery messageDelivery) throws NotificationMessageDeliveryException
messageDelivery
- The messageDelivery to process
NotificationMessageDeliveryException
void autoRemoveMessageDelivery(NotificationMessageDelivery messageDelivery) throws NotificationAutoRemoveException
messageDelivery
- The messageDelivery to auto remove
NotificationAutoRemoveException
void dismissMessageDelivery(NotificationMessageDelivery messageDelivery, String user, String cause) throws NotificationMessageDismissalException
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 dismissed
NotificationMessageDismissalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |