Class AutoSuggestDataController

java.lang.Object
com.foreach.across.modules.entity.autosuggest.AutoSuggestDataController

@AdminWebController @RequestMapping("/api/entityModule/auto-suggest") public class AutoSuggestDataController extends Object
API controller for fetching auto-suggest data. Designed so it can be extended if it needs to be exposed under a different (for example non-admin web) path.
Since:
3.0.0
Author:
Arne Vandamme
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • suggestions

      @ClearTemplate @GetMapping(path="/query", produces="application/json") public Object suggestions(@RequestParam("dataset") String dataSetId, @RequestParam("query") String query, @RequestParam(value="controlName",required=false) String controlName)
    • prefetch

      @ClearTemplate @GetMapping(path="/prefetch", produces="application/json") public Object prefetch(@RequestParam("dataset") String dataSetId, @RequestParam(value="controlName",required=false) String controlName)