public interface NotificationService
Modifier and Type | Method and Description |
---|---|
<T> void |
sendNotification(String userId,
Notification notification,
NotificationMessageProvider<T> messageProvider)
Send a notification based on the given
Notification with the message as a content. |
<T> void sendNotification(String userId, Notification notification, NotificationMessageProvider<T> messageProvider)
Notification
with the message
as a content.userId
- the id of the user to which the notification needs to be sentnotification
- the information for sending the notificationmessageProvider
- the provider for the notification message