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

All Known Implementing Classes:
RepresentantSynchroFODBReturnListener

public interface SynchroFODBReturnListener

Title: OpenMobileIS project source
Description:

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

Method Summary
 java.lang.Object notifyBeginDBUpdate(java.lang.Object object)
          Call before a server object is written in FODB.
 void notifyDBDelete(java.lang.String objectId)
          Call after a server FODB object with objectId has been deleted in FODB.
 void notifyFODBObjectSynchroDone(java.lang.String ObjectId)
          Call when a FODB object has been synchronized from the embedded device to the server.
 void notifySynchroBegin()
          Call when synchro begin
 void notifySynchroEnd()
          Call when synchro end
 

Method Detail

notifyBeginDBUpdate

public java.lang.Object notifyBeginDBUpdate(java.lang.Object object)
                                     throws DatabaseException
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.
Throws:
DatabaseException

notifyDBDelete

public void notifyDBDelete(java.lang.String objectId)
                    throws DatabaseException
Call after a server FODB object with objectId has been deleted in FODB. Only call during row synchronisation.

Parameters:
objectId -
Throws:
DatabaseException

notifySynchroBegin

public void notifySynchroBegin()
Call when synchro begin


notifySynchroEnd

public void notifySynchroEnd()
Call when synchro end


notifyFODBObjectSynchroDone

public void notifyFODBObjectSynchroDone(java.lang.String ObjectId)
                                 throws SynchroException
Call when a FODB object has been synchronized from the embedded device to the server.

Parameters:
ObjectId -
Throws:
SynchroException


Copyright 2005 e-Care. All Rights Reserved.