@Controller
@RequestMapping(value="/abstractestimate")
public class CreateAbstractEstimateController
extends org.egov.eis.web.controller.workflow.GenericWorkFlowController
| Modifier and Type | Field and Description |
|---|---|
protected org.egov.infra.workflow.matrix.service.CustomizedWorkFlowService |
customizedWorkFlowService |
| Constructor and Description |
|---|
CreateAbstractEstimateController() |
| Modifier and Type | Method and Description |
|---|---|
void |
populateDataForAbstractEstimate(org.egov.works.lineestimate.entity.LineEstimateDetails lineEstimateDetails,
org.springframework.ui.Model model,
org.egov.works.abstractestimate.entity.AbstractEstimate abstractEstimate)
Method called to populate data from lineestimatedetails to create abstract estimate
|
String |
saveAbstractEstimate(org.egov.works.abstractestimate.entity.AbstractEstimate abstractEstimate,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
org.springframework.ui.Model model,
org.springframework.validation.BindingResult bindErrors,
org.springframework.web.multipart.MultipartFile[] files,
javax.servlet.http.HttpServletRequest request,
String workFlowAction) |
String |
showAbstractEstimateForm(org.egov.works.abstractestimate.entity.AbstractEstimate abstractEstimate,
Long lineEstimateDetailId,
org.springframework.ui.Model model) |
String |
showSpillOverAbstractEstimateForm(org.egov.works.abstractestimate.entity.AbstractEstimate abstractEstimate,
Long lineEstimateDetailId,
org.springframework.ui.Model model) |
org.springframework.web.servlet.ModelAndView |
successView(org.egov.works.abstractestimate.entity.AbstractEstimate abstractEstimate,
Long id,
Long approvalPosition,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model) |
@Autowired protected org.egov.infra.workflow.matrix.service.CustomizedWorkFlowService customizedWorkFlowService
@RequestMapping(value="/create",
method=GET)
public String showAbstractEstimateForm(@ModelAttribute(value="abstractEstimate")
org.egov.works.abstractestimate.entity.AbstractEstimate abstractEstimate,
@RequestParam(required=false)
Long lineEstimateDetailId,
org.springframework.ui.Model model)
@RequestMapping(value="/createspillover",
method=GET)
public String showSpillOverAbstractEstimateForm(@ModelAttribute(value="abstractEstimate")
org.egov.works.abstractestimate.entity.AbstractEstimate abstractEstimate,
@RequestParam(required=false)
Long lineEstimateDetailId,
org.springframework.ui.Model model)
@RequestMapping(value={"/create","/createspillover"},
method=POST)
public String saveAbstractEstimate(@ModelAttribute
org.egov.works.abstractestimate.entity.AbstractEstimate abstractEstimate,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
org.springframework.ui.Model model,
org.springframework.validation.BindingResult bindErrors,
@RequestParam(value="file")
org.springframework.web.multipart.MultipartFile[] files,
javax.servlet.http.HttpServletRequest request,
@RequestParam
String workFlowAction)
throws IOException
IOException@RequestMapping(value="/abstractestimate-success",
method=GET)
public org.springframework.web.servlet.ModelAndView successView(@ModelAttribute
org.egov.works.abstractestimate.entity.AbstractEstimate abstractEstimate,
@RequestParam(value="estimate")
Long id,
@RequestParam(value="approvalPosition")
Long approvalPosition,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model)
public void populateDataForAbstractEstimate(org.egov.works.lineestimate.entity.LineEstimateDetails lineEstimateDetails,
org.springframework.ui.Model model,
org.egov.works.abstractestimate.entity.AbstractEstimate abstractEstimate)
lineEstimateDetails - model - abstractEstimate - Copyright © 2015–2017 eGovernments Foundation. All rights reserved.