java.lang.Object
de.digitalcollections.cudami.server.controller.identifiable.entity.agent.V5PersonController

@RestController public class V5PersonController extends Object
  • Constructor Details

    • V5PersonController

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

    • 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, ServiceException
      Throws:
      CudamiControllerException
      ServiceException
    • 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, ServiceException
      Throws:
      CudamiControllerException
      ServiceException
    • 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, ServiceException
      Throws:
      CudamiControllerException
      ServiceException