Class WebNotificationServiceImpl
- java.lang.Object
-
- org.exoplatform.commons.notification.impl.service.WebNotificationServiceImpl
-
- All Implemented Interfaces:
org.exoplatform.commons.api.notification.service.WebNotificationService
public class WebNotificationServiceImpl extends Object implements org.exoplatform.commons.api.notification.service.WebNotificationService
-
-
Constructor Summary
Constructors Constructor Description WebNotificationServiceImpl(org.exoplatform.commons.api.notification.service.storage.WebNotificationStorage webStorage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>get(org.exoplatform.commons.api.notification.model.WebNotificationFilter filter, int offset, int limit)org.exoplatform.commons.api.notification.model.NotificationInfogetNotificationInfo(String notificationId)List<org.exoplatform.commons.api.notification.model.NotificationInfo>getNotificationInfos(org.exoplatform.commons.api.notification.model.WebNotificationFilter filter, int offset, int limit)intgetNumberOnBadge(String userId)voidhidePopover(String notificationId)voidmarkAllRead(String userId)voidmarkRead(String notificationId)booleanremove(String notificationId)voidresetNumberOnBadge(String userId)voidsave(org.exoplatform.commons.api.notification.model.NotificationInfo notification)
-
-
-
Method Detail
-
save
public void save(org.exoplatform.commons.api.notification.model.NotificationInfo notification)
- Specified by:
savein interfaceorg.exoplatform.commons.api.notification.service.WebNotificationService
-
getNotificationInfo
public org.exoplatform.commons.api.notification.model.NotificationInfo getNotificationInfo(String notificationId)
- Specified by:
getNotificationInfoin interfaceorg.exoplatform.commons.api.notification.service.WebNotificationService
-
markRead
public void markRead(String notificationId)
- Specified by:
markReadin interfaceorg.exoplatform.commons.api.notification.service.WebNotificationService
-
markAllRead
public void markAllRead(String userId) throws Exception
- Specified by:
markAllReadin interfaceorg.exoplatform.commons.api.notification.service.WebNotificationService- Throws:
Exception
-
get
public List<String> get(org.exoplatform.commons.api.notification.model.WebNotificationFilter filter, int offset, int limit)
- Specified by:
getin interfaceorg.exoplatform.commons.api.notification.service.WebNotificationService
-
getNotificationInfos
public List<org.exoplatform.commons.api.notification.model.NotificationInfo> getNotificationInfos(org.exoplatform.commons.api.notification.model.WebNotificationFilter filter, int offset, int limit)
- Specified by:
getNotificationInfosin interfaceorg.exoplatform.commons.api.notification.service.WebNotificationService
-
remove
public boolean remove(String notificationId)
- Specified by:
removein interfaceorg.exoplatform.commons.api.notification.service.WebNotificationService
-
hidePopover
public void hidePopover(String notificationId)
- Specified by:
hidePopoverin interfaceorg.exoplatform.commons.api.notification.service.WebNotificationService
-
resetNumberOnBadge
public void resetNumberOnBadge(String userId)
- Specified by:
resetNumberOnBadgein interfaceorg.exoplatform.commons.api.notification.service.WebNotificationService
-
getNumberOnBadge
public int getNumberOnBadge(String userId)
- Specified by:
getNumberOnBadgein interfaceorg.exoplatform.commons.api.notification.service.WebNotificationService
-
-