Interface NotificationService

All Known Implementing Classes:
NotificationServiceImpl

public interface NotificationService
  • Method Details

    • createNotification

      Notification createNotification(String title, String message, Notification.NotificationType notificationType)
      Creates a notification that is displayed on the client. This method should primarily be used for static events ('entity has been created'). Note: The notifications are only created if the request context is set up correctly.
    • createNotificationWithProgress

      NotificationWithProgress createNotificationWithProgress(String title, String message, Notification.NotificationType notificationType, boolean supportsCancellation)
      Creates a notification that is displayed on the client. This method should primarily be used for background tasks, as the progress can be updated while the task is running. Note: The notifications are only created if the request context is set up correctly.
    • findNotificationWithProgressByTaskId

      NotificationWithProgress findNotificationWithProgressByTaskId(String taskId)