Class DATChangeNotificationsStatus
java.lang.Object
overit.geocall.da.DATask
overit.geocallapp.wfm.notifications.notification.dat.DATChangeNotificationsStatus
- All Implemented Interfaces:
Serializable,Runnable,Identified,Tool
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DAXWFMAAvvisiprotected DATLoadNotificationprotected DATSaveNotificationprotected Longprotected List<HashGetter> static final StringDeprecated.Fields inherited from class overit.geocall.da.DATask
_usedConnections, _usedCouriers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody()Abstract method, that must be implemented, that represent the start point of the task.booleancheckNotificationNewStatus(HashGetter notification, PooledConnection pc) voidvoidsetNewStatus(Long newStatus) voidsetNotification(HashGetter notification) voidsetNotifications(List<HashGetter> notifications) Methods inherited from class overit.geocall.da.DATask
commit, deliverCourier, getConnection, getDA, getIdentity, getServiceConnection, holdFactoryCourier, holdUserCourier, releaseConnection, rollback, run, setIdentity, start, startInBackground, synchronizeOn
-
Field Details
-
FACTORY_PATH
Deprecated.- See Also:
-
_daAAvvisi
-
_datLoadNotification
-
_datSaveNotification
-
_notifications
-
_newStatus
-
-
Constructor Details
-
DATChangeNotificationsStatus
public DATChangeNotificationsStatus()
-
-
Method Details
-
body
Description copied from class:DATaskAbstract method, that must be implemented, that represent the start point of the task. The method contains the application logic of the specific task.- Specified by:
bodyin classDATask- Throws:
DAException- If there is a (blocking) data-access error, a DAException is thrown to the callerDAValidateException- If there are error in the data validation phase, a DAValidateException is thrown
-
execute
- Throws:
DAExceptionDAValidateException
-
checkNotificationNewStatus
-
setNotifications
-
setNotification
-
setNewStatus
-