Package com.vsked.bean

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


    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

    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

Related Classes of com.vsked.bean.TbContactDAO

Copyright © 2018 www.massapicom. 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.