org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPDBSynchroTargetListener Class Reference

Inheritance diagram for org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPDBSynchroTargetListener:

org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPSynchroTargetListener org.openmobileis.database.fastobjectdb.synchro.server.FODBOpenMSPSynchroTargetWrapper

List of all members.


Detailed Description

Title: OpenMobileIS project source
Description:.

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

Definition at line 69 of file OpenMSPDBSynchroTargetListener.java.


Public Member Functions

abstract String getTargetName ()
 return the target listener name

Protected Member Functions

int getUpdateMaxNbRow ()
 Return the max number of row that update file can contains If more than max row must be updated on the PDA, the database file will be send.
void processSyncActionMetaData (String metadata) throws OpenMSPException
 call to process sync command meta data Extends this method to manage sync command meta data.
abstract void connect (Credential cred) throws UserNotFoundException, ServiceException
 validate the credential and connect if needed
abstract SynchroAtomicObject[] getAllModifiedAtomicObjectSince (long syncNumber) throws OpenMSPException
 return all atomic object uid modified since specified date for service
abstract void updateTargetWithSynchroObject (Object syncObject, long updateSynchroNumber) throws OpenMSPException
 Update the server side with the specified object.
abstract void deleteTargetForSynchroObjectId (String uid, long updateSynchroNumber) throws OpenMSPException
 delete the server side object with the specified object id.
abstract OpenMISFile[] getDatabaseImportFiles () throws OpenMSPException
 call for complete DB synchro.

Member Function Documentation

int org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPDBSynchroTargetListener.getUpdateMaxNbRow (  )  [protected]

Return the max number of row that update file can contains If more than max row must be updated on the PDA, the database file will be send.

If return -1 (default implementation) max row in not taken into account (ie always update file) If return 0 the database file is always send

Reimplemented in org.openmobileis.database.fastobjectdb.synchro.server.FODBOpenMSPSynchroTargetWrapper.

Definition at line 301 of file OpenMSPDBSynchroTargetListener.java.

abstract void org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPDBSynchroTargetListener.updateTargetWithSynchroObject ( Object  syncObject,
long  updateSynchroNumber 
) throws OpenMSPException [protected, pure virtual]

Update the server side with the specified object.

To update AtomicObjectModification correctly if use the updatesynchronumber.

Parameters:
syncObject : object to update on the server side.
updateSynchroNumber 
Exceptions:
OpenMSPException 

Implemented in org.openmobileis.database.fastobjectdb.synchro.server.FODBOpenMSPSynchroTargetWrapper.

abstract void org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPDBSynchroTargetListener.deleteTargetForSynchroObjectId ( String  uid,
long  updateSynchroNumber 
) throws OpenMSPException [protected, pure virtual]

delete the server side object with the specified object id.

To update AtomicObjectModification correctly if use the updatesynchronumber.

Parameters:
uid :unique identifier of the object to delete.
updateSynchroNumber 
Exceptions:
OpenMSPException 

Implemented in org.openmobileis.database.fastobjectdb.synchro.server.FODBOpenMSPSynchroTargetWrapper.

abstract OpenMISFile [] org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPDBSynchroTargetListener.getDatabaseImportFiles (  )  throws OpenMSPException [protected, pure virtual]

call for complete DB synchro.

return all the file needed to dump the terminal db for this service.

Returns:
Exceptions:
ServiceException 

Implemented in org.openmobileis.database.fastobjectdb.synchro.server.FODBOpenMSPSynchroTargetWrapper.


The documentation for this class was generated from the following file:
Generated on Mon Jan 11 21:19:23 2010 for OpenMobileIS by  doxygen 1.5.4