Class WebsitesController


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

      • module

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

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

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

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

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

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

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