Class BpmNotificationServiceImpl

java.lang.Object
io.jmix.bpm.notification.impl.BpmNotificationServiceImpl
All Implemented Interfaces:
BpmNotificationService

public class BpmNotificationServiceImpl extends Object implements BpmNotificationService
Default BpmNotificationService implementation, delegating delivery to the Notifications add-on's NotificationManager.

Declared as a conditional bean by BpmNotificationsAutoConfiguration.

  • Field Details

  • Constructor Details

    • BpmNotificationServiceImpl

      public BpmNotificationServiceImpl()
  • Method Details

    • send

      public void send(Collection<org.springframework.security.core.userdetails.UserDetails> recipients, String subject, @Nullable String body, Collection<String> channelNames, @Nullable String typeName, @Nullable String contentType)
      Description copied from interface: BpmNotificationService
      Sends one notification.
      Specified by:
      send in interface BpmNotificationService
      Parameters:
      recipients - recipient users; nothing is sent if empty
      subject - rendered subject
      body - rendered body
      channelNames - target channel names; defaults to the in-app channel when empty
      typeName - notification type name (an add-on notification type registered on the project side); may be null, and an unknown name is ignored
      contentType - raw body content type, e.g. "html" or "plain"; may be null, which is treated as plain text