Package io.jmix.notifications.impl
Class NotificationManagerImpl.NotificationRequestImpl
java.lang.Object
io.jmix.notifications.impl.NotificationManagerImpl.NotificationRequestImpl
- All Implemented Interfaces:
NotificationManager.NotificationRequest
- Enclosing class:
- NotificationManagerImpl
public static class NotificationManagerImpl.NotificationRequestImpl
extends Object
implements NotificationManager.NotificationRequest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Set<NotificationChannel>protected final ContentTypeprotected final Set<org.springframework.security.core.userdetails.UserDetails>protected final Stringprotected final NotificationType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
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
-
Field Details
-
recipients
-
subject
-
body
-
contentType
-
type
-
channels
-
-
Constructor Details
-
NotificationRequestImpl
-
-
Method Details
-
getSubject
Description copied from interface:NotificationManager.NotificationRequestGets subject of notification.- Specified by:
getSubjectin interfaceNotificationManager.NotificationRequest- Returns:
- subject
-
getBody
Description copied from interface:NotificationManager.NotificationRequestGets main message of notification.- Specified by:
getBodyin interfaceNotificationManager.NotificationRequest- Returns:
- body
-
getContentType
Description copied from interface:NotificationManager.NotificationRequestGets content type for notification body.- Specified by:
getContentTypein interfaceNotificationManager.NotificationRequest- Returns:
- content type
-
getRecipients
Description copied from interface:NotificationManager.NotificationRequestGets collection of users-recipients.- Specified by:
getRecipientsin interfaceNotificationManager.NotificationRequest- Returns:
- collection of users
-
getType
Description copied from interface:NotificationManager.NotificationRequestGets notification type- Specified by:
getTypein interfaceNotificationManager.NotificationRequest- Returns:
- notification type
-
getChannels
Description copied from interface:NotificationManager.NotificationRequestGets notification channels.- Specified by:
getChannelsin interfaceNotificationManager.NotificationRequest- Returns:
- collection of notification channels
-