1 package smile.stored; 2 3 import java.util.*; 4 import java.sql.*; 5 6 17 public class s_deleteGroupType extends StoredProcedure implements ProcedureInterface { 18 19 String in_groupTypeID; 21 22 public s_deleteGroupType() { 23 } 24 25 public void init(HashMap initData, Connection con) { 26 super.init(initData, con); 28 in_groupTypeID = utils.getString(data, "GROUPTYPEID", ""); 30 } 31 32 public void checkAction() throws SQLException { 33 } 34 35 public void checkParams() throws SQLException { 36 } 37 38 public void executeAction() throws SQLException { 39 StringBuffer v_sb = new StringBuffer (); 40 v_sb.append("DELETE FROM tblpermgrouptype ").append(" WHERE groupTypeID = '" + in_groupTypeID + "'"); 41 42 execStatement(v_sb.toString()); 43 44 execStatementToRS(queryResultOk); 45 } 46 } | Popular Tags |