public class WebNotificationServiceImpl extends Object implements org.exoplatform.commons.api.notification.service.WebNotificationService
| Constructor and Description |
|---|
WebNotificationServiceImpl(org.exoplatform.commons.api.notification.service.storage.WebNotificationStorage webStorage) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
get(org.exoplatform.commons.api.notification.model.WebNotificationFilter filter,
int offset,
int limit) |
int |
getNumberOnBadge(String userId) |
void |
hidePopover(String notificationId) |
void |
markAllRead(String userId) |
void |
markRead(String notificationId) |
boolean |
remove(String notificationId) |
void |
resetNumberOnBadge(String userId) |
void |
save(org.exoplatform.commons.api.notification.model.NotificationInfo notification) |
public WebNotificationServiceImpl(org.exoplatform.commons.api.notification.service.storage.WebNotificationStorage webStorage)
public void save(org.exoplatform.commons.api.notification.model.NotificationInfo notification)
save in interface org.exoplatform.commons.api.notification.service.WebNotificationServicepublic void markRead(String notificationId)
markRead in interface org.exoplatform.commons.api.notification.service.WebNotificationServicepublic void markAllRead(String userId)
markAllRead in interface org.exoplatform.commons.api.notification.service.WebNotificationServicepublic List<String> get(org.exoplatform.commons.api.notification.model.WebNotificationFilter filter, int offset, int limit)
get in interface org.exoplatform.commons.api.notification.service.WebNotificationServicepublic boolean remove(String notificationId)
remove in interface org.exoplatform.commons.api.notification.service.WebNotificationServicepublic void hidePopover(String notificationId)
hidePopover in interface org.exoplatform.commons.api.notification.service.WebNotificationServicepublic void resetNumberOnBadge(String userId)
resetNumberOnBadge in interface org.exoplatform.commons.api.notification.service.WebNotificationServicepublic int getNumberOnBadge(String userId)
getNumberOnBadge in interface org.exoplatform.commons.api.notification.service.WebNotificationServiceCopyright © 2003–2015 eXo Platform SAS. All rights reserved.