Class TopicsController


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

      • module

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

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

        @GetMapping("/api/topics/new")
        @ResponseBody
        public de.digitalcollections.model.api.identifiable.entity.Topic create()
      • edit

        @GetMapping("/topics/{uuid}/edit")
        public String edit​(@PathVariable
                           UUID uuid,
                           org.springframework.ui.Model model)
      • get

        @GetMapping("/api/topics/{uuid}")
        @ResponseBody
        public de.digitalcollections.model.api.identifiable.entity.Topic get​(@PathVariable
                                                                             UUID uuid)
      • list

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

        @GetMapping("/topics/{uuid}")
        public String view​(@PathVariable
                           UUID uuid,
                           org.springframework.ui.Model model)