org.openmobileis.modules.common.database.fodb.TerminalUserSynchroFODBReturnListener Class Reference

Inheritance diagram for org.openmobileis.modules.common.database.fodb.TerminalUserSynchroFODBReturnListener:

org.openmobileis.database.fastobjectdb.synchro.client.SynchroFODBReturnListener List of all members.

Detailed Description

Title: OpenMobileIS project source
Description:.

Author:
Philippe Delrieu
Since:
JDK 1.1
Version:
1.0.

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.


Member Function Documentation

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.

Returns:
Exceptions:
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.

Parameters:
object 
Returns:
null or the modified object to be store in the database.
Exceptions:
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.

Parameters:
objectId 
Exceptions:
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.

Parameters:
ObjectId 

Implements org.openmobileis.database.fastobjectdb.synchro.client.SynchroFODBReturnListener.

Definition at line 122 of file TerminalUserSynchroFODBReturnListener.java.


The documentation for this class was generated from the following file:
Generated on Mon Dec 4 11:03:40 2006 for OpenMobileIS by  doxygen 1.5.1-p1