Class InAppNotificationChannel

java.lang.Object
io.jmix.notifications.channel.impl.InAppNotificationChannel
All Implemented Interfaces:
NotificationChannel

@Component("ntf_InAppNotificationChannel") public class InAppNotificationChannel extends Object implements NotificationChannel
Default notification channel.

Sends notifications within application (to user UI).

  • Field Details

  • Constructor Details

    • InAppNotificationChannel

      public InAppNotificationChannel()
  • Method Details

    • getName

      public String getName()
      Description copied from interface: NotificationChannel
      Provides unique name of channel.
      Specified by:
      getName in interface NotificationChannel
      Returns:
      channel name
    • send

      public boolean send(Notification notification)
      Description copied from interface: NotificationChannel
      Sends provided notification via this notification channel.
      Specified by:
      send in interface NotificationChannel
      Parameters:
      notification - notification
      Returns:
      true if notification was successfully sent, false otherwise
    • storeNotification

      protected void storeNotification(Notification notification)