Class CollectionsController


  • @Controller
    public class CollectionsController
    extends de.digitalcollections.commons.springmvc.controller.AbstractController
    Controller for collection management pages.
    • Method Detail

      • module

        @ModelAttribute("menu")
        protected String module()
      • create

        @GetMapping("/collections/new")
        public String create​(org.springframework.ui.Model model)
      • create

        @GetMapping("/api/collections/new")
        @ResponseBody
        public de.digitalcollections.model.api.identifiable.entity.Collection create()
      • get

        @GetMapping("/api/collections/{uuid}")
        @ResponseBody
        public de.digitalcollections.model.api.identifiable.entity.Collection get​(@PathVariable
                                                                                  UUID uuid)
                                                                           throws HttpException
        Throws:
        HttpException
      • list

        @GetMapping("/collections")
        public String list​(org.springframework.ui.Model model,
                           @PageableDefault(sort="label",size=25)
                           org.springframework.data.domain.Pageable pageable)