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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation
create()
de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation>
find(int pageNumber, int pageSize, String searchTerm, List<de.digitalcollections.model.list.sorting.Order> sortBy)
String
list(org.springframework.ui.Model model)
protected String
module()
-
-
-
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() throws de.digitalcollections.model.exception.TechnicalException
- Throws:
de.digitalcollections.model.exception.TechnicalException
-
find
@GetMapping("/api/geolocations") @ResponseBody public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation> find(@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, @RequestParam(name="sortBy",required=false) List<de.digitalcollections.model.list.sorting.Order> sortBy) throws de.digitalcollections.model.exception.TechnicalException
- Throws:
de.digitalcollections.model.exception.TechnicalException
-
list
@GetMapping("/geolocations") public String list(org.springframework.ui.Model model) throws de.digitalcollections.model.exception.TechnicalException
- Throws:
de.digitalcollections.model.exception.TechnicalException
-
module
@ModelAttribute("menu") protected String module()
-
-