Package com.finiac.model

Examples of com.finiac.model.FeeStructure


  public ModelAndView listFeeStruct(HttpServletRequest request, HttpServletResponse response)throws Exception
  {
   
    ModelMap modelMap = new ModelMap();
    modelMap.addAttribute("feeStructList", feeStructureDAO.listAll());
    modelMap.addAttribute("feeStructure", new FeeStructure());
    return new ModelAndView("feeStructure",modelMap);
  }
View Full Code Here


  public ModelAndView updateFeeStructurePage(HttpServletRequest request, HttpServletResponse response)throws Exception
  {
    int id=Integer.parseInt(request.getParameter("id"));
    ModelMap modelMap = new ModelMap();
    modelMap.addAttribute("feeStructureList", feeStructureDAO.selectById(id));
    modelMap.addAttribute("feeStructure", new FeeStructure());
    return new ModelAndView("updateFeeStructure",modelMap);
  }
View Full Code Here

  }
 
  public ModelAndView autoComStudent(HttpServletRequest request, HttpServletResponse response)throws Exception
  {
    long admissionNo= Long.parseLong(request.getParameter("adNo"));
    FeeStructure feeStructure = new FeeStructure();
    feeStructure= feeStructureDAO.selectByAdmissionNo(admissionNo);
    return new ModelAndView("autoCompleteStudent", "feeStructure", feeStructure);
  }
View Full Code Here

    return new ModelAndView("redirect:listRegularFeeReg.htm");
    }
  public void deleteRegularFeeReg(HttpServletRequest request, HttpServletResponse response)throws Exception
  {
    int id=Integer.parseInt(request.getParameter("id"));
    FeeStructure feeStructure = new FeeStructure();
    List<FeeStructure> regularList= feeStructureDAO.selectById(id);
    for(int i=0;i<regularList.size();i++)
    {
      feeStructure = regularList.get(i);
    }
    feeStructure.setIsActive(0);
    feeStructureDAO.updateFeeStructure(feeStructure);
  }
View Full Code Here

  }
 
  public ModelAndView listRegularFeeReg(HttpServletRequest request,HttpServletResponse response) throws Exception {
    ModelMap modelMap = new ModelMap();
    modelMap.addAttribute("regularList", feeStructureDAO.listAll());
    modelMap.addAttribute("feeStructure", new FeeStructure());
    return new ModelAndView("regularFeeRegister",modelMap);
}
View Full Code Here

      admissionNo=0;
    else
      admissionNo=Long.parseLong(request.getParameter("admissionNo"));
    ModelMap modelMap = new ModelMap();
    modelMap.addAttribute("feeList", feeStructureDAO.selectByStudent(admissionNo));
    modelMap.addAttribute("feeStructure", new FeeStructure());
    return new ModelAndView("consolStudentFeeStructure",modelMap);
  }
View Full Code Here

  }
 
  public void deleteStudentFeeStructure(HttpServletRequest request, HttpServletResponse response)throws Exception
  {
    int id=Integer.parseInt(request.getParameter("id"));
    FeeStructure feeStructure = new FeeStructure();
    List<FeeStructure> feeList= feeStructureDAO.selectById(id);
    for(int i=0;i<feeList.size();i++)
    {
      feeStructure = feeList.get(i);
    }
    feeStructure.setIsActive(0);
    feeStructureDAO.updateFeeStructure(feeStructure);
  }
View Full Code Here

  }
 
  @SuppressWarnings("unchecked")
  @Override
  public FeeStructure selectByAdmissionNo(long admissionNo) {
    FeeStructure feeStructure= new FeeStructure();
    List<FeeStructure> feeStructureList= hibernateTemplate.find("from FeeStructure where admissionNo="+admissionNo +" and isActive =1");
    for(int i=0;i<feeStructureList.size();i++)
    {
      feeStructure = feeStructureList.get(i);
    }
View Full Code Here

TOP

Related Classes of com.finiac.model.FeeStructure

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.