Interface NotificationService
public interface NotificationService
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringEvent broadcast for every notification enteringprocess(org.exoplatform.commons.api.notification.model.NotificationInfo), before and independently from the channel dispatch, carrying theNotificationInfoas data. -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(Collection<NotificationInfo> notifications) Processes information when a list of notification messages are created.voidprocess(NotificationInfo notification) Processes information when a notification message is created.
-
Field Details
-
NOTIFICATION_PROCESSED_EVENT
Event broadcast for every notification enteringprocess(org.exoplatform.commons.api.notification.model.NotificationInfo), before and independently from the channel dispatch, carrying theNotificationInfoas data. The digest capture listens to it; a listener failure never affects the notification itself.- See Also:
-
-
Method Details
-
process
Processes information when a notification message is created.- Parameters:
notification- The notification message.- Throws:
Exception
-
process
Processes information when a list of notification messages are created.- Parameters:
notifications- The list of notification messages.- Throws:
Exception
-