|
||||||||||
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
Title: OpenMobileIS project source
Description:
Constructor Summary | |
OpenMSPDBSynchroTargetListener()
|
Method Summary | |
protected abstract void |
connect(Credential cred)
validate the credential and connect if needed |
protected abstract void |
deleteTargetForSynchroObjectId(java.lang.String uid)
|
protected abstract void |
disconnect()
|
protected abstract SynchroAtomicObject[] |
getAllModifiedAtomicObjectSince(long syncNumber)
return all atomic object uid modified since specified date for service |
protected abstract OpenMISFile[] |
getDatabaseImportFiles()
call for complete DB synchro. return all the file needed to dump the terminal db for this service. |
protected abstract SynchroConflicResolver |
getSynchroConflicResolver()
|
abstract java.lang.String |
getTargetName()
return the target listener name |
protected abstract 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. |
SyncTargetAnswer |
processCommand(Credential cred,
ContainerMessage containerMessage)
|
protected void |
processSyncActionMetaData(java.lang.String metadata)
call to process sync command meta data Extends this method to manage sync command meta data. |
protected abstract 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 OpenMSPDBSynchroTargetListener()
Method Detail |
public SyncTargetAnswer processCommand(Credential cred, ContainerMessage containerMessage) throws OpenMSPException
processCommand
in interface OpenMSPSynchroTargetListener
OpenMSPException
protected int getUpdateMaxNbRow()
protected void processSyncActionMetaData(java.lang.String metadata) throws ServiceException
ServiceException
public abstract java.lang.String getTargetName()
getTargetName
in interface OpenMSPSynchroTargetListener
protected abstract void connect(Credential cred) throws UserNotFoundException, ServiceException
UserNotFoundException
ServiceException
protected abstract void disconnect()
protected abstract SynchroConflicResolver getSynchroConflicResolver()
protected abstract SynchroAtomicObject[] getAllModifiedAtomicObjectSince(long syncNumber) throws OpenMSPException
OpenMSPException
protected abstract void updateTargetWithSynchroObject(java.lang.Object syncObject) throws OpenMSPException
OpenMSPException
protected abstract void deleteTargetForSynchroObjectId(java.lang.String uid) throws OpenMSPException
OpenMSPException
protected abstract java.lang.Object getTargetObjectWithId(java.lang.String uid) throws OpenMSPException
OpenMSPException
protected abstract OpenMISFile[] getDatabaseImportFiles() throws ServiceException
ServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |