Package ubic.gemma.web.controller
Class GeneralSearchController
- java.lang.Object
-
- ubic.gemma.web.controller.GeneralSearchController
-
@Controller public class GeneralSearchController extends Object
Note: do not use parametrized collections as parameters for ajax methods in this class! Type information is lost during proxy creation so DWR can't figure out what type of collection the method should take. See bug 2756. Use arrays instead.- Author:
- klc
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeneralSearchController.SearchResultValueObject<T extends IdentifiableValueObject<?>>
-
Constructor Summary
Constructors Constructor Description GeneralSearchController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonReaderResponse<GeneralSearchController.SearchResultValueObject<?>>
ajaxSearch(SearchSettingsValueObject settingsValueObject)
org.springframework.web.servlet.ModelAndView
search(String query, String termUri, String taxon, String scope)
-
-
-
Method Detail
-
ajaxSearch
public JsonReaderResponse<GeneralSearchController.SearchResultValueObject<?>> ajaxSearch(SearchSettingsValueObject settingsValueObject)
-
search
@RequestMapping(value="/searcher.html", method={GET,HEAD}) public org.springframework.web.servlet.ModelAndView search(@RequestParam(value="query",required=false) String query, @RequestParam(value="termUri",required=false) String termUri, @RequestParam(value="taxon",required=false) String taxon, @RequestParam(value="scope",required=false) String scope)
-
-