Package io.jmix.notifications.impl
Class NotificationManagerImpl
java.lang.Object
io.jmix.notifications.impl.NotificationManagerImpl
- All Implemented Interfaces:
NotificationManager
@Component("ntf_NotificationManager")
public class NotificationManagerImpl
extends Object
implements NotificationManager
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
static class
Nested classes/interfaces inherited from interface io.jmix.notifications.NotificationManager
NotificationManager.InputBody, NotificationManager.InputChannels, NotificationManager.InputContentType, NotificationManager.InputOptionals, NotificationManager.InputRecipients, NotificationManager.InputSubject, NotificationManager.InputType, NotificationManager.NotificationRequest, NotificationManager.NotificationRequestBuilder, NotificationManager.SendNotification
-
Field Summary
Modifier and TypeFieldDescriptionprotected NotificationChannelProvider
protected NotificationTypesRepository
protected UserRepository
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionStarts creating new notifications via fluent API.protected List<Notification>
createNotifications
(NotificationManager.NotificationRequest notificationRequest) protected void
send
(Notification notification) protected void
send
(NotificationManager.NotificationRequest notificationRequest)
-
Field Details
-
notificationChannelProvider
-
notificationTypesRepository
-
userRepository
-
-
Constructor Details
-
NotificationManagerImpl
public NotificationManagerImpl()
-
-
Method Details
-
createNotification
Description copied from interface:NotificationManager
Starts creating new notifications via fluent API.- Specified by:
createNotification
in interfaceNotificationManager
- Returns:
- builder
-
send
-
send
-
createNotifications
protected List<Notification> createNotifications(NotificationManager.NotificationRequest notificationRequest)
-