@Controller @RequestMapping(value="/elastic/appSearch/") public class ApplicationSearchController extends Object
| Constructor and Description |
|---|
ApplicationSearchController(org.egov.wtms.elasticSearch.service.ApplicationSearchService applicationSearchService,
org.egov.search.service.SearchService searchService,
org.egov.infra.admin.master.service.CityService cityService) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
connectionTypes() |
List<org.egov.infra.search.elastic.entity.ApplicationIndex> |
findApplicationIndexModules() |
List<org.egov.infra.search.elastic.entity.ApplicationIndex> |
getAppConfigs(String appModuleName) |
List<org.egov.infra.search.elastic.entity.ApplicationIndex> |
getSourceList() |
String |
newSearchForm(org.springframework.ui.Model model) |
List<org.egov.search.domain.Document> |
searchApplication(org.egov.wtms.elasticSearch.entity.ApplicationSearchRequest searchRequest) |
org.egov.wtms.elasticSearch.entity.ApplicationSearchRequest |
searchRequest() |
@Autowired
public ApplicationSearchController(org.egov.wtms.elasticSearch.service.ApplicationSearchService applicationSearchService,
org.egov.search.service.SearchService searchService,
org.egov.infra.admin.master.service.CityService cityService)
@RequestMapping(value="/ajax-moduleTypepopulate",
method=GET,
produces="application/json")
@ResponseBody
public List<org.egov.infra.search.elastic.entity.ApplicationIndex> getAppConfigs(@ModelAttribute(value="appConfig") @RequestParam
String appModuleName)
@ModelAttribute(value="applicationstatusList") public Map<String,String> connectionTypes()
@ModelAttribute(value="sourceList") public List<org.egov.infra.search.elastic.entity.ApplicationIndex> getSourceList()
@ModelAttribute public org.egov.wtms.elasticSearch.entity.ApplicationSearchRequest searchRequest()
@RequestMapping(method=GET) public String newSearchForm(org.springframework.ui.Model model)
@ModelAttribute(value="modulesList") public List<org.egov.infra.search.elastic.entity.ApplicationIndex> findApplicationIndexModules()
@RequestMapping(method=POST) @ResponseBody public List<org.egov.search.domain.Document> searchApplication(@ModelAttribute org.egov.wtms.elasticSearch.entity.ApplicationSearchRequest searchRequest)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.