Interface NotificationDAO

    • Method Detail

      • getNotifications

        org.cxbox.api.data.ResultPage<Notification> getNotifications​(Long recipientId,
                                                                     boolean unread,
                                                                     Long offset,
                                                                     org.cxbox.api.data.PageSpecification page)
      • countNotifications

        long countNotifications​(Long recipientId,
                                boolean unread,
                                Long offset)
      • markNotificationsAsRead

        void markNotificationsAsRead​(List<Long> notificationId,
                                     Boolean mark,
                                     Long recipientId)
      • deleteNotifications

        void deleteNotifications​(List<Long> notificationId,
                                 Long recipientId)
      • markDelivered

        void markDelivered​(Notification notification,
                           int serviceId)