Class GeoLocationsController
java.lang.Object
de.digitalcollections.commons.springmvc.controller.AbstractController
de.digitalcollections.cudami.admin.controller.identifiable.entity.geo.location.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 client) -
Method Summary
Modifier and Type Method Description de.digitalcollections.model.identifiable.entity.geo.location.GeoLocationcreate()de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation>findAll(int pageNumber, int pageSize, java.lang.String searchTerm)java.lang.Stringlist(org.springframework.ui.Model model)protected java.lang.Stringmodule()
-
Constructor Details
-
Method Details
-
create
@GetMapping("/api/geolocations/new") @ResponseBody public de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation create() -
findAll
@GetMapping("/api/geolocations") @ResponseBody public de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation> findAll(@RequestParam(name="pageNumber",required=false,defaultValue="0") int pageNumber, @RequestParam(name="pageSize",required=false,defaultValue="25") int pageSize, @RequestParam(name="searchTerm",required=false) java.lang.String searchTerm) throws HttpException- Throws:
HttpException
-
list
@GetMapping("/geolocations") public java.lang.String list(org.springframework.ui.Model model) throws HttpException- Throws:
HttpException
-
module
@ModelAttribute("menu") protected java.lang.String module()
-