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
Nested ClassesModifier and TypeClassDescriptionclassstatic classNested 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
FieldsModifier and TypeFieldDescriptionprotected NotificationChannelProviderprotected NotificationTypesRepositoryprotected UserRepository -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionStarts creating new notifications via fluent API.protected List<Notification>createNotifications(NotificationManager.NotificationRequest notificationRequest) protected voidsend(Notification notification) protected voidsend(NotificationManager.NotificationRequest notificationRequest)
-
Field Details
-
notificationChannelProvider
-
notificationTypesRepository
-
userRepository
-
-
Constructor Details
-
NotificationManagerImpl
public NotificationManagerImpl()
-
-
Method Details
-
createNotification
Description copied from interface:NotificationManagerStarts creating new notifications via fluent API.- Specified by:
createNotificationin interfaceNotificationManager- Returns:
- builder
-
send
-
send
-
createNotifications
protected List<Notification> createNotifications(NotificationManager.NotificationRequest notificationRequest)
-