Class V5PersonController


  • @RestController
    public class V5PersonController
    extends Object
    • Constructor Detail

      • V5PersonController

        public V5PersonController​(PersonService personService,
                                  com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • find

        @GetMapping(value={"/v5/persons","/v2/persons","/latest/persons"},
                    produces="application/json")
        public org.springframework.http.ResponseEntity<String> find​(@RequestParam(name="pageNumber",required=false,defaultValue="0")
                                                                    int pageNumber,
                                                                    @RequestParam(name="pageSize",required=false,defaultValue="5")
                                                                    int pageSize,
                                                                    @RequestParam(name="sortBy",required=false)
                                                                    List<de.digitalcollections.model.list.sorting.Order> sortBy,
                                                                    @RequestParam(name="language",required=false,defaultValue="de")
                                                                    String language,
                                                                    @RequestParam(name="initial",required=false)
                                                                    String initial,
                                                                    @RequestParam(name="previewImage",required=false)
                                                                    de.digitalcollections.model.list.filtering.FilterCriterion<UUID> previewImageFilter,
                                                                    @RequestParam(name="searchTerm",required=false)
                                                                    String searchTerm)
                                                             throws CudamiControllerException
        Throws:
        CudamiControllerException
      • findByGeoLocationOfBirth

        @GetMapping(value={"/v5/persons/placeofbirth/{uuid}","/v2/persons/placeofbirth/{uuid}","/latest/persons/placeofbirth/{uuid}"},
                    produces="application/json")
        public org.springframework.http.ResponseEntity<String> findByGeoLocationOfBirth​(@PathVariable("uuid")
                                                                                        UUID uuid,
                                                                                        @RequestParam(name="pageNumber",required=false,defaultValue="0")
                                                                                        int pageNumber,
                                                                                        @RequestParam(name="pageSize",required=false,defaultValue="5")
                                                                                        int pageSize,
                                                                                        @RequestParam(name="sortBy",required=false)
                                                                                        List<de.digitalcollections.model.list.sorting.Order> sortBy)
                                                                                 throws CudamiControllerException
        Throws:
        CudamiControllerException
      • findByGeoLocationOfDeath

        @GetMapping(value={"/v5/persons/placeofdeath/{uuid}","/v2/persons/placeofdeath/{uuid}","/latest/persons/placeofdeath/{uuid}"},
                    produces="application/json")
        public org.springframework.http.ResponseEntity<String> findByGeoLocationOfDeath​(@PathVariable("uuid")
                                                                                        UUID uuid,
                                                                                        @RequestParam(name="pageNumber",required=false,defaultValue="0")
                                                                                        int pageNumber,
                                                                                        @RequestParam(name="pageSize",required=false,defaultValue="5")
                                                                                        int pageSize,
                                                                                        @RequestParam(name="sortBy",required=false)
                                                                                        List<de.digitalcollections.model.list.sorting.Order> sortBy)
                                                                                 throws CudamiControllerException
        Throws:
        CudamiControllerException