@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,
String dbName) |
void |
addNotification(String receiver,
String sender,
String type,
String category,
String categoryId,
String content,
String link,
String options,
String dbName) |
int |
getNumberOfNotifications(String dbName) |
int |
getNumberOfUnreadNotifications(String dbName) |
List<org.exoplatform.chat.model.NotificationBean> |
getUnreadNotifications(String user,
org.exoplatform.chat.services.UserService userService,
String dbName) |
List<org.exoplatform.chat.model.NotificationBean> |
getUnreadNotifications(String user,
org.exoplatform.chat.services.UserService userService,
String type,
String category,
String categoryId,
String dbName) |
int |
getUnreadNotificationsTotal(String user,
String dbName) |
int |
getUnreadNotificationsTotal(String user,
String type,
String category,
String categoryId,
String dbName) |
void |
setNotificationsAsRead(String user,
String type,
String category,
String categoryId,
String dbName) |
public void addNotification(String receiver, String sender, String type, String category, String categoryId, String content, String link, String dbName)
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, String dbName)
addNotification in interface org.exoplatform.chat.services.NotificationServicepublic void setNotificationsAsRead(String user, String type, String category, String categoryId, String dbName)
setNotificationsAsRead in interface org.exoplatform.chat.services.NotificationServicepublic List<org.exoplatform.chat.model.NotificationBean> getUnreadNotifications(String user, org.exoplatform.chat.services.UserService userService, String dbName)
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, String dbName)
getUnreadNotifications in interface org.exoplatform.chat.services.NotificationServicepublic int getUnreadNotificationsTotal(String user, String dbName)
getUnreadNotificationsTotal in interface org.exoplatform.chat.services.NotificationServicepublic int getUnreadNotificationsTotal(String user, String type, String category, String categoryId, String dbName)
getUnreadNotificationsTotal in interface org.exoplatform.chat.services.NotificationServicepublic int getNumberOfNotifications(String dbName)
getNumberOfNotifications in interface org.exoplatform.chat.services.NotificationServicepublic int getNumberOfUnreadNotifications(String dbName)
getNumberOfUnreadNotifications in interface org.exoplatform.chat.services.NotificationServiceCopyright © 2003–2018 eXo Platform SAS. All rights reserved.