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)
NotificationService
register
in interface NotificationService
notificationProvider
- notification providerNotificationService.register(org.alfresco.service.cmr.notification.NotificationProvider)
public boolean exists(String notificationProvider)
NotificationService
exists
in interface NotificationService
notificationProvider
- notification providerNotificationService.exists(java.lang.String)
public List<String> getNotificationProviders()
NotificationService
getNotificationProviders
in interface NotificationService
List
<String
> notification provider namesNotificationService.getNotificationProviders()
public void sendNotification(String notificationProvider, NotificationContext notificationContext)
NotificationService
sendNotification
in interface NotificationService
notificationProvider
- notification providernotificationContext
- notification contextNotificationService.sendNotification(java.lang.String, org.alfresco.service.cmr.notification.NotificationContext)
Copyright © 2005–2017 Alfresco Software. All rights reserved.