@Controller public class GenericComplaintAjaxController extends Object
| Constructor and Description |
|---|
GenericComplaintAjaxController() |
| Modifier and Type | Method and Description |
|---|---|
List<org.egov.pgr.entity.ComplaintType> |
complaintTypesByCategory(Long categoryId) |
List<org.egov.pgr.entity.ComplaintType> |
getAllActiveComplaintTypesByNameLike(String complaintTypeName) |
List<org.egov.pgr.entity.ComplaintType> |
getAllComplaintTypesByNameLike(String complaintTypeName) |
List<org.egov.pims.commons.Designation> |
getAllDesignationsByName(String designationName) |
String |
getAllLocationJSON(String locationName) |
String |
getAllPositionByNameLike(String positionName,
javax.servlet.http.HttpServletResponse response) |
List<org.egov.infra.admin.master.entity.Boundary> |
getBoundariesbyType(String boundaryName,
Long boundaryTypeId,
javax.servlet.http.HttpServletResponse response) |
boolean |
isCrnRequired(Long receivingCenterId) |
@RequestMapping(value={"/complaint/citizen/complaintTypes","/complaint/citizen/anonymous/complaintTypes","/complaint/officials/complaintTypes","/complaint/router/complaintTypes","/complaint/escalationTime/complaintTypes"},
method=GET,
produces="application/json")
@ResponseBody
public List<org.egov.pgr.entity.ComplaintType> getAllActiveComplaintTypesByNameLike(@RequestParam
String complaintTypeName)
@RequestMapping(value={"/complaint/citizen/complainttypes-by-category","/complaint/citizen/anonymous/complainttypes-by-category","/complaint/officials/complainttypes-by-category"},
method=GET,
produces="application/json")
@ResponseBody
public List<org.egov.pgr.entity.ComplaintType> complaintTypesByCategory(@RequestParam
Long categoryId)
@RequestMapping(value={"/public/complaint/complaintTypes","/complaint/search/complaintTypes","/complaint/search/complaintTypes"},
method=GET,
produces="application/json")
@ResponseBody
public List<org.egov.pgr.entity.ComplaintType> getAllComplaintTypesByNameLike(@RequestParam
String complaintTypeName)
@RequestMapping(value="/complaint/escalationTime/ajax-approvalDesignations",
method=GET,
produces="application/json")
@ResponseBody
public List<org.egov.pims.commons.Designation> getAllDesignationsByName(@RequestParam
String designationName)
@RequestMapping(value="/complaint/officials/isCrnRequired",
method=GET)
@ResponseBody
public boolean isCrnRequired(@RequestParam
Long receivingCenterId)
@RequestMapping(value={"/complaint/citizen/locations","/complaint/citizen/anonymous/locations","/complaint/officials/locations"},
method=GET,
produces="text/plain")
@ResponseBody
public String getAllLocationJSON(@RequestParam
String locationName)
@RequestMapping(value={"/complaint/router/position","/complaint/escalation/position"},
method=GET,
produces="text/plain")
@ResponseBody
public String getAllPositionByNameLike(@RequestParam
String positionName,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException@RequestMapping(value={"/complaint/router/boundaries-by-type","/complaint/escalation/boundaries-by-type"},
method=GET,
produces="application/json")
@ResponseBody
public List<org.egov.infra.admin.master.entity.Boundary> getBoundariesbyType(@RequestParam
String boundaryName,
@RequestParam
Long boundaryTypeId,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOExceptionCopyright © 2015–2016 eGovernments Foundation. All rights reserved.