Class IdentifierTypeController

java.lang.Object
de.digitalcollections.cudami.server.controller.identifiable.IdentifierTypeController

@RestController
public class IdentifierTypeController
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    IdentifierTypeController​(IdentifierTypeService identifierTypeService)  
  • Method Summary

    Modifier and Type Method Description
    de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.IdentifierType> findAll​(int pageNumber, int pageSize, java.util.List<de.digitalcollections.model.paging.Order> sortBy)  
    de.digitalcollections.model.identifiable.IdentifierType findById​(java.util.UUID uuid)  
    de.digitalcollections.model.identifiable.IdentifierType save​(de.digitalcollections.model.identifiable.IdentifierType identifierType, org.springframework.validation.BindingResult errors)  
    de.digitalcollections.model.identifiable.IdentifierType update​(java.util.UUID uuid, de.digitalcollections.model.identifiable.IdentifierType identifierType, org.springframework.validation.BindingResult errors)  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • findAll

      @GetMapping(value="/v5/identifiertypes", produces="application/json") public de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.IdentifierType> findAll​(@RequestParam(name="pageNumber",required=false,defaultValue="0") int pageNumber, @RequestParam(name="pageSize",required=false,defaultValue="25") int pageSize, @RequestParam(name="sortBy",required=false) java.util.List<de.digitalcollections.model.paging.Order> sortBy)
    • findById

      @GetMapping(value={"/v5/identifiertypes/{uuid}","/v2/identifiertypes/{uuid}","/latest/identifiertypes/{uuid}"}, produces="application/json") public de.digitalcollections.model.identifiable.IdentifierType findById​(@PathVariable java.util.UUID uuid)
    • save

      @PostMapping(value={"/v5/identifiertypes","/v2/identifiertypes","/latest/identifiertypes"}, produces="application/json") public de.digitalcollections.model.identifiable.IdentifierType save​(@RequestBody de.digitalcollections.model.identifiable.IdentifierType identifierType, org.springframework.validation.BindingResult errors)
    • update

      @PutMapping(value={"/v5/identifiertypes/{uuid}","/v2/identifiertypes/{uuid}","/latest/identifiertypes/{uuid}"}, produces="application/json") public de.digitalcollections.model.identifiable.IdentifierType update​(@PathVariable java.util.UUID uuid, @RequestBody de.digitalcollections.model.identifiable.IdentifierType identifierType, org.springframework.validation.BindingResult errors)