00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 package org.openmobileis.synchro.algo.syncnumber;
00030
00031 import org.openmobileis.common.util.exception.DatabaseException;
00032 import org.openmobileis.synchro.algo.syncnumber.impl.SyncNumberQueryManager;
00033
00041 public interface SyncNumberManagerDelegate {
00042
00043 public void setSyncNumberFactory(SyncNumberQueryManager fac);
00044 public void initDelegate();
00045
00046 public SynchroNumber getSynchroNumber(long ns) throws SyncNumberNotFoundException;
00047 public SynchroNumber getNextSynchroNumber() throws DatabaseException;
00048 public long getCurrentSynchroNumber() throws DatabaseException;
00049 public void deleteSyncNumber(SynchroNumber ns) throws DatabaseException;
00050 public void createSynchroNumber(long ns, long timestamp) throws DatabaseException;
00051 public void setTimeStampForSynchroNumber(long syncNumber) throws SyncNumberNotFoundException;
00052 public long getTimeStampForSynchroNumber(long syncNumber) throws SyncNumberNotFoundException;
00053 }