@Controller public class GenericComplaintController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.egov.pgr.service.ComplaintService |
complaintService |
protected org.egov.pgr.service.ComplaintTypeCategoryService |
complaintTypeCategoryService |
protected org.egov.pgr.service.ComplaintTypeService |
complaintTypeService |
protected org.egov.infra.admin.master.service.CrossHierarchyService |
crossHierarchyService |
protected org.egov.infra.filestore.service.FileStoreService |
fileStoreService |
protected org.egov.infra.utils.FileStoreUtils |
fileStoreUtils |
protected org.egov.pgr.service.ReceivingCenterService |
receivingCenterService |
protected org.egov.pgr.service.ReceivingModeService |
receivingModeService |
| Constructor and Description |
|---|
GenericComplaintController() |
| Modifier and Type | Method and Description |
|---|---|
List<org.egov.pgr.entity.ComplaintTypeCategory> |
complaintTypeCategories() |
void |
download(String fileStoreId,
javax.servlet.http.HttpServletResponse response) |
List<org.egov.pgr.entity.ComplaintType> |
frequentlyFiledComplaintTypes() |
protected void |
setReceivingMode(org.egov.pgr.entity.Complaint complaint,
String receivingModeCode) |
org.springframework.web.servlet.ModelAndView |
successView(org.egov.pgr.entity.Complaint complaint,
String crn) |
@Autowired protected org.egov.pgr.service.ComplaintTypeService complaintTypeService
@Autowired protected org.egov.pgr.service.ComplaintService complaintService
@Autowired protected org.egov.infra.admin.master.service.CrossHierarchyService crossHierarchyService
@Autowired protected org.egov.pgr.service.ReceivingCenterService receivingCenterService
@Autowired protected org.egov.pgr.service.ReceivingModeService receivingModeService
@Autowired protected org.egov.pgr.service.ComplaintTypeCategoryService complaintTypeCategoryService
@Autowired @Qualifier(value="fileStoreService") protected org.egov.infra.filestore.service.FileStoreService fileStoreService
@Autowired protected org.egov.infra.utils.FileStoreUtils fileStoreUtils
@ModelAttribute(value="categories") public List<org.egov.pgr.entity.ComplaintTypeCategory> complaintTypeCategories()
@ModelAttribute(value="complaintTypes") public List<org.egov.pgr.entity.ComplaintType> frequentlyFiledComplaintTypes()
@RequestMapping(value="/complaint/reg-success/{crn}",
method=GET)
public org.springframework.web.servlet.ModelAndView successView(@ModelAttribute
org.egov.pgr.entity.Complaint complaint,
@PathVariable
String crn)
@RequestMapping(value="/complaint/downloadfile/{fileStoreId}")
public void download(@PathVariable
String fileStoreId,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOExceptionprotected void setReceivingMode(org.egov.pgr.entity.Complaint complaint,
String receivingModeCode)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.