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
00030 package org.openmobileis.modules.common.database.jdbc;
00031
00032 import java.sql.ResultSet;
00033
00034 import org.openmobileis.common.util.database.ManagerDB;
00035 import org.openmobileis.common.util.exception.DatabaseException;
00036 import org.openmobileis.modules.common.data.TerminalUser;
00037
00046 public interface TerminalUserJDBCQuery {
00047 public TerminalUser convertResultSetToTerminalUser (ResultSet result) throws DatabaseException;
00048 public ManagerDB getDbManager();
00049 public String[] getInsertParamFromTerminalUser(TerminalUser rep);
00050 public String[] getUpdateParamFromTerminalUser(TerminalUser rep);
00051 public ResultSet getTerminalUser (String[] param) throws DatabaseException;
00052 public ResultSet getAllTerminalUsers () throws DatabaseException;
00053 public void insertTerminalUser (String[] param) throws DatabaseException;
00054 public void updateTerminalUser (String[] param) throws DatabaseException;
00055 public void deleteTerminalUser (String[] param) throws DatabaseException;
00056
00057 }