Interface NotificationDataStorage

All Known Implementing Classes:
NotificationMongoDataStorage

public interface NotificationDataStorage
  • Field Details

  • Method Details

    • addNotification

      void addNotification(String receiver, String sender, String type, String category, String categoryId, String content, String link)
    • addNotification

      void addNotification(String receiver, String sender, String type, String category, String categoryId, String content, String link, String options)
    • setNotificationsAsRead

      void setNotificationsAsRead(String user, String type, String category, String categoryId)
    • getUnreadNotifications

      List<org.exoplatform.chat.model.NotificationBean> getUnreadNotifications(String user, org.exoplatform.chat.services.UserService userService)
    • getUnreadNotifications

      List<org.exoplatform.chat.model.NotificationBean> getUnreadNotifications(String user, org.exoplatform.chat.services.UserService userService, String type, String category, String categoryId)
    • getUnreadNotificationsTotal

      int getUnreadNotificationsTotal(String user)
    • getUnreadNotificationsTotal

      int getUnreadNotificationsTotal(String user, String type, String category, String categoryId)
    • getNumberOfNotifications

      int getNumberOfNotifications()
    • getNumberOfUnreadNotifications

      int getNumberOfUnreadNotifications()