Class NotificationDeltaPollingService
- java.lang.Object
-
- org.cxbox.notifications.service.impl.AbstractNotificationPollingService
-
- org.cxbox.notifications.service.impl.NotificationDeltaPollingService
-
- All Implemented Interfaces:
EventListener,org.cxbox.api.system.ISystemSettingChangeEventListener,INotificationPollingService,org.springframework.context.ApplicationListener<org.cxbox.api.system.SystemSettingChangedEvent>
@Component public class NotificationDeltaPollingService extends AbstractNotificationPollingService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.cxbox.notifications.service.INotificationPollingService
INotificationPollingService.NotificationCtrlDTO
-
-
Constructor Summary
Constructors Constructor Description NotificationDeltaPollingService(org.cxbox.api.system.SystemSettings systemSettings, NotificationDAO notificationDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.web.context.request.async.DeferredResult<ResponseDTO>addTaskInQueue(Long recipientId, Long latestNotificationId, boolean unread)-
Methods inherited from class org.cxbox.notifications.service.impl.AbstractNotificationPollingService
executePollTaskInQueue, init, onApplicationEvent
-
-
-
-
Constructor Detail
-
NotificationDeltaPollingService
public NotificationDeltaPollingService(org.cxbox.api.system.SystemSettings systemSettings, NotificationDAO notificationDAO)
-
-
Method Detail
-
addTaskInQueue
public org.springframework.web.context.request.async.DeferredResult<ResponseDTO> addTaskInQueue(Long recipientId, Long latestNotificationId, boolean unread)
- Specified by:
addTaskInQueuein interfaceINotificationPollingService- Overrides:
addTaskInQueuein classAbstractNotificationPollingService
-
-