Class DATUser
java.lang.Object
overit.geocall.da.DATask
overit.geocall.basic.bl.user.task.DATUser
- All Implemented Interfaces:
Serializable,Runnable,Identified,Tool
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DABaseprotected booleanprotected Set<?> protected HashGetterFields 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.voidexecute(PooledConnection conn) protected voidprotected voidprotected voidvoidsetData(DABase da, HashGetter utente, boolean insert) voidsetData(DABase da, HashGetter utente, boolean insert, Set<?> ruoli) protected voidupdateUtente(PooledConnection conn) 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
-
_da
-
_utente
-
_insert
protected boolean _insert -
_ruoli
-
-
Constructor Details
-
DATUser
public DATUser()
-
-
Method Details
-
setData
-
setData
-
insertNewUtente
- Throws:
DAExceptionDAValidateException
-
updateUtente
- Throws:
DAExceptionDAValidateException
-
insertRuoliAggiuntivi
- Throws:
DAExceptionDAValidateException
-
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
-
saveUserChanges
-