Class DefaultNotificationService

    • Field Detail

      • SETTING_NOTIFICATION_SOURCE

        public static final java.lang.String SETTING_NOTIFICATION_SOURCE
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultNotificationService

        public DefaultNotificationService()
        Deprecated.
    • Method Detail

      • notifyUser

        public void notifyUser​(java.lang.String source,
                               java.lang.String eventType,
                               NotificationEvent.Level level,
                               java.lang.Object... referenceObjects)
        Deprecated.
        Description copied from interface: NotificationService
        Sends a notification to end user.
        Specified by:
        notifyUser in interface NotificationService
        Parameters:
        source - identity of notification source.
        eventType - type of notification to be sent NotificationEventTypes.
        level - importance level of notification.
        referenceObjects - optional array of objects that are related to event.
      • clearNotifications

        public void clearNotifications​(java.lang.String source)
        Deprecated.
        Description copied from interface: NotificationService
        Sends clear event which will remove all notifications from specified source.
        Specified by:
        clearNotifications in interface NotificationService
        Parameters:
        source - identity of notification source.
      • clearNotifications

        public void clearNotifications​(java.lang.String source,
                                       NotificationEvent.Level level)
        Deprecated.
        Description copied from interface: NotificationService
        Sends clear event which will remove all notifications from specified source of specified importance level.
        Specified by:
        clearNotifications in interface NotificationService
        Parameters:
        source - identity of notification source.
        level - importance level of notifications to be removed.
      • getWidgetNotificationSource

        public java.lang.String getWidgetNotificationSource​(WidgetInstanceManager widgetInstanceManager)
        Deprecated.
        Description copied from interface: NotificationService
        Gets default source for each notification sent by specified widget.
        Specified by:
        getWidgetNotificationSource in interface NotificationService
        Parameters:
        widgetInstanceManager - instance manager of a widget which sends notification.
        Returns:
        source name for notification.
      • getWidgetNotificationSource

        public java.lang.String getWidgetNotificationSource​(ActionContext<?> context)
        Deprecated.
        Description copied from interface: NotificationService
        Gets default source for each notification sent by specified action.
        Specified by:
        getWidgetNotificationSource in interface NotificationService
        Parameters:
        context - action context.
        Returns:
        source name for notification.