Interface BpmNotificationService

All Known Implementing Classes:
BpmNotificationServiceImpl

public interface BpmNotificationService
Sends a rendered notification to recipients through the Notifications add-on.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    send(Collection<org.springframework.security.core.userdetails.UserDetails> recipients, String subject, @Nullable String body, Collection<String> channelNames, @Nullable String typeName, @Nullable String contentType)
    Sends one notification.
  • Method Details

    • send

      void send(Collection<org.springframework.security.core.userdetails.UserDetails> recipients, String subject, @Nullable String body, Collection<String> channelNames, @Nullable String typeName, @Nullable String contentType)
      Sends one notification.
      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