Interface NotificationService
- All Known Implementing Classes:
NotificationServiceImpl
public interface NotificationService
Notification Service Interface.
- Since:
- 4.0
- Author:
- Roy Wetherall
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether a notification provider exists or not.Gets a list of all the currently available notification providers.voidregister(NotificationProvider notificationProvider) Registers a notification provider with the notification service.voidsendNotification(String notificationProvider, NotificationContext notificationContext) Send notification using the names notification provider and notification context.
-
Method Details
-
register
Registers a notification provider with the notification service.- Parameters:
notificationProvider- notification provider
-
getNotificationProviders
Gets a list of all the currently available notification providers. -
exists
Indicates whether a notification provider exists or not.- Parameters:
notificationProvider- notification provider- Returns:
- boolean true if exists, false otherwise
-
sendNotification
@NotAuditable void sendNotification(String notificationProvider, NotificationContext notificationContext) Send notification using the names notification provider and notification context.- Parameters:
notificationProvider- notification providernotificationContext- notification context
-