Class HeadwordsController

java.lang.Object
de.digitalcollections.commons.springmvc.controller.AbstractController
de.digitalcollections.cudami.admin.controller.AbstractPagingAndSortingController
de.digitalcollections.cudami.admin.controller.AbstractUniqueObjectController<de.digitalcollections.model.semantic.Headword>
de.digitalcollections.cudami.admin.controller.semantic.HeadwordsController

@Controller public class HeadwordsController extends AbstractUniqueObjectController<de.digitalcollections.model.semantic.Headword>
Controller for headwords management pages.
  • Constructor Details

  • Method Details

    • create

      @GetMapping("/headwords/new") public String create(org.springframework.ui.Model model) throws de.digitalcollections.model.exception.TechnicalException
      Throws:
      de.digitalcollections.model.exception.TechnicalException
    • edit

      @GetMapping("/headwords/{uuid:^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$}/edit") public String edit(@PathVariable UUID uuid, @RequestParam(name="activeLanguage",required=false) Locale activeLanguage, org.springframework.ui.Model model) throws de.digitalcollections.model.exception.TechnicalException, de.digitalcollections.model.exception.ResourceNotFoundException
      Throws:
      de.digitalcollections.model.exception.TechnicalException
      de.digitalcollections.model.exception.ResourceNotFoundException
    • list

      @GetMapping("/headwords") public String list(org.springframework.ui.Model model) throws de.digitalcollections.model.exception.TechnicalException
      Throws:
      de.digitalcollections.model.exception.TechnicalException
    • module

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

      @GetMapping("/headwords/{uuid:^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$}") public String view(@PathVariable UUID uuid, org.springframework.ui.Model model) throws de.digitalcollections.model.exception.TechnicalException, de.digitalcollections.model.exception.ResourceNotFoundException
      Throws:
      de.digitalcollections.model.exception.TechnicalException
      de.digitalcollections.model.exception.ResourceNotFoundException