public interface NotificationDataStorage
| Modifier and Type | Method and Description |
|---|---|
Map<NotificationKey,List<NotificationInfo>> |
getByUser(NotificationContext context,
UserSetting userSetting)
Gets information of all notifications of a user.
|
void |
removeMessageAfterSent()
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<NotificationKey,List<NotificationInfo>> getByUser(NotificationContext context, UserSetting userSetting)
userSetting - The notification settings of the user.Copyright © 2003–2015 eXo Platform SAS. All rights reserved.