|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openmobileis.synchro.openmsp.server.synctarget.OpenMSPDBSynchroTargetListener
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)
validate the credential and connect if needed |
protected void |
deleteTargetForSynchroObjectId(java.lang.String uid)
|
protected void |
disconnect()
|
protected SynchroAtomicObject[] |
getAllModifiedAtomicObjectSince(long syncNumber)
return all atomic object uid modified since specified date for service |
protected OpenMISFile[] |
getDatabaseImportFiles()
call for complete DB synchro. return all the file needed to dump the terminal db for this service. |
protected SynchroConflicResolver |
getSynchroConflicResolver()
|
java.lang.String |
getTargetName()
return the target listener name |
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 org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPDBSynchroTargetListener |
processCommand |
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()
OpenMSPDBSynchroTargetListener
getTargetName
in interface OpenMSPSynchroTargetListener
getTargetName
in class OpenMSPDBSynchroTargetListener
protected void connect(Credential cred) throws UserNotFoundException, ServiceException
OpenMSPDBSynchroTargetListener
connect
in class OpenMSPDBSynchroTargetListener
UserNotFoundException
ServiceException
protected void disconnect()
disconnect
in class OpenMSPDBSynchroTargetListener
protected SynchroConflicResolver getSynchroConflicResolver()
getSynchroConflicResolver
in class OpenMSPDBSynchroTargetListener
protected SynchroAtomicObject[] getAllModifiedAtomicObjectSince(long syncNumber) throws OpenMSPException
OpenMSPDBSynchroTargetListener
getAllModifiedAtomicObjectSince
in class OpenMSPDBSynchroTargetListener
OpenMSPException
protected void updateTargetWithSynchroObject(java.lang.Object syncObject) throws OpenMSPException
updateTargetWithSynchroObject
in class OpenMSPDBSynchroTargetListener
OpenMSPException
protected void deleteTargetForSynchroObjectId(java.lang.String uid) throws OpenMSPException
deleteTargetForSynchroObjectId
in class OpenMSPDBSynchroTargetListener
OpenMSPException
protected java.lang.Object getTargetObjectWithId(java.lang.String uid) throws OpenMSPException
getTargetObjectWithId
in class OpenMSPDBSynchroTargetListener
OpenMSPException
protected int getUpdateMaxNbRow()
getUpdateMaxNbRow
in class OpenMSPDBSynchroTargetListener
protected void processSyncActionMetaData(java.lang.String metadata) throws ServiceException
processSyncActionMetaData
in class OpenMSPDBSynchroTargetListener
ServiceException
protected OpenMISFile[] getDatabaseImportFiles() throws ServiceException
OpenMSPDBSynchroTargetListener
getDatabaseImportFiles
in class OpenMSPDBSynchroTargetListener
ServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |