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
WARNING: this functionality is experimental and may be removed in future releases. Please don't use it in your project.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
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:
-