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
-
Field Summary
Fields inherited from interface org.exoplatform.commons.api.notification.service.WebNotificationService
POPUP_OVER -
Constructor Summary
ConstructorsConstructorDescriptionWebNotificationServiceImpl(org.exoplatform.commons.api.notification.service.storage.WebNotificationStorage webStorage) -
Method Summary
Modifier and TypeMethodDescriptionget(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) voidbooleanvoidresetNumberOnBadge(String userId) voidsave(org.exoplatform.commons.api.notification.model.NotificationInfo notification)
-
Constructor Details
-
WebNotificationServiceImpl
public WebNotificationServiceImpl(org.exoplatform.commons.api.notification.service.storage.WebNotificationStorage webStorage)
-
-
Method Details
-
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
- Specified by:
markReadin interfaceorg.exoplatform.commons.api.notification.service.WebNotificationService
-
markAllRead
- 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
- Specified by:
removein interfaceorg.exoplatform.commons.api.notification.service.WebNotificationService
-
hidePopover
- Specified by:
hidePopoverin interfaceorg.exoplatform.commons.api.notification.service.WebNotificationService
-
resetNumberOnBadge
- Specified by:
resetNumberOnBadgein interfaceorg.exoplatform.commons.api.notification.service.WebNotificationService
-
getNumberOnBadge
- Specified by:
getNumberOnBadgein interfaceorg.exoplatform.commons.api.notification.service.WebNotificationService
-