@Controller public class ComplaintSearchController extends Object
| Constructor and Description |
|---|
ComplaintSearchController(org.egov.search.service.SearchService searchService,
org.egov.pgr.service.ComplaintService complaintService,
org.egov.pgr.service.ComplaintStatusService complaintStatusService,
org.egov.pgr.service.ComplaintTypeService complaintTypeService,
org.egov.eis.service.AssignmentService assignmentService,
org.egov.infra.security.utils.SecurityUtils securityUtils,
org.egov.infra.admin.master.service.CityService cityService,
org.egov.infra.admin.master.service.DepartmentService departmentService) |
| Modifier and Type | Method and Description |
|---|---|
List |
complaintReceivingModes() |
List<org.egov.pgr.entity.ComplaintStatus> |
complaintStatuses() |
List<org.egov.infra.admin.master.entity.Department> |
complaintTypeDepartments() |
List<org.egov.pgr.entity.ComplaintType> |
complaintTypes() |
String |
currentLoggedUser() |
Long |
employeePosition() |
String |
getCurrentUlb() |
List<org.egov.search.domain.Document> |
searchComplaintsCitizen(ComplaintSearchRequest searchRequest) |
List<org.egov.search.domain.Document> |
searchComplaintsOffical(ComplaintSearchRequest searchRequest) |
ComplaintSearchRequest |
searchRequest() |
String |
showSearchFormCitizen() |
String |
showSearchFormOffical() |
Boolean |
validateForGo() |
@Autowired
public ComplaintSearchController(org.egov.search.service.SearchService searchService,
org.egov.pgr.service.ComplaintService complaintService,
org.egov.pgr.service.ComplaintStatusService complaintStatusService,
org.egov.pgr.service.ComplaintTypeService complaintTypeService,
org.egov.eis.service.AssignmentService assignmentService,
org.egov.infra.security.utils.SecurityUtils securityUtils,
org.egov.infra.admin.master.service.CityService cityService,
org.egov.infra.admin.master.service.DepartmentService departmentService)
@ModelAttribute(value="complaintTypedropdown") public List<org.egov.pgr.entity.ComplaintType> complaintTypes()
@ModelAttribute(value="complaintTypeDepartments") public List<org.egov.infra.admin.master.entity.Department> complaintTypeDepartments()
@ModelAttribute(value="complaintStatuses") public List<org.egov.pgr.entity.ComplaintStatus> complaintStatuses()
@ModelAttribute(value="complaintReceivingModes") public List complaintReceivingModes()
@ModelAttribute(value="currentLoggedUser") public String currentLoggedUser()
@ModelAttribute(value="isGrievanceOfficer") public Boolean validateForGo()
@ModelAttribute(value="employeeposition") public Long employeePosition()
@ModelAttribute public ComplaintSearchRequest searchRequest()
@ModelAttribute(value="currentUlb") public String getCurrentUlb()
@RequestMapping(method=GET,
value="/complaint/search")
public String showSearchFormOffical()
@RequestMapping(method=GET,
value="/complaint/citizen/anonymous/search")
public String showSearchFormCitizen()
@RequestMapping(method=POST,
value="/complaint/search")
@ResponseBody
public List<org.egov.search.domain.Document> searchComplaintsOffical(@ModelAttribute
ComplaintSearchRequest searchRequest)
@RequestMapping(method=POST,
value="/complaint/citizen/anonymous/search")
@ResponseBody
public List<org.egov.search.domain.Document> searchComplaintsCitizen(@ModelAttribute
ComplaintSearchRequest searchRequest)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.