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 clientao) |
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. |
ReplicationSAOEvent org.openmobileis.synchro.algo.replication.SynchroConflicResolver.resolveAddandPresent | ( | SynchroAtomicObject | clientao | ) |
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.AlwaysUpdateBothSideSynchroConflicResolver, org.openmobileis.synchro.algo.replication.AlwaysUpdateClientSynchroConflicResolver, and org.openmobileis.synchro.algo.replication.AlwaysUpdateServerSynchroConflicResolver.
Referenced by org.openmobileis.synchro.algo.replication.AtomicObjectArrayReplication.replicates().
ReplicationSAOEvent org.openmobileis.synchro.algo.replication.SynchroConflicResolver.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.
Implemented in org.openmobileis.synchro.algo.replication.AlwaysUpdateBothSideSynchroConflicResolver, org.openmobileis.synchro.algo.replication.AlwaysUpdateClientSynchroConflicResolver, and org.openmobileis.synchro.algo.replication.AlwaysUpdateServerSynchroConflicResolver.
Referenced by org.openmobileis.synchro.algo.replication.AtomicObjectArrayReplication.replicates().
ReplicationSAOEvent org.openmobileis.synchro.algo.replication.SynchroConflicResolver.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.
Implemented in org.openmobileis.synchro.algo.replication.AlwaysUpdateBothSideSynchroConflicResolver, org.openmobileis.synchro.algo.replication.AlwaysUpdateClientSynchroConflicResolver, and org.openmobileis.synchro.algo.replication.AlwaysUpdateServerSynchroConflicResolver.
Referenced by org.openmobileis.synchro.algo.replication.AtomicObjectArrayReplication.replicates().
ReplicationSAOEvent org.openmobileis.synchro.algo.replication.SynchroConflicResolver.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.
Implemented in org.openmobileis.synchro.algo.replication.AlwaysUpdateBothSideSynchroConflicResolver, org.openmobileis.synchro.algo.replication.AlwaysUpdateClientSynchroConflicResolver, and org.openmobileis.synchro.algo.replication.AlwaysUpdateServerSynchroConflicResolver.
Referenced by org.openmobileis.synchro.algo.replication.AtomicObjectArrayReplication.replicates().