@Controller @RequestMapping(value="/complainttype-category") public class ComplaintTypeCategoryUpdateController extends Object
| Constructor and Description |
|---|
ComplaintTypeCategoryUpdateController(org.egov.pgr.service.ComplaintTypeCategoryService complaintTypeCategoryService) |
| Modifier and Type | Method and Description |
|---|---|
org.egov.pgr.entity.ComplaintTypeCategory |
complaintTypeCategory(String categoryName) |
String |
editComplaintTypeCategory(String categoryName,
org.egov.pgr.entity.ComplaintTypeCategory complaintTypeCategory,
org.springframework.validation.BindingResult error,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs) |
String |
editComplaintTypeCategoryForm(String categoryName,
org.egov.pgr.entity.ComplaintTypeCategory complaintTypeCategory,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs,
org.springframework.ui.Model model) |
@Autowired public ComplaintTypeCategoryUpdateController(org.egov.pgr.service.ComplaintTypeCategoryService complaintTypeCategoryService)
@ModelAttribute
public org.egov.pgr.entity.ComplaintTypeCategory complaintTypeCategory(@PathVariable
String categoryName)
@RequestMapping(value="update/{categoryName}",
method=GET)
public String editComplaintTypeCategoryForm(@PathVariable
String categoryName,
@ModelAttribute
org.egov.pgr.entity.ComplaintTypeCategory complaintTypeCategory,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs,
org.springframework.ui.Model model)
@RequestMapping(value="update/{categoryName}",
method=POST)
public String editComplaintTypeCategory(@PathVariable
String categoryName,
@ModelAttribute
org.egov.pgr.entity.ComplaintTypeCategory complaintTypeCategory,
org.springframework.validation.BindingResult error,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.