Class GeoLocationsController
java.lang.Object
de.digitalcollections.commons.springmvc.controller.AbstractController
de.digitalcollections.cudami.admin.controller.identifiable.entity.geo.GeoLocationsController
@Controller
public class GeoLocationsController
extends de.digitalcollections.commons.springmvc.controller.AbstractController
Controller for GeoLocations management pages.
-
Constructor Summary
Constructors Constructor Description GeoLocationsController(LanguageSortingHelper languageSortingHelper, CudamiClient cudamiClient) -
Method Summary
Modifier and Type Method Description de.digitalcollections.model.api.identifiable.entity.geo.GeoLocationcreate()de.digitalcollections.model.api.paging.PageResponse<de.digitalcollections.model.impl.identifiable.entity.geo.GeoLocationImpl>findAll(int pageNumber, int pageSize)java.lang.Stringlist()protected java.lang.Stringmodule()Methods inherited from class de.digitalcollections.commons.springmvc.controller.AbstractController
verifyBindingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
GeoLocationsController
@Autowired public GeoLocationsController(LanguageSortingHelper languageSortingHelper, CudamiClient cudamiClient)
-
-
Method Details
-
create
@GetMapping("/api/geolocations/new") @ResponseBody public de.digitalcollections.model.api.identifiable.entity.geo.GeoLocation create() -
findAll
@GetMapping("/api/geolocations") @ResponseBody public de.digitalcollections.model.api.paging.PageResponse<de.digitalcollections.model.impl.identifiable.entity.geo.GeoLocationImpl> findAll(@RequestParam(name="pageNumber",required=false,defaultValue="0") int pageNumber, @RequestParam(name="pageSize",required=false,defaultValue="25") int pageSize) throws HttpException- Throws:
HttpException
-
list
@GetMapping("/geolocations") public java.lang.String list() -
module
@ModelAttribute("menu") protected java.lang.String module()
-