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
Modifier and TypeFieldDescriptionprotected final String
protected final Set<NotificationChannel>
protected final ContentType
protected final Set<org.springframework.security.core.userdetails.UserDetails>
protected final String
protected final NotificationType
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
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.NotificationRequest
Gets subject of notification.- Specified by:
getSubject
in interfaceNotificationManager.NotificationRequest
- Returns:
- subject
-
getBody
Description copied from interface:NotificationManager.NotificationRequest
Gets main message of notification.- Specified by:
getBody
in interfaceNotificationManager.NotificationRequest
- Returns:
- body
-
getContentType
Description copied from interface:NotificationManager.NotificationRequest
Gets content type for notification body.- Specified by:
getContentType
in interfaceNotificationManager.NotificationRequest
- Returns:
- content type
-
getRecipients
Description copied from interface:NotificationManager.NotificationRequest
Gets collection of users-recipients.- Specified by:
getRecipients
in interfaceNotificationManager.NotificationRequest
- Returns:
- collection of users
-
getType
Description copied from interface:NotificationManager.NotificationRequest
Gets notification type- Specified by:
getType
in interfaceNotificationManager.NotificationRequest
- Returns:
- notification type
-
getChannels
Description copied from interface:NotificationManager.NotificationRequest
Gets notification channels.- Specified by:
getChannels
in interfaceNotificationManager.NotificationRequest
- Returns:
- collection of notification channels
-