org.openmobileis.database.fastobjectdb.synchro.server.FODBOpenMSPSynchroTargetWrapper Class Reference

Inheritance diagram for org.openmobileis.database.fastobjectdb.synchro.server.FODBOpenMSPSynchroTargetWrapper:

org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPDBSynchroTargetListener org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPSynchroTargetListener List of all members.

Detailed Description

Title: OpenMobileIS project source
Description: To specify the temp directory where generated db file is use the property :org.openmobileis.database.fastobjectdb.synchro.server.generateddb.installpath.

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

Definition at line 67 of file FODBOpenMSPSynchroTargetWrapper.java.

Public Member Functions

 FODBOpenMSPSynchroTargetWrapper (FODBSyncTarget syncService, String pregenerateddbpath)
 Use this constructor to work with pregenerated DB file for complete synchronisation pregenerateddbpath is the path to the directory where pregenerated collection file are stored.
 FODBOpenMSPSynchroTargetWrapper (FODBSyncTarget syncService)
 Use this constructor to generate DB file during synchronisation if needed (complete synchronisation) or when no complete synchronisation is needed.
String getTargetName ()
 return the target listener name

Protected Member Functions

void connect (Credential cred) throws UserNotFoundException, ServiceException
 validate the credential and connect if needed
void disconnect ()
SynchroConflicResolver getSynchroConflicResolver ()
SynchroAtomicObject[] getAllModifiedAtomicObjectSince (long syncNumber) throws OpenMSPException
 return all atomic object uid modified since specified date for service
void updateTargetWithSynchroObject (Object syncObject) throws OpenMSPException
void deleteTargetForSynchroObjectId (String uid) throws OpenMSPException
Object getTargetObjectWithId (String uid) throws OpenMSPException
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 ServiceException
 call to process sync command meta data
OpenMISFile[] getDatabaseImportFiles () throws ServiceException
 call for complete DB synchro.


Member Function Documentation

int org.openmobileis.database.fastobjectdb.synchro.server.FODBOpenMSPSynchroTargetWrapper.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 from org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPDBSynchroTargetListener.

Definition at line 173 of file FODBOpenMSPSynchroTargetWrapper.java.

References org.openmobileis.database.fastobjectdb.synchro.server.FODBSyncTarget.getUpdateMaxNbRow().

OpenMISFile [] org.openmobileis.database.fastobjectdb.synchro.server.FODBOpenMSPSynchroTargetWrapper.getDatabaseImportFiles (  )  throws ServiceException [protected, virtual]

call for complete DB synchro.

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

Returns:
Exceptions:
ServiceException 

Implements org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPDBSynchroTargetListener.

Definition at line 247 of file FODBOpenMSPSynchroTargetWrapper.java.


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