@Named(value="notificationService") @ApplicationScoped @Singleton public class NotificationServiceImpl extends Object implements org.exoplatform.chat.services.NotificationService
| Constructor and Description |
|---|
NotificationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNotification(String receiver,
String sender,
String type,
String category,
String categoryId,
String content,
String link) |
void |
addNotification(String receiver,
String sender,
String type,
String category,
String categoryId,
String content,
String link,
String options) |
int |
getNumberOfNotifications() |
int |
getNumberOfUnreadNotifications() |
List<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) |
int |
getUnreadNotificationsTotal(String user) |
int |
getUnreadNotificationsTotal(String user,
String type,
String category,
String categoryId) |
void |
setNotificationsAsRead(String user,
String type,
String category,
String categoryId) |
public void addNotification(String receiver, String sender, String type, String category, String categoryId, String content, String link)
addNotification in interface org.exoplatform.chat.services.NotificationServicepublic void addNotification(String receiver, String sender, String type, String category, String categoryId, String content, String link, String options)
addNotification in interface org.exoplatform.chat.services.NotificationServicepublic void setNotificationsAsRead(String user, String type, String category, String categoryId)
setNotificationsAsRead in interface org.exoplatform.chat.services.NotificationServicepublic List<org.exoplatform.chat.model.NotificationBean> getUnreadNotifications(String user, org.exoplatform.chat.services.UserService userService)
getUnreadNotifications in interface org.exoplatform.chat.services.NotificationServicepublic List<org.exoplatform.chat.model.NotificationBean> getUnreadNotifications(String user, org.exoplatform.chat.services.UserService userService, String type, String category, String categoryId)
getUnreadNotifications in interface org.exoplatform.chat.services.NotificationServicepublic int getUnreadNotificationsTotal(String user)
getUnreadNotificationsTotal in interface org.exoplatform.chat.services.NotificationServicepublic int getUnreadNotificationsTotal(String user, String type, String category, String categoryId)
getUnreadNotificationsTotal in interface org.exoplatform.chat.services.NotificationServicepublic int getNumberOfNotifications()
getNumberOfNotifications in interface org.exoplatform.chat.services.NotificationServicepublic int getNumberOfUnreadNotifications()
getNumberOfUnreadNotifications in interface org.exoplatform.chat.services.NotificationServiceCopyright © 2003–2021 eXo Platform SAS. All rights reserved.