Inheritance diagram for org.openmobileis.synchro.algo.replication.SynchroConflicResolver:
Interface implementation are use as a service, so instance member must be declared. If data has to be share betwin different method call use the SessionContext.
Definition at line 40 of file SynchroConflicResolver.java.
Public Member Functions | |
ReplicationSAOEvent | resolveAddandPresent (SynchroAtomicObject ao) |
resolve the synchro conflic when an add command is send by the pda when the same object is already in database. | |
ReplicationSAOEvent | resolveReplaceandModified (SynchroAtomicObject ao) |
resolve the synchro conflic when a replace command is send by the pda when the same object has been modified in database. | |
ReplicationSAOEvent | resolveReplaceandDeleted (SynchroAtomicObject ao) |
resolve the synchro conflic when a replace command is send by the pda when the same object has been deleted in database. | |
ReplicationSAOEvent | resolveDeleteandModified (SynchroAtomicObject ao) |
resolve the synchro conflic when a delete command is send by the pda when the same object has been modified in database. | |
Static Public Attributes | |
static final int | RETURN_ERROR_CONFLIC = 0 |
static final int | UPDATE_SERVER = 1 |
static final int | UPDATE_PDA = 2 |
static final int | CREATE_NEW_OBJECT = 3 |
static final int | DO_NOTHING = 4 |
|
resolve the synchro conflic when an add command is send by the pda when the same object is already in database.
Implemented in org.openmobileis.synchro.algo.replication.AlwaysUpdateClientSynchroConflicResolver, and org.openmobileis.synchro.algo.replication.AlwaysUpdateServerSynchroConflicResolver. Referenced by org.openmobileis.synchro.algo.replication.AtomicObjectArrayReplication.replicates(). |
|
resolve the synchro conflic when a delete command is send by the pda when the same object has been modified in database.
Implemented in org.openmobileis.synchro.algo.replication.AlwaysUpdateClientSynchroConflicResolver, and org.openmobileis.synchro.algo.replication.AlwaysUpdateServerSynchroConflicResolver. Referenced by org.openmobileis.synchro.algo.replication.AtomicObjectArrayReplication.replicates(). |
|
resolve the synchro conflic when a replace command is send by the pda when the same object has been deleted in database.
Implemented in org.openmobileis.synchro.algo.replication.AlwaysUpdateClientSynchroConflicResolver, and org.openmobileis.synchro.algo.replication.AlwaysUpdateServerSynchroConflicResolver. Referenced by org.openmobileis.synchro.algo.replication.AtomicObjectArrayReplication.replicates(). |
|
resolve the synchro conflic when a replace command is send by the pda when the same object has been modified in database.
Implemented in org.openmobileis.synchro.algo.replication.AlwaysUpdateClientSynchroConflicResolver, and org.openmobileis.synchro.algo.replication.AlwaysUpdateServerSynchroConflicResolver. Referenced by org.openmobileis.synchro.algo.replication.AtomicObjectArrayReplication.replicates(). |