Inheritance diagram for org.openmobileis.database.fastobjectdb.synchro.server.FODBOpenMSPSynchroTargetWrapper:
Definition at line 64 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. |
|
call for complete DB synchro. return all the file needed to dump the terminal db for this service.
Implements org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPDBSynchroTargetListener. Definition at line 216 of file FODBOpenMSPSynchroTargetWrapper.java. |
|
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 152 of file FODBOpenMSPSynchroTargetWrapper.java. References org.openmobileis.database.fastobjectdb.synchro.server.FODBSyncTarget.getUpdateMaxNbRow(). |