Package io.jmix.bpm.notifications
Class BpmNotificationSender
java.lang.Object
io.jmix.bpm.notifications.BpmNotificationSender
@Component
@ConditionalOnClass(name="io.jmix.notifications.NotificationManager")
public class BpmNotificationSender
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsendNotification(org.springframework.security.core.userdetails.UserDetails recipient, String subject, String body, List<String> notificationChannels, ContentType contentType) Performs notification sending via User Notification add-on when it is installed.
-
Constructor Details
-
BpmNotificationSender
public BpmNotificationSender()
-
-
Method Details
-
sendNotification
public void sendNotification(org.springframework.security.core.userdetails.UserDetails recipient, String subject, String body, List<String> notificationChannels, ContentType contentType) Performs notification sending via User Notification add-on when it is installed.- Parameters:
recipient- the user who should receive notificationsubject- the theme of the notificationbody- the content of the notificationnotificationChannels- channels that should be used to send notificationscontentType- the type of the content of the notification- See Also:
-