Class SearchAllPluginController


  • @Controller
    @RequestMapping("/plugin/searchAll")
    public class SearchAllPluginController
    extends org.molgenis.core.ui.controller.VuePluginController
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DATAEXPLORER  
      static java.lang.String ID  
      static java.lang.String NAVIGATOR  
      static java.lang.String URI  
      • Fields inherited from class org.molgenis.core.ui.controller.VuePluginController

        menuReaderService, userAccountService
      • Fields inherited from class org.molgenis.web.PluginController

        PLUGIN_URI_PREFIX
    • Constructor Summary

      Constructors 
      Constructor Description
      SearchAllPluginController​(SearchAllService searchAllService, org.molgenis.settings.AppSettings appSettings, org.molgenis.web.menu.MenuReaderService menuReaderService, org.molgenis.security.user.UserAccountService userAccountService)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String init​(org.springframework.ui.Model model)  
      Result searchAll​(java.lang.String searchterm)  
      • Methods inherited from class org.molgenis.core.ui.controller.VuePluginController

        getBaseUrl, getLanguageCode, init
      • Methods inherited from class org.molgenis.web.PluginController

        getId, getPluginSettings, getUri
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SearchAllPluginController

        public SearchAllPluginController​(SearchAllService searchAllService,
                                         org.molgenis.settings.AppSettings appSettings,
                                         org.molgenis.web.menu.MenuReaderService menuReaderService,
                                         org.molgenis.security.user.UserAccountService userAccountService)
    • Method Detail

      • init

        @GetMapping("/**")
        public java.lang.String init​(org.springframework.ui.Model model)
      • searchAll

        @GetMapping(value="/search",
                    produces="application/json")
        @ResponseBody
        public Result searchAll​(@RequestParam("term")
                                java.lang.String searchterm)