Class TurSNSiteSearchAPI

Object
TurSNSiteSearchAPI

@RestController @RequestMapping("/api/sn/{siteName}/search") public class TurSNSiteSearchAPI extends Object
  • Constructor Details

  • Method Details

    • turSNSiteSearchSelectGet

      @GetMapping public ResponseEntity<TurSNSiteSearchBean> turSNSiteSearchSelectGet(@PathVariable String siteName, @RequestParam(required=false,name="q") String q, @RequestParam(required=false,name="p") Integer currentPage, @RequestParam(required=false,name="fq[]") List<String> filterQueriesDefault, @RequestParam(required=false,name="fq.and[]") List<String> filterQueriesAnd, @RequestParam(required=false,name="fq.or[]") List<String> filterQueriesOr, @RequestParam(required=false,name="fq.op",defaultValue="NONE") TurSNFilterQueryOperator fqOperator, @RequestParam(required=false,name="sort") String sort, @RequestParam(required=false,name="rows",defaultValue="10") Integer rows, @RequestParam(required=false,name="group") String group, @RequestParam(required=false,name="nfpr",defaultValue="0") Integer autoCorrectionDisabled, @RequestParam(required=false,name="_setlocale") String localeRequest, HttpServletRequest request)
    • turSNSiteSearchSelectPost

      @PostMapping public ResponseEntity<TurSNSiteSearchBean> turSNSiteSearchSelectPost(@PathVariable String siteName, @RequestParam(required=false,name="q") String q, @RequestParam(required=false,name="p") Integer currentPage, @RequestParam(required=false,name="fq[]") List<String> filterQueriesDefault, @RequestParam(required=false,name="fq.and[]") List<String> filterQueriesAnd, @RequestParam(required=false,name="fq.or[]") List<String> filterQueriesOr, @RequestParam(required=false,name="fq.op",defaultValue="NONE") TurSNFilterQueryOperator fqOperator, @RequestParam(required=false,name="sort") String sort, @RequestParam(required=false,name="rows",defaultValue="10") Integer rows, @RequestParam(required=false,name="group") String group, @RequestParam(required=false,name="nfpr",defaultValue="0") Integer autoCorrectionDisabled, @RequestParam(required=false,name="_setlocale") String localeRequest, @RequestBody TurSNSitePostParamsBean turSNSitePostParamsBean, Principal principal, HttpServletRequest request)
    • turSNSiteSearchLocale

      @GetMapping("locales") public List<TurSNSiteLocaleBean> turSNSiteSearchLocale(@PathVariable String siteName)
    • turSNSiteSearchLatestImpersonate

      @PostMapping("latest") public ResponseEntity<List<String>> turSNSiteSearchLatestImpersonate(@PathVariable String siteName, @RequestParam(required=false,name="rows",defaultValue="5") Integer rows, @RequestParam(name="_setlocale") String locale, @RequestBody Optional<TurSNSearchLatestRequestBean> turSNSearchLatestRequestBean, Principal principal)