Interface NotificationService
-
public interface NotificationService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddigest(NotificationContext context)Collects information of a digest message and sends it daily or weekly.voidprocess(Collection<NotificationInfo> notifications)Processes information when a list of notification messages are created.voidprocess(NotificationInfo notification)Processes information when a notification message is created.
-
-
-
Method Detail
-
process
void process(NotificationInfo notification) throws Exception
Processes information when a notification message is created.- Parameters:
notification- The notification message.- Throws:
Exception
-
digest
void digest(NotificationContext context) throws Exception
Collects information of a digest message and sends it daily or weekly.- Throws:
Exception
-
process
void process(Collection<NotificationInfo> notifications) throws Exception
Processes information when a list of notification messages are created.- Parameters:
notifications- The list of notification messages.- Throws:
Exception
-
-