@Controller @RequestMapping(value="/uploadsor") public class UploadSORController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.egov.infra.filestore.service.FileStoreService |
fileStoreService |
protected org.egov.works.masters.service.UploadSORService |
uploadSORService |
| Constructor and Description |
|---|
UploadSORController() |
| Modifier and Type | Method and Description |
|---|---|
String |
create(org.egov.works.uploadsor.UploadSOR uploadSOR,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
org.springframework.ui.Model model,
org.springframework.validation.BindingResult errors) |
String |
showCommonForm(org.egov.works.uploadsor.UploadSOR uploadSOR,
org.springframework.ui.Model model) |
String |
showForm(org.egov.works.uploadsor.UploadSOR uploadSOR,
org.springframework.ui.Model model) |
@Autowired protected org.egov.infra.filestore.service.FileStoreService fileStoreService
@Autowired protected org.egov.works.masters.service.UploadSORService uploadSORService
@RequestMapping(value="/common-form",
method=GET)
public String showCommonForm(@ModelAttribute(value="uploadSORRates")
org.egov.works.uploadsor.UploadSOR uploadSOR,
org.springframework.ui.Model model)
throws org.egov.infra.exception.ApplicationException
org.egov.infra.exception.ApplicationException@RequestMapping(value="/form",
method=GET)
public String showForm(@ModelAttribute(value="uploadSORRates")
org.egov.works.uploadsor.UploadSOR uploadSOR,
org.springframework.ui.Model model)
throws org.egov.infra.exception.ApplicationException
org.egov.infra.exception.ApplicationException@RequestMapping(value="/form",
method=POST)
public String create(@ModelAttribute(value="uploadSOR")
org.egov.works.uploadsor.UploadSOR uploadSOR,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
org.springframework.ui.Model model,
org.springframework.validation.BindingResult errors)
throws org.egov.infra.exception.ApplicationException,
IOException
org.egov.infra.exception.ApplicationExceptionIOExceptionCopyright © 2015–2017 eGovernments Foundation. All rights reserved.