Package org.alfresco.repo.notification
Class NotificationServiceImpl
- java.lang.Object
-
- org.alfresco.repo.notification.NotificationServiceImpl
-
- All Implemented Interfaces:
NotificationService
public class NotificationServiceImpl extends java.lang.Object implements NotificationService
Notification service implementation.- Since:
- 4.0
- Author:
- Roy Wetherall
-
-
Constructor Summary
Constructors Constructor Description NotificationServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexists(java.lang.String notificationProvider)Indicates whether a notification provider exists or not.java.util.List<java.lang.String>getNotificationProviders()Gets a list of all the currently available notification providers.voidregister(NotificationProvider notificationProvider)Registers a notification provider with the notification service.voidsendNotification(java.lang.String notificationProvider, NotificationContext notificationContext)Send notification using the names notification provider and notification context.
-
-
-
Method Detail
-
register
public void register(NotificationProvider notificationProvider)
Description copied from interface:NotificationServiceRegisters a notification provider with the notification service.- Specified by:
registerin interfaceNotificationService- Parameters:
notificationProvider- notification provider- See Also:
NotificationService.register(org.alfresco.service.cmr.notification.NotificationProvider)
-
exists
public boolean exists(java.lang.String notificationProvider)
Description copied from interface:NotificationServiceIndicates whether a notification provider exists or not.- Specified by:
existsin interfaceNotificationService- Parameters:
notificationProvider- notification provider- Returns:
- boolean true if exists, false otherwise
- See Also:
NotificationService.exists(java.lang.String)
-
getNotificationProviders
public java.util.List<java.lang.String> getNotificationProviders()
Description copied from interface:NotificationServiceGets a list of all the currently available notification providers.- Specified by:
getNotificationProvidersin interfaceNotificationService- Returns:
List<String> notification provider names- See Also:
NotificationService.getNotificationProviders()
-
sendNotification
public void sendNotification(java.lang.String notificationProvider, NotificationContext notificationContext)Description copied from interface:NotificationServiceSend notification using the names notification provider and notification context.- Specified by:
sendNotificationin interfaceNotificationService- Parameters:
notificationProvider- notification providernotificationContext- notification context- See Also:
NotificationService.sendNotification(java.lang.String, org.alfresco.service.cmr.notification.NotificationContext)
-
-