Class GeoLocationsController


  • @Controller
    public class GeoLocationsController
    extends de.digitalcollections.commons.springmvc.controller.AbstractController
    Controller for GeoLocations management pages.
    • 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()