@Controller @RequestMapping(value="/lineestimate") public class CreateSpillOverLineEstimateController extends Object
| Constructor and Description |
|---|
CreateSpillOverLineEstimateController() |
| Modifier and Type | Method and Description |
|---|---|
String |
create(org.egov.works.lineestimate.entity.LineEstimate lineEstimate,
org.springframework.ui.Model model,
org.springframework.validation.BindingResult errors,
org.springframework.web.multipart.MultipartFile[] files,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
javax.servlet.http.HttpServletRequest request,
org.springframework.validation.BindingResult resultBinder) |
String |
showNewSpillOverLineEstimateForm(org.egov.works.lineestimate.entity.LineEstimate lineEstimate,
org.springframework.ui.Model model) |
org.springframework.web.servlet.ModelAndView |
successView(String lineEstimateNumber,
org.springframework.ui.Model model) |
public CreateSpillOverLineEstimateController()
@RequestMapping(value="/newspilloverform",
method=GET)
public String showNewSpillOverLineEstimateForm(@ModelAttribute(value="lineEstimate")
org.egov.works.lineestimate.entity.LineEstimate lineEstimate,
org.springframework.ui.Model model)
throws org.egov.infra.exception.ApplicationException
org.egov.infra.exception.ApplicationException@RequestMapping(value="/create-spillover",
method=POST)
public String create(@ModelAttribute(value="lineEstimate")
org.egov.works.lineestimate.entity.LineEstimate lineEstimate,
org.springframework.ui.Model model,
org.springframework.validation.BindingResult errors,
@RequestParam(value="file")
org.springframework.web.multipart.MultipartFile[] files,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
javax.servlet.http.HttpServletRequest request,
org.springframework.validation.BindingResult resultBinder)
throws org.egov.infra.exception.ApplicationException,
IOException
org.egov.infra.exception.ApplicationExceptionIOException@RequestMapping(value="/spillover-lineestimate-success",
method=GET)
public org.springframework.web.servlet.ModelAndView successView(@RequestParam(value="lineEstimateNumber")
String lineEstimateNumber,
org.springframework.ui.Model model)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.