org.openmobileis.modules.crm.database.common.fodb
Class RepresentantSynchroFODBReturnListener
java.lang.Object
|
+--org.openmobileis.modules.crm.database.common.fodb.RepresentantSynchroFODBReturnListener
- All Implemented Interfaces:
- SynchroFODBReturnListener
- public class RepresentantSynchroFODBReturnListener
- extends java.lang.Object
- implements 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepresentantSynchroFODBReturnListener
public RepresentantSynchroFODBReturnListener()
notifyBeginDBUpdate
public java.lang.Object notifyBeginDBUpdate(java.lang.Object object)
throws DatabaseException
- Description copied from interface:
SynchroFODBReturnListener
- 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.
- Specified by:
notifyBeginDBUpdate
in interface SynchroFODBReturnListener
- Following copied from interface:
org.openmobileis.database.fastobjectdb.synchro.client.SynchroFODBReturnListener
- 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
- Description copied from interface:
SynchroFODBReturnListener
- Call after a server FODB object with objectId has been deleted in FODB.
Only call during row synchronisation.
- Specified by:
notifyDBDelete
in interface SynchroFODBReturnListener
- Following copied from interface:
org.openmobileis.database.fastobjectdb.synchro.client.SynchroFODBReturnListener
- Parameters:
objectId
- - Throws:
DatabaseException
-
notifySynchroBegin
public void notifySynchroBegin()
- Description copied from interface:
SynchroFODBReturnListener
- Call when synchro begin
- Specified by:
notifySynchroBegin
in interface SynchroFODBReturnListener
notifySynchroEnd
public void notifySynchroEnd()
- Description copied from interface:
SynchroFODBReturnListener
- Call when synchro end
- Specified by:
notifySynchroEnd
in interface SynchroFODBReturnListener
notifyFODBObjectSynchroDone
public void notifyFODBObjectSynchroDone(java.lang.String ObjectId)
throws SynchroException
- Description copied from interface:
SynchroFODBReturnListener
- Call when a FODB object has been synchronized from the embedded device
to the server.
- Specified by:
notifyFODBObjectSynchroDone
in interface SynchroFODBReturnListener
- Following copied from interface:
org.openmobileis.database.fastobjectdb.synchro.client.SynchroFODBReturnListener
- Parameters:
ObjectId
-
Copyright 2005 e-Care. All Rights Reserved.