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.AbstractControllerController for GeoLocations management pages.
-
-
Constructor Summary
Constructors Constructor Description GeoLocationsController(LanguageSortingHelper languageSortingHelper, CudamiClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods 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, String searchTerm)Stringlist(org.springframework.ui.Model model)protected Stringmodule()
-
-
-
Constructor Detail
-
GeoLocationsController
public GeoLocationsController(LanguageSortingHelper languageSortingHelper, CudamiClient client)
-
-
Method Detail
-
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) String searchTerm) throws HttpException- Throws:
HttpException
-
list
@GetMapping("/geolocations") public String list(org.springframework.ui.Model model) throws HttpException- Throws:
HttpException
-
module
@ModelAttribute("menu") protected String module()
-
-