Inheritance diagram for org.openmobileis.database.fastobjectdb.synchro.client.OpenMSPFODBSyncListener:
Definition at line 60 of file OpenMSPFODBSyncListener.java.
Public Member Functions | |
OpenMSPFODBSyncListener (String collectionName) | |
void | registerSynchroListener (SynchroFODBReturnListener listener) |
String | getSyncName () |
Return the name used to identiy the of the listener in the synchro processus. | |
void | startSync (Credential cred, SynchroDescriptor synchrodescriptor) throws OpenMSPException |
Fire this event once a synchro is starting. | |
void | endSync () throws OpenMSPException |
Fire this event once the current synchro is ended. | |
void | notifySyncDataDone (String pdaID, int actionType) throws OpenMSPException |
Call when a client data modification (ActionDB) has been update on the server side. | |
Protected Member Functions | |
String | getSendCommandMetaData () throws OpenMSPException |
Construct collection description to be use by server to generate collection files. | |
void | importCompletSynchroDatabaseFile (String importFile) throws DatabaseException |
Call during complete synchronisation to dump the database with server data store in the specified file name. | |
String[] | getDBDataForAdd (String pdaUID) throws OpenMSPException |
return the data conforme to the disptacher create AbstractQueryManager method for specified pdaUID . | |
String[] | getDBDataForReplace (String pdaUID) throws OpenMSPException |
return the data conforme to the disptacher update AbstractQueryManager method for specified pdaUID . | |
String | getSynchroTarget () |
return the target of the SYNC command use to synchronize listener data. | |
Credential | getSyncroCredential () |
return the credential to use for data synchronization. | |
ImportQueryManager | getImportQueryManager () |
return the ImportQueryManager use to make synchro data import. | |
JournalLogRenderer | getJournalLogRenderer () |
void org.openmobileis.database.fastobjectdb.synchro.client.OpenMSPFODBSyncListener.importCompletSynchroDatabaseFile | ( | String | importFile | ) | throws DatabaseException [protected] |
Call during complete synchronisation to dump the database with server data store in the specified file name.
importFile | : file containing server dump data file. |
Reimplemented from org.openmobileis.synchro.openmsp.client.OpenMSPDBSyncListener.
Definition at line 138 of file OpenMSPFODBSyncListener.java.
String [] org.openmobileis.database.fastobjectdb.synchro.client.OpenMSPFODBSyncListener.getDBDataForAdd | ( | String | pdaUID | ) | throws OpenMSPException [protected, virtual] |
return the data conforme to the disptacher create AbstractQueryManager method for specified pdaUID .
Return null if no data found
Implements org.openmobileis.synchro.openmsp.client.OpenMSPDBSyncListener.
Definition at line 166 of file OpenMSPFODBSyncListener.java.
References org.openmobileis.database.fastobjectdb.synchro.client.OpenMSPFODBSyncListener.getSyncName().
String [] org.openmobileis.database.fastobjectdb.synchro.client.OpenMSPFODBSyncListener.getDBDataForReplace | ( | String | pdaUID | ) | throws OpenMSPException [protected, virtual] |
return the data conforme to the disptacher update AbstractQueryManager method for specified pdaUID .
Return null if no data found
Implements org.openmobileis.synchro.openmsp.client.OpenMSPDBSyncListener.
Definition at line 186 of file OpenMSPFODBSyncListener.java.
String org.openmobileis.database.fastobjectdb.synchro.client.OpenMSPFODBSyncListener.getSyncName | ( | ) |
Return the name used to identiy the of the listener in the synchro processus.
This name correspond to the source in the OpenMS protocol.
Implements org.openmobileis.synchro.openmsp.client.OpenMSPSyncListener.
Definition at line 200 of file OpenMSPFODBSyncListener.java.
Referenced by org.openmobileis.database.fastobjectdb.synchro.client.OpenMSPFODBSyncListener.getDBDataForAdd(), and org.openmobileis.database.fastobjectdb.synchro.client.OpenMSPFODBSyncListener.getSendCommandMetaData().
Credential org.openmobileis.database.fastobjectdb.synchro.client.OpenMSPFODBSyncListener.getSyncroCredential | ( | ) | [protected, virtual] |
return the credential to use for data synchronization.
If no need return null.
Implements org.openmobileis.synchro.openmsp.client.OpenMSPDBSyncListener.
Definition at line 207 of file OpenMSPFODBSyncListener.java.
void org.openmobileis.database.fastobjectdb.synchro.client.OpenMSPFODBSyncListener.notifySyncDataDone | ( | String | pdaID, | |
int | actionType | |||
) | throws OpenMSPException |
Call when a client data modification (ActionDB) has been update on the server side.
The actionType is defined by the class ActionDB.
pdaID | : Id of the object updated on the server side. | |
actionType | ActionDB modification type |
OpenMSPException |
Reimplemented from org.openmobileis.synchro.openmsp.client.OpenMSPDBSyncListener.
Definition at line 253 of file OpenMSPFODBSyncListener.java.
References org.openmobileis.database.fastobjectdb.synchro.client.OpenMSPFODBSyncListener.getImportQueryManager(), and org.openmobileis.database.fastobjectdb.synchro.client.SynchroFODBReturnListener.notifyFODBObjectSynchroDone().