Inheritance diagram for org.openmobileis.synchro.algo.syncnumber.impl.OracleSafeServerSyncNumberQueryManager:
Each synchronisation is identfied in the time by its synchro number. Use to determine the synchro timetamp and data to be synchronized.
Definition at line 49 of file OracleSafeServerSyncNumberQueryManager.java.
Public Member Functions | |
void | create (String parameters[]) throws DatabaseException |
create() insert a new version number for a user ID. | |
void | createSyncTable () throws DatabaseException, java.sql.SQLException |
check if the sync table exists. | |
void | delete (String parameters[]) throws DatabaseException |
delete() delete a synchronisation from the USERID | |
void | update (String parameters[]) throws DatabaseException |
update() update a synchronisation : Not used here (same as create) | |
ResultSet | getTimeStampForsn (String parameters[]) throws DatabaseException |
getLastSyncNumberbysn() get the sync number with specified ns | |
ResultSet | getLastSyncNumber () throws DatabaseException |
getLastSyncNumber() get the last sync number | |
ResultSet | getSyncNumberbysn (String parameters[]) throws DatabaseException |
getLastSyncNumberbysn() get the sync number with specified ns |
void org.openmobileis.synchro.algo.syncnumber.impl.OracleSafeServerSyncNumberQueryManager.create | ( | String | parameters[] | ) | throws DatabaseException |
create() insert a new version number for a user ID.
Create the user Id if it does not exist.
Array | containing a String parameters representing the variable values giving the USERID, VERSION_NB Refer to the database schema for more details |
None |
Implements org.openmobileis.synchro.algo.syncnumber.impl.SyncNumberQueryManager.
Definition at line 91 of file OracleSafeServerSyncNumberQueryManager.java.
Referenced by org.openmobileis.synchro.algo.syncnumber.impl.OracleSyncNumberManagerDelegate.createSynchroNumber(), and org.openmobileis.synchro.algo.syncnumber.impl.OracleSyncNumberManagerDelegate.getNextSynchroNumber().
void org.openmobileis.synchro.algo.syncnumber.impl.OracleSafeServerSyncNumberQueryManager.createSyncTable | ( | ) | throws DatabaseException, java.sql.SQLException |
check if the sync table exists.
IF it does not exist, create it
Implements org.openmobileis.synchro.algo.syncnumber.impl.SyncNumberQueryManager.
Definition at line 98 of file OracleSafeServerSyncNumberQueryManager.java.
References org.openmobileis.common.util.database.AbstractQueryManager.executeUpdate().
Referenced by org.openmobileis.synchro.algo.syncnumber.impl.OracleSyncNumberManagerDelegate.initDelegate().
void org.openmobileis.synchro.algo.syncnumber.impl.OracleSafeServerSyncNumberQueryManager.delete | ( | String | parameters[] | ) | throws DatabaseException |
delete() delete a synchronisation from the USERID
Array | containing a String parameters : USERID |
None |
Implements org.openmobileis.synchro.algo.syncnumber.impl.SyncNumberQueryManager.
Definition at line 129 of file OracleSafeServerSyncNumberQueryManager.java.
References org.openmobileis.common.util.database.AbstractQueryManager.executeUpdate().
Referenced by org.openmobileis.synchro.algo.syncnumber.impl.OracleSyncNumberManagerDelegate.deleteSyncNumber().
void org.openmobileis.synchro.algo.syncnumber.impl.OracleSafeServerSyncNumberQueryManager.update | ( | String | parameters[] | ) | throws DatabaseException |
update() update a synchronisation : Not used here (same as create)
Array | containing a String parameters |
None |
Implements org.openmobileis.synchro.algo.syncnumber.impl.SyncNumberQueryManager.
Definition at line 139 of file OracleSafeServerSyncNumberQueryManager.java.
ResultSet org.openmobileis.synchro.algo.syncnumber.impl.OracleSafeServerSyncNumberQueryManager.getTimeStampForsn | ( | String | parameters[] | ) | throws DatabaseException |
getLastSyncNumberbysn() get the sync number with specified ns
: | array containing sync number |
None |
Definition at line 148 of file OracleSafeServerSyncNumberQueryManager.java.
References org.openmobileis.common.util.database.AbstractQueryManager.executeQuery().
ResultSet org.openmobileis.synchro.algo.syncnumber.impl.OracleSafeServerSyncNumberQueryManager.getLastSyncNumber | ( | ) | throws DatabaseException |
getLastSyncNumber() get the last sync number
None |
Implements org.openmobileis.synchro.algo.syncnumber.impl.SyncNumberQueryManager.
Definition at line 157 of file OracleSafeServerSyncNumberQueryManager.java.
References org.openmobileis.common.util.database.AbstractQueryManager.executeQuery().
Referenced by org.openmobileis.synchro.algo.syncnumber.impl.OracleSyncNumberManagerDelegate.getCurrentSynchroNumber(), and org.openmobileis.synchro.algo.syncnumber.impl.OracleSyncNumberManagerDelegate.initDelegate().
ResultSet org.openmobileis.synchro.algo.syncnumber.impl.OracleSafeServerSyncNumberQueryManager.getSyncNumberbysn | ( | String | parameters[] | ) | throws DatabaseException |
getLastSyncNumberbysn() get the sync number with specified ns
: | array containing sync number |
None |
Implements org.openmobileis.synchro.algo.syncnumber.impl.SyncNumberQueryManager.
Definition at line 167 of file OracleSafeServerSyncNumberQueryManager.java.
Referenced by org.openmobileis.synchro.algo.syncnumber.impl.OracleSyncNumberManagerDelegate.getNextSynchroNumber(), and org.openmobileis.synchro.algo.syncnumber.impl.OracleSyncNumberManagerDelegate.getSynchroNumber().