Class IdentifierTypeController

java.lang.Object
de.digitalcollections.commons.springmvc.controller.AbstractController
de.digitalcollections.cudami.admin.controller.identifiable.IdentifierTypeController

@Controller
public class IdentifierTypeController
extends de.digitalcollections.commons.springmvc.controller.AbstractController
Controller for identifier type management pages.
  • Constructor Summary

    Constructors 
    Constructor Description
    IdentifierTypeController​(CudamiClient client)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String create()  
    de.digitalcollections.model.identifiable.IdentifierType createModel()  
    java.lang.String edit​(java.util.UUID uuid, org.springframework.ui.Model model)  
    de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.IdentifierType> find​(int pageNumber, int pageSize)  
    de.digitalcollections.model.identifiable.IdentifierType get​(java.util.UUID uuid)  
    java.lang.String list()  
    protected java.lang.String module()  
    org.springframework.http.ResponseEntity save​(de.digitalcollections.model.identifiable.IdentifierType identifierType)  
    org.springframework.http.ResponseEntity update​(java.util.UUID uuid, de.digitalcollections.model.identifiable.IdentifierType identifierType)  

    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 Details

  • Method Details

    • module

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

      @GetMapping("/identifiertypes/new") public java.lang.String create()
    • createModel

      @GetMapping("/api/identifiertypes/new") @ResponseBody public de.digitalcollections.model.identifiable.IdentifierType createModel()
    • edit

      @GetMapping("/identifiertypes/{uuid}/edit") public java.lang.String edit​(@PathVariable java.util.UUID uuid, org.springframework.ui.Model model) throws HttpException
      Throws:
      HttpException
    • find

      @GetMapping("/api/identifiertypes") @ResponseBody public de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.IdentifierType> find​(@RequestParam(name="pageNumber",required=false,defaultValue="0") int pageNumber, @RequestParam(name="pageSize",required=false,defaultValue="25") int pageSize) throws HttpException
      Throws:
      HttpException
    • get

      @GetMapping("/api/identifiertypes/{uuid}") @ResponseBody public de.digitalcollections.model.identifiable.IdentifierType get​(@PathVariable java.util.UUID uuid) throws HttpException
      Throws:
      HttpException
    • list

      @GetMapping("/identifiertypes") public java.lang.String list()
    • save

      @PostMapping("/api/identifiertypes") public org.springframework.http.ResponseEntity save​(@RequestBody de.digitalcollections.model.identifiable.IdentifierType identifierType)
    • update

      @PutMapping("/api/identifiertypes/{uuid}") public org.springframework.http.ResponseEntity update​(@PathVariable java.util.UUID uuid, @RequestBody de.digitalcollections.model.identifiable.IdentifierType identifierType)