@Controller @RequestMapping(value="/estimatephotograph") public class UploadEstimatePhotographController extends Object
| Constructor and Description |
|---|
UploadEstimatePhotographController() |
| Modifier and Type | Method and Description |
|---|---|
String |
showUploadEstimatePhotographForm(org.egov.works.abstractestimate.entity.EstimatePhotographs estimatePhotographs,
org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request,
String mode) |
String |
updateEstimatePhotographForm(org.egov.works.abstractestimate.entity.EstimatePhotographs estimatePhotographs,
javax.servlet.http.HttpServletRequest request,
Long id,
String estimatephotographstage,
Long fileid) |
String |
uploadEstimatePhotographForm(org.egov.works.abstractestimate.entity.EstimatePhotographs estimatePhotographs,
org.springframework.web.multipart.MultipartFile[] files,
javax.servlet.http.HttpServletRequest request,
Long id,
String estimatephotographstage) |
@RequestMapping(value="/newform",
method=GET)
public String showUploadEstimatePhotographForm(@ModelAttribute(value="estimatePhotographs")
org.egov.works.abstractestimate.entity.EstimatePhotographs estimatePhotographs,
org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request,
@RequestParam(value="mode",required=false)
String mode)
throws org.egov.infra.exception.ApplicationException
org.egov.infra.exception.ApplicationException@RequestMapping(value="/upload/{id}/{estimatephotographstage}",
method=POST)
@ResponseBody
public String uploadEstimatePhotographForm(@ModelAttribute(value="estimatePhotographs")
org.egov.works.abstractestimate.entity.EstimatePhotographs estimatePhotographs,
@RequestParam(value="file[]")
org.springframework.web.multipart.MultipartFile[] files,
javax.servlet.http.HttpServletRequest request,
@PathVariable
Long id,
@PathVariable
String estimatephotographstage)
throws IOException
IOException@RequestMapping(value="/update/{id}/{estimatephotographstage}/{fileid}",
method=POST)
@ResponseBody
public String updateEstimatePhotographForm(@ModelAttribute(value="estimatePhotographs")
org.egov.works.abstractestimate.entity.EstimatePhotographs estimatePhotographs,
javax.servlet.http.HttpServletRequest request,
@PathVariable
Long id,
@PathVariable
String estimatephotographstage,
@PathVariable
Long fileid)
throws IOException
IOExceptionCopyright © 2015–2017 eGovernments Foundation. All rights reserved.