Examples of TbContactDAO


Examples of com.vsked.bean.TbContactDAO

    String url="addno";
    TbContact TbContact = (TbContact) form;
    TbContact.setTbGroup(new TbGroup(Integer.parseInt(request.getParameter("groupNo"))));
    //System.out.println(request.getParameter("groupNo"));
    TbContact.setTbUsers((TbUsers)(request.getSession().getAttribute("user")));
    if(new TbContactDAO().attachDirty(TbContact))
    {
      url="addok";
    }
    return mapping.findForward(url);
  }
View Full Code Here

Examples of com.vsked.bean.TbContactDAO

    String url="modifyno";
   
    TbContact TbContact = (TbContact) form;
    TbContact.setTbGroup(new TbGroup(Integer.parseInt(request.getParameter("groupNo"))));
    TbContact.setTbUsers((TbUsers)(request.getSession().getAttribute("user")));
    if(new TbContactDAO().attachDirty(TbContact))
    {
      url="modifyok";
    }
    return mapping.findForward(url);
  }
View Full Code Here

Examples of com.vsked.bean.TbContactDAO

    TbContact TbContact = (TbContact) form;
   
    if(request.getParameter("id")!=null)
      TbContact.setContactNo(Integer.parseInt(request.getParameter("id")));
   
    if(new TbContactDAO().delete(TbContact)){
      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.