public class NotificationServiceImpl extends java.lang.Object implements NotificationService
| Constructor and Description |
|---|
NotificationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(java.lang.String notificationProvider)
Indicates whether a notification provider exists or not.
|
java.util.List |
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(java.lang.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(java.lang.String notificationProvider)
NotificationServiceexists in interface NotificationServicenotificationProvider - notification providerNotificationService.exists(java.lang.String)public java.util.List getNotificationProviders()
NotificationServicegetNotificationProviders in interface NotificationServiceList<String> notification provider namesNotificationService.getNotificationProviders()public void sendNotification(java.lang.String notificationProvider,
NotificationContext notificationContext)
NotificationServicesendNotification in interface NotificationServicenotificationProvider - notification providernotificationContext - notification contextNotificationService.sendNotification(java.lang.String, org.alfresco.service.cmr.notification.NotificationContext)Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.