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.GeoLocation create()  
    de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation> findAll​(int pageNumber, int pageSize, java.lang.String searchTerm)  
    java.lang.String list​(org.springframework.ui.Model model)  
    protected java.lang.String module()  

    Methods inherited from class de.digitalcollections.commons.springmvc.controller.AbstractController

    verifyBinding

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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()