Interface NotificationService

    • Method Detail

      • notifyUser

        void notifyUser​(java.lang.String source,
                        java.lang.String eventType,
                        NotificationEvent.Level level,
                        java.lang.Object... referenceObjects)
        Deprecated.
        Sends a notification to end user.
        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

        void clearNotifications​(java.lang.String source)
        Deprecated.
        Sends clear event which will remove all notifications from specified source.
        Parameters:
        source - identity of notification source.
      • clearNotifications

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

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

        java.lang.String getWidgetNotificationSource​(ActionContext<?> context)
        Deprecated.
        Gets default source for each notification sent by specified action.
        Parameters:
        context - action context.
        Returns:
        source name for notification.