Schnittstelle NotificationService


public interface NotificationService
Provides methods concerning UserNotifications.
  • Methodendetails

    • fetchUserNotifications

      List<UserNotification> fetchUserNotifications(Predicate<UserNotification> predicate) throws KernelRuntimeException
      Returns a list of user notifications.
      Parameter:
      predicate - A filter predicate that accepts the user notifications to be returned. May be null to return all existing user notifications.
      Gibt zurück:
      A list of user notifications, in the order in which they were published.
      Löst aus:
      KernelRuntimeException - In case there is an exception executing this method.
    • publishUserNotification

      void publishUserNotification(UserNotification notification) throws KernelRuntimeException
      Publishes a user notification.
      Parameter:
      notification - The notification to be published.
      Löst aus:
      KernelRuntimeException - In case there is an exception executing this method.