package realcix20.classes;
import realcix20.classes.basic.BaseClass;
import realcix20.classes.basic.Cell;
import realcix20.classes.basic.Row;
import realcix20.utils.DAO;
import realcix20.utils.ObjectUtil;
import realcix20.utils.Resources;
public class BudgetSettingClass extends BaseClass {
public BudgetSettingClass(int clsId) {
super(clsId);
}
public void deleteAllRelateItems(Row row) {
String b = null;
Cell cell = ObjectUtil.findNewCell(row, "B", "B");
b = (String)cell.getColumnValue();
String ruser = null;
cell = ObjectUtil.findNewCell(row, "B", "RUSER");
ruser = (String)cell.getColumnValue();
String rmonth = null;
cell = ObjectUtil.findNewCell(row, "B", "RMONTH");
rmonth = (String)cell.getColumnValue();
DAO dao = DAO.getInstance();
dao.update(Resources.DELETE_ALL_BI_SQL);
dao.setObject(1, b);
dao.setObject(2, ruser);
dao.setObject(3, rmonth);
dao.executeUpdate();
}
}