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 SummaryConstructors
- 
Method SummaryModifier 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- 
BpmNotificationSenderpublic BpmNotificationSender()
 
- 
- 
Method Details- 
sendNotificationpublic 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 notification
- subject- the theme of the notification
- body- the content of the notification
- notificationChannels- channels that should be used to send notifications
- contentType- the type of the content of the notification
- See Also:
 
 
-