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 SummaryModifier 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- 
getSubjectString getSubject()Gets subject of notification.- Returns:
- subject
 
- 
getBodyGets main message of notification.- Returns:
- body
 
- 
getContentTypeContentType getContentType()Gets content type for notification body.- Returns:
- content type
 
- 
getRecipientsCollection<org.springframework.security.core.userdetails.UserDetails> getRecipients()Gets collection of users-recipients.- Returns:
- collection of users
 
- 
getTypeGets notification type- Returns:
- notification type
 
- 
getChannelsCollection<NotificationChannel> getChannels()Gets notification channels.- Returns:
- collection of notification channels
 
 
-