Class V5GeoLocationController
java.lang.Object
de.digitalcollections.cudami.server.controller.identifiable.entity.geo.location.V5GeoLocationController
-
Constructor Summary
ConstructorsConstructorDescriptionV5GeoLocationController(GeoLocationService<de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation> geoLocationservice, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
-
Constructor Details
-
V5GeoLocationController
public V5GeoLocationController(GeoLocationService<de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation> geoLocationservice, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
find
@GetMapping(value={"/v5/geolocations","/v2/geolocations","/latest/geolocations"}, 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) String language, @RequestParam(name="initial",required=false) String initial, @RequestParam(name="searchTerm",required=false) String searchTerm) throws CudamiControllerException, ServiceException
-