Class DATTakeInChargeNotification
java.lang.Object
overit.geocall.da.DATask
overit.geocallapp.wfm.notifications.notification.dat.DATTakeInChargeNotification
- All Implemented Interfaces:
Serializable,Runnable,Identified,Tool
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Longprotected Notificationstatic 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.protected booleancheckNotificationNotModified(Notification notification, PooledConnection pc) voidprotected booleanisUserSafety(Long idAute) voidsetNewStatus(Long newStatus) voidsetNotification(Notification notification) protected voidtakeInCharge(Notification notification, PooledConnection pc) 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:
-
_notification
-
_newStatus
-
-
Constructor Details
-
DATTakeInChargeNotification
public DATTakeInChargeNotification()
-
-
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
-
takeInCharge
protected void takeInCharge(Notification notification, PooledConnection pc) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
isUserSafety
- Throws:
DAExceptionDAValidateException
-
checkNotificationNotModified
protected boolean checkNotificationNotModified(Notification notification, PooledConnection pc) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
setNotification
-
setNewStatus
-