com.acsinet_solutions.cetia4.service
Interface NotificationManager

All Known Implementing Classes:
DebuggingNotificationManager, SimpleMailNotificationManager

public interface NotificationManager

A very simple notification management service.

Author:
Santiago Arriaga

Method Summary
 void notify(java.lang.String key, java.util.List addresses, java.util.Map<java.lang.String,java.lang.Object> params)
          Notify a message to the given List of adresses.
 void notify(java.lang.String key, java.util.Map<java.lang.String,java.lang.Object> params)
          Notify a message.
 

Method Detail

notify

void notify(java.lang.String key,
            java.util.Map<java.lang.String,java.lang.Object> params)
            throws NotificationException
Notify a message.

Parameters:
key - The not-null not-emtpy valid message key
params - The not-null maybe-empty Map instance with not-null not-empty String keys and not-null values.
Throws:
NotificationException

notify

void notify(java.lang.String key,
            java.util.List addresses,
            java.util.Map<java.lang.String,java.lang.Object> params)
            throws NotificationException
Notify a message to the given List of adresses.

Parameters:
key - The not-null not-emtpy valid message key.
addresses - A not-null maybe-empty List instance of not-null String instances representing valid addresses for the notification framework being used.
params - The not-null maybe-empty Map instance with not-null not-empty String keys and not-null values.
Throws:
NotificationException