Package 

Class SearchController

  • All Implemented Interfaces:

    @Controller()@Transactional() 
    public final class SearchController
    
                        
    • Method Detail

      • searchCollections

        @PostMapping(value = {"/api/search/collections"}, produces = {"application/json"})@ResponseBody() final HttpEntity<List<CollectionDoc>> searchCollections(UriComponentsBuilder uriComponentsBuilder, @RequestParam(required = false, defaultValue = "50") Integer size, @RequestParam(required = false, defaultValue = "0") Integer from, @RequestParam(required = false, defaultValue = "draft,published") Array<String> status, @RequestParam(required = false) String sort, @RequestBody() ApiSearch apiSearch, @AuthenticationPrincipal() Jwt user)
      • searchSkills

        @PostMapping(value = {"/api/search/skills"}, produces = {"application/json"})@ResponseBody() final HttpEntity<List<RichSkillDoc>> searchSkills(UriComponentsBuilder uriComponentsBuilder, @RequestParam(required = false, defaultValue = "50") Integer size, @RequestParam(required = false, defaultValue = "0") Integer from, @RequestParam(required = false, defaultValue = "draft,published") Array<String> status, @RequestParam(required = false) String sort, @RequestParam(required = false) String collectionId, @RequestBody() ApiSearch apiSearch, @AuthenticationPrincipal() Jwt user)
      • collectionSkills

        @PostMapping(value = {"/api/collections/{uuid}/skills"}, produces = {"application/json"})@ResponseBody() final HttpEntity<List<RichSkillDoc>> collectionSkills(UriComponentsBuilder uriComponentsBuilder, @RequestParam(required = false, defaultValue = "50") Integer size, @RequestParam(required = false, defaultValue = "0") Integer from, @RequestParam(required = false, defaultValue = "draft,published") Array<String> status, @RequestParam(required = false) String sort, @PathVariable() String uuid, @RequestBody() ApiSearch apiSearch, @AuthenticationPrincipal() Jwt user)
      • searchJobCodes

        @GetMapping(value = {"/api/search/jobcodes"}, produces = {"application/json"})@ResponseBody() final HttpEntity<List<ApiJobCode>> searchJobCodes(UriComponentsBuilder uriComponentsBuilder, @RequestParam(required = true) String query)
      • searchKeywords

        @GetMapping(value = {"/api/search/keywords"}, produces = {"application/json"})@ResponseBody() final HttpEntity<List<ApiNamedReference>> searchKeywords(UriComponentsBuilder uriComponentsBuilder, @RequestParam(required = true) String query, @RequestParam(required = true) String type)