|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectOpenMSPDBSynchroTargetListener
org.openmobileis.database.fastobjectdb.synchro.server.FODBOpenMSPSynchroTargetWrapper
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
Constructor Summary | |
FODBOpenMSPSynchroTargetWrapper(FODBSyncTarget syncService)
Use this constructor to generate DB file during synchronisation if needed (complete synchronisation) or when no complete synchronisation is needed. |
|
FODBOpenMSPSynchroTargetWrapper(FODBSyncTarget syncService,
java.lang.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. |
Method Summary | |
protected void |
connect(Credential cred)
|
protected void |
deleteTargetForSynchroObjectId(java.lang.String uid)
|
protected void |
disconnect()
|
protected SynchroAtomicObject[] |
getAllModifiedAtomicObjectSince(long syncNumber)
|
protected OpenMISFile[] |
getDatabaseImportFiles()
|
protected SynchroConflicResolver |
getSynchroConflicResolver()
|
java.lang.String |
getTargetName()
|
protected java.lang.Object |
getTargetObjectWithId(java.lang.String uid)
|
protected 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. |
protected void |
processSyncActionMetaData(java.lang.String metadata)
call to process sync command meta data |
protected void |
updateTargetWithSynchroObject(java.lang.Object syncObject)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FODBOpenMSPSynchroTargetWrapper(FODBSyncTarget syncService, java.lang.String pregenerateddbpath)
public FODBOpenMSPSynchroTargetWrapper(FODBSyncTarget syncService)
Method Detail |
public java.lang.String getTargetName()
protected void connect(Credential cred) throws UserNotFoundException, ServiceException
UserNotFoundException
ServiceException
protected void disconnect()
protected SynchroConflicResolver getSynchroConflicResolver()
protected SynchroAtomicObject[] getAllModifiedAtomicObjectSince(long syncNumber) throws OpenMSPException
OpenMSPException
protected void updateTargetWithSynchroObject(java.lang.Object syncObject) throws OpenMSPException
OpenMSPException
protected void deleteTargetForSynchroObjectId(java.lang.String uid) throws OpenMSPException
OpenMSPException
protected java.lang.Object getTargetObjectWithId(java.lang.String uid) throws OpenMSPException
OpenMSPException
protected int getUpdateMaxNbRow()
protected void processSyncActionMetaData(java.lang.String metadata) throws ServiceException
ServiceException
protected OpenMISFile[] getDatabaseImportFiles() throws ServiceException
ServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |