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.modules.crm.database.common.jdbc;
00030
00031 import java.sql.ResultSet;
00032
00033 import org.openmobileis.common.util.database.ManagerDB;
00034 import org.openmobileis.database.DatabaseException;
00035 import org.openmobileis.modules.crm.data.common.Label;
00036
00045 public interface LabelJDBCQuery {
00046 public ResultSet getLabelListForCategorie (String[] param) throws DatabaseException;
00047 public ResultSet getLabelWithIds (String[] param) throws DatabaseException;
00048 public void insertLabel (String[] param) throws DatabaseException;
00049 public void updateLabel (String[] param) throws DatabaseException;
00050 public void deleteLabel (String[] param) throws DatabaseException;
00051 public Label convertResultSetToLabel (ResultSet result) throws DatabaseException;
00052 public ManagerDB getDbManager();
00053 public abstract String[] getInsertParamFromLabel(Label label);
00054 public abstract String[] getUpdateParamFromLabel(Label label);
00055
00056 }