Class ProjectsController


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

      • module

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

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

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

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

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