public class NotificationServiceImpl extends Object implements NotificationService
| Constructor and Description |
|---|
NotificationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(String notificationProvider)
Indicates whether a notification provider exists or not.
|
List<String> |
getNotificationProviders()
Gets a list of all the currently available notification providers.
|
void |
register(NotificationProvider notificationProvider)
Registers a notification provider with the notification service.
|
void |
sendNotification(String notificationProvider,
NotificationContext notificationContext)
Send notification using the names notification provider and notification context.
|
public void register(NotificationProvider notificationProvider)
NotificationServiceregister in interface NotificationServicenotificationProvider - notification providerNotificationService.register(org.alfresco.service.cmr.notification.NotificationProvider)public boolean exists(String notificationProvider)
NotificationServiceexists in interface NotificationServicenotificationProvider - notification providerNotificationService.exists(java.lang.String)public List<String> getNotificationProviders()
NotificationServicegetNotificationProviders in interface NotificationServiceList<String> notification provider namesNotificationService.getNotificationProviders()public void sendNotification(String notificationProvider, NotificationContext notificationContext)
NotificationServicesendNotification in interface NotificationServicenotificationProvider - notification providernotificationContext - notification contextNotificationService.sendNotification(java.lang.String, org.alfresco.service.cmr.notification.NotificationContext)Copyright © 2005–2018 Alfresco Software. All rights reserved.