Class DBVTRAIMeterPrediction
java.lang.Object
overit.geocall.da.DATask
overit.geocallapp.replicator.basic.base.DataSource.DBViewTaskReplicator
overit.geocallapp.wfm.ai.replicator.meterreading.task.DBVTRAIMeterPrediction
- All Implemented Interfaces:
Serializable,Runnable,Identified,Tool
public class DBVTRAIMeterPrediction
extends overit.geocallapp.replicator.basic.base.DataSource.DBViewTaskReplicator
VAIMETERPREDICTIONS view upload management
This task receives the id list of AIMETERPREDICTIONS available on the mobile side;
this list will be used for differential replication of AAIMETERPREDICTIONS table
- See Also:
-
Field Summary
Fields 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
-
Constructor Details
-
DBVTRAIMeterPrediction
public DBVTRAIMeterPrediction()
-
-
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
-