Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

org.openmobileis.database.fastobjectdb.db.test.TestFODBSyncTarget Class Reference

Inheritance diagram for org.openmobileis.database.fastobjectdb.db.test.TestFODBSyncTarget:

org.openmobileis.database.fastobjectdb.synchro.server.FODBSyncTarget 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 TestFODBSyncTarget.java.

Public Member Functions

 TestFODBSyncTarget ()
String getCollectionName ()
Object getCollectionObjectWithId (String id) throws OpenMSPException
Array getAllCollectionObject () throws OpenMSPException
void updateCollectionObject (Object obj) throws OpenMSPException
void deleteCollectionObject (String id) throws OpenMSPException
SynchroConflicResolver getConflicResolver ()
SynchroAtomicObject[] getAllModifiedAtomicObjectSince (long syncnumber) throws OpenMSPException
 return all atomic object uid modified since specified syncnumber
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 updateSynchroDB (FastObjectDB db) throws OpenMSPException
 call by synchronisation service during synchronisation when collection db is generated.
void connect (Credential cred) throws UserNotFoundException, ServiceException
void disconnect ()


Member Function Documentation

int org.openmobileis.database.fastobjectdb.db.test.TestFODBSyncTarget.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.

If return -1 (default implementation) max row in not taken into account (ie always update file)

Implements org.openmobileis.database.fastobjectdb.synchro.server.FODBSyncTarget.

Definition at line 193 of file TestFODBSyncTarget.java.

void org.openmobileis.database.fastobjectdb.db.test.TestFODBSyncTarget.updateSynchroDB FastObjectDB  db  )  throws OpenMSPException
 

call by synchronisation service during synchronisation when collection db is generated.

Use to modifiy db objects before the db files are send to the PDA.

Parameters:
db 

Implements org.openmobileis.database.fastobjectdb.synchro.server.FODBSyncTarget.

Definition at line 200 of file TestFODBSyncTarget.java.


The documentation for this class was generated from the following file:
Generated on Wed Dec 14 21:05:38 2005 for OpenMobileIS by  doxygen 1.4.4