Class DATRRCentralMobileWarehouse
java.lang.Object
overit.geocall.da.DATask
overit.geocallapp.replicator.basic.base.DataSource.DATaskReplicator
overit.geocallapp.wfm.replicator.datasource.DATaskReplicatorWfmBase
overit.geocallapp.wfm.inventory.replicator.task.DATRRCentralMobileWarehouse
- All Implemented Interfaces:
Serializable,Runnable,Identified,Tool
public class DATRRCentralMobileWarehouse
extends overit.geocallapp.wfm.replicator.datasource.DATaskReplicatorWfmBase
Task for replication of AINVENTORYWAREHOUSE table.
The table is only download, and contains the mobile warehouse linked to the user
and the central warehouse linked with these mobile warehouse
- See Also:
-
Field Summary
Fields inherited from class overit.geocallapp.wfm.replicator.datasource.DATaskReplicatorWfmBase
LOG, RESET_TOMBSTONE_VALUE, utilsFields inherited from class overit.geocallapp.replicator.basic.base.DataSource.DATaskReplicator
_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 voidaddCustomTombStone(TreeMap<Long, Long> tmInsertedKeyTranslations) protected voiddoDelete(HashGetter hgToDel, PooledConnection conn, PooledConnection externalConn) protected LongdoInsert(HashGetter currentRecord, PooledConnection conn, PooledConnection externalConn) protected voiddoUpdate(HashGetter currentRecord, PooledConnection conn, PooledConnection externalConn) protected DBViewgetData(HashGetter filter, PooledConnection conn, PooledConnection externalConn) Methods inherited from class overit.geocallapp.wfm.replicator.datasource.DATaskReplicatorWfmBase
checkRigaLavorabile, checkRigaLavorabile, getDBViewModificati, getDBViewModificati, getIdAuteUltimaModificaPda, getIncrementalData, getListaFiliali, getPkFieldsPosition, getPkValues, getTransactionParameter, getWOOperationId, getWorkOrderCodeOperationOrdering, init, isSkippedInterventionUpdate, isUserSafety, removeNotModifiableFields, resetMobileLastModUserToIdentity, setMobileLastModUserToIdentity, setTransactionParameterMethods inherited from class overit.geocallapp.replicator.basic.base.DataSource.DATaskReplicator
appendCustomTombstone, bodyMethods inherited from class overit.geocall.da.DATask
commit, deliverCourier, getConnection, getDA, getIdentity, getServiceConnection, holdFactoryCourier, holdUserCourier, releaseConnection, rollback, run, setIdentity, start, startInBackground, synchronizeOn
-
Constructor Details
-
DATRRCentralMobileWarehouse
public DATRRCentralMobileWarehouse()
-
-
Method Details
-
doDelete
protected void doDelete(HashGetter hgToDel, PooledConnection conn, PooledConnection externalConn) throws DAException, DAValidateException - Specified by:
doDeletein classoverit.geocallapp.replicator.basic.base.DataSource.DATaskReplicator- Throws:
DAExceptionDAValidateException
-
doUpdate
protected void doUpdate(HashGetter currentRecord, PooledConnection conn, PooledConnection externalConn) throws DAException, DAValidateException - Specified by:
doUpdatein classoverit.geocallapp.replicator.basic.base.DataSource.DATaskReplicator- Throws:
DAExceptionDAValidateException
-
doInsert
protected Long doInsert(HashGetter currentRecord, PooledConnection conn, PooledConnection externalConn) throws DAException, DAValidateException - Specified by:
doInsertin classoverit.geocallapp.replicator.basic.base.DataSource.DATaskReplicator- Throws:
DAExceptionDAValidateException
-
addCustomTombStone
- Specified by:
addCustomTombStonein classoverit.geocallapp.replicator.basic.base.DataSource.DATaskReplicator
-
getData
protected DBView getData(HashGetter filter, PooledConnection conn, PooledConnection externalConn) throws DAException, DAValidateException - Specified by:
getDatain classoverit.geocallapp.replicator.basic.base.DataSource.DATaskReplicator- 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.DATaskReplicator- Throws:
DAExceptionDAValidateException
-