Class DBVTRViewDataCollectionSheet
java.lang.Object
overit.geocall.da.DATask
overit.geocallapp.replicator.basic.base.DataSource.DBViewTaskReplicator
overit.geocallapp.wfm.mobile.core.replicator.datacollection.sheet.task.DBVTRViewDataCollectionSheet
- All Implemented Interfaces:
Serializable,Runnable,Identified,Tool
public class DBVTRViewDataCollectionSheet
extends overit.geocallapp.replicator.basic.base.DataSource.DBViewTaskReplicator
VDCSHEET upload management.
It receives the ids of ADCSHEET records available on mobile side (used for differential replication)
It receives the ids of ADCSHEET records available on mobile side (used for differential replication)
- See Also:
-
Field Summary
FieldsFields inherited from class overit.geocallapp.replicator.basic.base.DataSource.DBViewTaskReplicator
_dataSource, _tableFields inherited from class overit.geocall.da.DATask
_usedConnections, _usedCouriers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacknowledge(HashGetter filter, PooledConnection conn, PooledConnection externalConn) protected DBViewgetData(Date lastSynch, Long idPda, TreeMap<Long, Long> keyMap, PooledConnection conn, PooledConnection externalConn) processData(DBView dbv, Date lastSynch, Long deviceId, PooledConnection conn, PooledConnection externalConn) Methods inherited from class overit.geocallapp.replicator.basic.base.DataSource.DBViewTaskReplicator
appendCustomTombstone, body, evaluateForeignKeys, filterHG, getServerFields, init, insertFromPDAMethods inherited from class overit.geocall.da.DATask
commit, deliverCourier, getConnection, getDA, getIdentity, getServiceConnection, holdFactoryCourier, holdUserCourier, releaseConnection, rollback, run, setIdentity, start, startInBackground, synchronizeOn
-
Field Details
-
TRANSACTION_MOBILE_DATA_COLLECTION_SHEET_IDS
- See Also:
-
-
Constructor Details
-
DBVTRViewDataCollectionSheet
public DBVTRViewDataCollectionSheet()
-
-
Method Details
-
processData
protected TreeMap<Long,Long> processData(DBView dbv, Date lastSynch, Long deviceId, PooledConnection conn, PooledConnection externalConn) throws DAException, DAValidateException - Specified by:
processDatain classoverit.geocallapp.replicator.basic.base.DataSource.DBViewTaskReplicator- Throws:
DAExceptionDAValidateException
-
getData
protected DBView getData(Date lastSynch, Long idPda, TreeMap<Long, Long> keyMap, PooledConnection conn, PooledConnection externalConn) throws DAException, DAValidateException- Specified by:
getDatain classoverit.geocallapp.replicator.basic.base.DataSource.DBViewTaskReplicator- Throws:
DAExceptionDAValidateException
-
acknowledge
protected Map<String,String> acknowledge(HashGetter filter, PooledConnection conn, PooledConnection externalConn) throws DAException, DAValidateException - Specified by:
acknowledgein classoverit.geocallapp.replicator.basic.base.DataSource.DBViewTaskReplicator- Throws:
DAExceptionDAValidateException
-