Package org.exoplatform.chat.services
Interface NotificationDataStorage
- All Known Implementing Classes:
NotificationMongoDataStorage
public interface NotificationDataStorage
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNotification(String receiver, String sender, String type, String category, String categoryId, String content, String link) voidaddNotification(String receiver, String sender, String type, String category, String categoryId, String content, String link, String options) intintList<org.exoplatform.chat.model.NotificationBean> getUnreadNotifications(String user, org.exoplatform.chat.services.UserService userService) List<org.exoplatform.chat.model.NotificationBean> getUnreadNotifications(String user, org.exoplatform.chat.services.UserService userService, String type, String category, String categoryId) intintgetUnreadNotificationsTotal(String user, String type, String category, String categoryId) voidsetNotificationsAsRead(String user, String type, String category, String categoryId)
-
Field Details
-
M_NOTIFICATIONS
- See Also:
-
-
Method Details
-
addNotification
-
addNotification
-
setNotificationsAsRead
-
getUnreadNotifications
-
getUnreadNotifications
-
getUnreadNotificationsTotal
-
getUnreadNotificationsTotal
-
getNumberOfNotifications
int getNumberOfNotifications() -
getNumberOfUnreadNotifications
int getNumberOfUnreadNotifications()
-