Package io.jmix.notifications
Interface NotificationManager.NotificationRequest
- All Known Implementing Classes:
NotificationManagerImpl.NotificationRequestImpl
- Enclosing interface:
- NotificationManager
public static interface NotificationManager.NotificationRequest
Object describes notification (or set of notifications) that should be sent.
-
Method Summary
Modifier and TypeMethodDescriptiongetBody()
Gets main message of notification.Gets notification channels.Gets content type for notification body.Collection<org.springframework.security.core.userdetails.UserDetails>
Gets collection of users-recipients.Gets subject of notification.getType()
Gets notification type
-
Method Details
-
getSubject
String getSubject()Gets subject of notification.- Returns:
- subject
-
getBody
Gets main message of notification.- Returns:
- body
-
getContentType
ContentType getContentType()Gets content type for notification body.- Returns:
- content type
-
getRecipients
Collection<org.springframework.security.core.userdetails.UserDetails> getRecipients()Gets collection of users-recipients.- Returns:
- collection of users
-
getType
Gets notification type- Returns:
- notification type
-
getChannels
Collection<NotificationChannel> getChannels()Gets notification channels.- Returns:
- collection of notification channels
-