Package br.com.davinti.vitruvio.batch
Class UINotificationsBatchServiceImpl
Object
UINotificationsBatchServiceImpl
- All Implemented Interfaces:
UIBackgroundTaskService,UIService
@Service
@Scope("singleton")
public class UINotificationsBatchServiceImpl
extends Object
implements UIService, UIBackgroundTaskService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongList<ApplicationSession> List<ApplicationSession> booleanisRegistered(ApplicationSession application) voidregisterApplication(ApplicationSession application) schedule(UIBackgroundTask task, long startTimeMiliseconds, long repeatTime, ApplicationSession app, Object data) schedule(UIBackgroundTask task, long startTimeMiliseconds, ApplicationSession app, Object data) schedule(UIBackgroundTask task, Date startDate, long repeatTime, ApplicationSession app, Object data) schedule(UIBackgroundTask task, Date startDate, ApplicationSession app, Object data) booleanunregisterApplication(ApplicationSession application)
-
Constructor Details
-
UINotificationsBatchServiceImpl
public UINotificationsBatchServiceImpl()
-
-
Method Details
-
registerApplication
public void registerApplication(ApplicationSession application) - Specified by:
registerApplicationin interfaceUIService
-
getRegisteredApplications
- Specified by:
getRegisteredApplicationsin interfaceUIService
-
isRegistered
public boolean isRegistered(ApplicationSession application) - Specified by:
isRegisteredin interfaceUIService
-
getRegisteredApplicationsForUser
- Specified by:
getRegisteredApplicationsForUserin interfaceUIService
-
unregisterApplication
public boolean unregisterApplication(ApplicationSession application) - Specified by:
unregisterApplicationin interfaceUIService
-
schedule
public ScheduledFuture<?> schedule(UIBackgroundTask task, long startTimeMiliseconds, ApplicationSession app, Object data) - Specified by:
schedulein interfaceUIBackgroundTaskService
-
schedule
public ScheduledFuture<?> schedule(UIBackgroundTask task, Date startDate, ApplicationSession app, Object data) - Specified by:
schedulein interfaceUIBackgroundTaskService
-
schedule
public ScheduledFuture<?> schedule(UIBackgroundTask task, long startTimeMiliseconds, long repeatTime, ApplicationSession app, Object data) - Specified by:
schedulein interfaceUIBackgroundTaskService
-
schedule
public ScheduledFuture<?> schedule(UIBackgroundTask task, Date startDate, long repeatTime, ApplicationSession app, Object data) - Specified by:
schedulein interfaceUIBackgroundTaskService
-
getLoggedUserCount
public long getLoggedUserCount()- Specified by:
getLoggedUserCountin interfaceUIService
-