public String update() { try { service.update(tbTaskDetail, null); } catch (Exception e) { return ERROR; } return SUCCESS; }
public String mergeAll() { try { service.mergeAll(list, null); } catch (Exception e) { return ERROR; } return SUCCESS; }
public String initAddAll() { try { service.initAddAll(null); } catch (Exception e) { return ERROR; } return "initAddAll"; }
public String initPageQuery() { try { service.initPageQuery(null); } catch (Exception e) { return ERROR; } return "pageQuery"; }
public String initConditionSelectAll() { try { service.initConditionSelectAll(null); } catch (Exception e) { return ERROR; } return "conditionSelectAll"; }
public String initMergeAll() { try { list = service.selectAll(null); request.setAttribute("list", list); } catch (Exception e) { return ERROR; } return "initMergeAll"; }
public String initUpdate() { try { tbTaskDetail = service.get(tbTaskDetail, null); request.setAttribute("tbTaskDetail", tbTaskDetail); } catch (Exception e) { return ERROR; } return "initUpdate"; }
public String pageQuery() { try { pageModel = service.pageQuery(pageModel, tbTaskDetail, null); request.setAttribute("tbTaskDetail", tbTaskDetail); request.setAttribute("pageModel", pageModel); } catch (Exception e) { return ERROR; } return "pageQuery"; }
public String conditionSelectAll() { try { list = service.conditionSelectAll(tbTaskDetail, null); request.setAttribute("list", list); request.setAttribute("tbTaskDetail", tbTaskDetail); } catch (Exception e) { return ERROR; } return "conditionSelectAll"; }