Class DATCheckNotificationNotModified
java.lang.Object
overit.geocall.da.DATask
overit.geocallapp.wfm.notifications.notification.dat.DATCheckNotificationNotModified
- All Implemented Interfaces:
Serializable,Runnable,Identified,Tool
- See Also:
-
Field Summary
FieldsFields 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.protected booleancheckNotificationNotModified(Notification notification, Notification dbNotification) voidbooleanprotected NotificationloadNotification(Long notificationId, DATLoadNotification.LoadMode loadingMode, PooledConnection pc) protected NotificationloadNotificationHeader(Long notificationId, PooledConnection pc) voidsetNotification(Notification notification) 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
-
_notification
-
_notModified
protected boolean _notModified
-
-
Constructor Details
-
DATCheckNotificationNotModified
public DATCheckNotificationNotModified()
-
-
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
-
loadNotificationHeader
protected Notification loadNotificationHeader(Long notificationId, PooledConnection pc) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
loadNotification
protected Notification loadNotification(Long notificationId, DATLoadNotification.LoadMode loadingMode, PooledConnection pc) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
checkNotificationNotModified
protected boolean checkNotificationNotModified(Notification notification, Notification dbNotification) -
setNotification
-
isNotModified
public boolean isNotModified()
-