Package org.alfresco.repo.notification
Class NotificationServiceImpl
java.lang.Object
org.alfresco.repo.notification.NotificationServiceImpl
- All Implemented Interfaces:
NotificationService
Notification service implementation.
- Since:
- 4.0
- Author:
- Roy Wetherall
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
NotificationServiceImpl
public NotificationServiceImpl()
-
-
Method Details
-
register
Description copied from interface:NotificationServiceRegisters a notification provider with the notification service.- Specified by:
registerin interfaceNotificationService- Parameters:
notificationProvider- notification provider- See Also:
-
exists
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:
-
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:
-
sendNotification
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:
-