Class IdentifierTypeController


  • @Controller
    @SessionAttributes("identifierType")
    public class IdentifierTypeController
    extends de.digitalcollections.commons.springmvc.controller.AbstractController
    • Constructor Summary

      Constructors 
      Constructor Description
      IdentifierTypeController​(org.springframework.context.MessageSource messageSource, de.digitalcollections.cudami.admin.business.api.service.identifiable.IdentifierTypeService service)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String create​(@Valid de.digitalcollections.model.impl.identifiable.IdentifierTypeImpl identifierType, org.springframework.validation.BindingResult results, org.springframework.ui.Model model, org.springframework.web.bind.support.SessionStatus status, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)  
      java.lang.String create​(org.springframework.ui.Model model)  
      java.lang.String edit​(java.util.UUID pathUuid, @Valid de.digitalcollections.model.impl.identifiable.IdentifierTypeImpl identifierType, org.springframework.validation.BindingResult results, org.springframework.ui.Model model, org.springframework.web.bind.support.SessionStatus status, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)  
      java.lang.String edit​(java.util.UUID uuid, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)  
      java.lang.String list​(org.springframework.ui.Model model, org.springframework.data.domain.Pageable pageable)  
      protected java.lang.String module()  
      • Methods inherited from class de.digitalcollections.commons.springmvc.controller.AbstractController

        verifyBinding
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IdentifierTypeController

        @Autowired
        public IdentifierTypeController​(org.springframework.context.MessageSource messageSource,
                                        de.digitalcollections.cudami.admin.business.api.service.identifiable.IdentifierTypeService service)
    • Method Detail

      • module

        @ModelAttribute("menu")
        protected java.lang.String module()
      • create

        @RequestMapping(value="/identifiertypes/new",
                        method=GET)
        public java.lang.String create​(org.springframework.ui.Model model)
      • create

        @RequestMapping(value="/identifiertypes/new",
                        method=POST)
        public java.lang.String create​(@ModelAttribute @Valid
                                       @Valid de.digitalcollections.model.impl.identifiable.IdentifierTypeImpl identifierType,
                                       org.springframework.validation.BindingResult results,
                                       org.springframework.ui.Model model,
                                       org.springframework.web.bind.support.SessionStatus status,
                                       org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
      • edit

        @RequestMapping(value="/identifiertypes/{uuid}/edit",
                        method=GET)
        public java.lang.String edit​(@PathVariable
                                     java.util.UUID uuid,
                                     org.springframework.ui.Model model,
                                     org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
      • edit

        @RequestMapping(value="/identifiertypes/{pathUuid}/edit",
                        method=POST)
        public java.lang.String edit​(@PathVariable
                                     java.util.UUID pathUuid,
                                     @ModelAttribute @Valid
                                     @Valid de.digitalcollections.model.impl.identifiable.IdentifierTypeImpl identifierType,
                                     org.springframework.validation.BindingResult results,
                                     org.springframework.ui.Model model,
                                     org.springframework.web.bind.support.SessionStatus status,
                                     org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
      • list

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