Inheritance diagram for org.openmobileis.modules.common.database.fodb.TerminalUserSynchroFODBReturnListener:
Definition at line 50 of file TerminalUserSynchroFODBReturnListener.java.
Public Member Functions | |
TerminalUserSynchroFODBReturnListener () | |
Serializable | getSendSynchroMetada () throws OpenMSPException |
return synchro meta data. | |
Object | notifyBeginDBUpdate (Object object) throws OpenMSPException |
Call before a server object is written in FODB. | |
void | notifyDBDelete (String objectId) throws OpenMSPException |
Call after a server FODB object with objectId has been deleted in FODB. | |
void | notifySynchroBegin () |
Call when synchro begin. | |
void | notifySynchroEnd () |
Call when synchro end. | |
void | notifyFODBObjectSynchroDone (String ObjectId) throws OpenMSPException |
Call when a FODB object has been synchronized from the embedded device to the server. |
Serializable org.openmobileis.modules.common.database.fodb.TerminalUserSynchroFODBReturnListener.getSendSynchroMetada | ( | ) | throws OpenMSPException |
return synchro meta data.
Meta data are send inside synchronisation. On the server meta data are transfered to the synchro target with the SynchroTarget method setSendSynchroMetaData(Object metadata) Meta data can be use to transfert a context with the synchronisation.
OpenMSPException |
Implements org.openmobileis.database.fastobjectdb.synchro.client.SynchroFODBReturnListener.
Definition at line 58 of file TerminalUserSynchroFODBReturnListener.java.
Object org.openmobileis.modules.common.database.fodb.TerminalUserSynchroFODBReturnListener.notifyBeginDBUpdate | ( | Object | object | ) | throws OpenMSPException |
Call before a server object is written in FODB.
Only call during row synchronisation. If the synchronized object has to be modified before database write, modify it and return it. Null otherwise.
object |
DatabaseException |
Implements org.openmobileis.database.fastobjectdb.synchro.client.SynchroFODBReturnListener.
Definition at line 68 of file TerminalUserSynchroFODBReturnListener.java.
void org.openmobileis.modules.common.database.fodb.TerminalUserSynchroFODBReturnListener.notifyDBDelete | ( | String | objectId | ) | throws OpenMSPException |
Call after a server FODB object with objectId has been deleted in FODB.
Only call during row synchronisation.
objectId |
DatabaseException |
Implements org.openmobileis.database.fastobjectdb.synchro.client.SynchroFODBReturnListener.
Definition at line 77 of file TerminalUserSynchroFODBReturnListener.java.
void org.openmobileis.modules.common.database.fodb.TerminalUserSynchroFODBReturnListener.notifyFODBObjectSynchroDone | ( | String | ObjectId | ) | throws OpenMSPException |
Call when a FODB object has been synchronized from the embedded device to the server.
The ObjectId of the collection unique index type. ObjectId are evaluated using the collection unique index. If it's a String index, by default string index are not case sentitive. So with default String index ObjectId will be in upper case. To avoid this behaviour, the collection unique index descriptor must be declared case sensitive.
ObjectId |
Implements org.openmobileis.database.fastobjectdb.synchro.client.SynchroFODBReturnListener.
Definition at line 122 of file TerminalUserSynchroFODBReturnListener.java.