@Controller @RequestMapping(value="/complainttype/update") public class SearchComplaintTypeController extends Object
| Constructor and Description |
|---|
SearchComplaintTypeController(org.egov.pgr.service.ComplaintTypeService complaintTypeService) |
| Modifier and Type | Method and Description |
|---|---|
org.egov.pgr.entity.ComplaintType |
complaintTypeModel() |
List<org.egov.pgr.entity.ComplaintType> |
listComplaintTypes() |
String |
search(org.egov.pgr.entity.ComplaintType complaintType,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs,
javax.servlet.http.HttpServletRequest request) |
String |
showComplaintTypes(org.springframework.ui.Model model) |
@Autowired public SearchComplaintTypeController(org.egov.pgr.service.ComplaintTypeService complaintTypeService)
@ModelAttribute public org.egov.pgr.entity.ComplaintType complaintTypeModel()
@ModelAttribute(value="complaintTypes") public List<org.egov.pgr.entity.ComplaintType> listComplaintTypes()
@RequestMapping(method=GET) public String showComplaintTypes(org.springframework.ui.Model model)
@RequestMapping(method=POST) public String search(@ModelAttribute org.egov.pgr.entity.ComplaintType complaintType, org.springframework.validation.BindingResult errors, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs, javax.servlet.http.HttpServletRequest request)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.