Class IdentifierTypeController
- java.lang.Object
-
- de.digitalcollections.commons.springmvc.controller.AbstractController
-
- de.digitalcollections.cudami.admin.controller.identifiable.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.Stringcreate(@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.Stringcreate(org.springframework.ui.Model model)java.lang.Stringedit(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.Stringedit(java.util.UUID uuid, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)java.lang.Stringlist(org.springframework.ui.Model model, org.springframework.data.domain.Pageable pageable)protected java.lang.Stringmodule()
-
-
-
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)
-
-