public abstract 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 |
static String |
ERROR |
protected org.egov.infra.filestore.service.FileStoreService |
fileStoreService |
protected org.egov.infra.utils.FileStoreUtils |
fileStoreUtils |
static String |
MESSAGE |
protected org.egov.pgr.service.ReceivingCenterService |
receivingCenterService |
| 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() |
org.springframework.web.servlet.ModelAndView |
successView(org.egov.pgr.entity.Complaint complaint,
javax.servlet.http.HttpServletRequest request) |
public static final String ERROR
public static final String MESSAGE
@Autowired protected org.egov.pgr.service.ComplaintTypeService complaintTypeService
@Autowired(required=true) 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.ComplaintTypeCategoryService complaintTypeCategoryService
@Qualifier(value="fileStoreService") @Autowired 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",
method=GET)
public org.springframework.web.servlet.ModelAndView successView(@ModelAttribute
org.egov.pgr.entity.Complaint complaint,
javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/complaint/downloadfile/{fileStoreId}")
public void download(@PathVariable
String fileStoreId,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOExceptionCopyright © 2015–2016 eGovernments Foundation. All rights reserved.