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.AbstractControllerController for GeoLocations management pages.
-
-
Constructor Summary
Constructors Constructor Description GeoLocationsController(LanguageSortingHelper languageSortingHelper, CudamiClient cudamiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods 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)Stringlist()protected Stringmodule()
-
-
-
Constructor Detail
-
GeoLocationsController
@Autowired public GeoLocationsController(LanguageSortingHelper languageSortingHelper, CudamiClient cudamiClient)
-
-
Method Detail
-
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 String list()
-
module
@ModelAttribute("menu") protected String module()
-
-