|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Title: OpenMobileIS project source
Description: Base interface to implements to handle synchro conflicts.
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.
Field Summary | |
static int |
CREATE_NEW_OBJECT
|
static int |
DO_NOTHING
|
static int |
RETURN_ERROR_CONFLIC
|
static int |
UPDATE_PDA
|
static int |
UPDATE_SERVER
|
Method Summary | |
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 |
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 |
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 |
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. |
Field Detail |
public static final int RETURN_ERROR_CONFLIC
public static final int UPDATE_SERVER
public static final int UPDATE_PDA
public static final int CREATE_NEW_OBJECT
public static final int DO_NOTHING
Method Detail |
public ReplicationSAOEvent resolveAddandPresent(SynchroAtomicObject clientao)
public ReplicationSAOEvent resolveReplaceandModified(SynchroAtomicObject ao)
public ReplicationSAOEvent resolveReplaceandDeleted(SynchroAtomicObject ao)
public ReplicationSAOEvent resolveDeleteandModified(SynchroAtomicObject ao)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |