public interface MailNotificationStorage
| Modifier and Type | Method and Description |
|---|---|
Map<PluginKey,List<NotificationInfo>> |
getByUser(NotificationContext context,
UserSetting userSetting)
Gets information of all notifications of a user.
|
void |
removeMessageAfterSent(NotificationContext context)
Removes all messages after they have been sent.
|
void |
save(NotificationInfo notification)
Saves information of a notification.
|
void save(NotificationInfo notification) throws Exception
notification - The notification to be saved.ExceptionMap<PluginKey,List<NotificationInfo>> getByUser(NotificationContext context, UserSetting userSetting)
userSetting - The notification settings of the user.void removeMessageAfterSent(NotificationContext context) throws Exception
context - The notification context to determine the type of digest.ExceptionCopyright © 2003–2018 eXo Platform SAS. All rights reserved.