Examples of TbGroupDAO


Examples of com.vsked.bean.TbGroupDAO

  public ActionForward add(ActionMapping mapping, ActionForm form,
      HttpServletRequest request, HttpServletResponse response) {
    String url="addno";
    TbGroup TbGroup = (TbGroup) form;
    TbGroup.setTbUsers((TbUsers)(request.getSession().getAttribute("user")));
    if(new TbGroupDAO().attachDirty(TbGroup)){
      url="addok";
    }
   
    return mapping.findForward(url);
  }
View Full Code Here

Examples of com.vsked.bean.TbGroupDAO

  public ActionForward modify(ActionMapping mapping, ActionForm form,
      HttpServletRequest request, HttpServletResponse response) {
    String url="modifyno";
    TbGroup TbGroup = (TbGroup) form;
    TbGroup.setTbUsers((TbUsers)(request.getSession().getAttribute("user")));
    if(new TbGroupDAO().attachDirty(TbGroup)){
      url="modifyok";
    }
    return mapping.findForward(url);
  }
View Full Code Here

Examples of com.vsked.bean.TbGroupDAO

    String url="delno";
    TbGroup TbGroup = (TbGroup) form;
    if(request.getParameter("id")!=null)
      TbGroup.setGroupNo(Integer.parseInt(request.getParameter("id")));
   
    if(new TbGroupDAO().delete(TbGroup)){
      url="addok";
    }
    return mapping.findForward(url);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.