Class IdentifierTypeController
- java.lang.Object
-
- de.digitalcollections.cudami.server.controller.identifiable.IdentifierTypeController
-
@RestController public class IdentifierTypeController extends Object
-
-
Constructor Summary
Constructors Constructor Description IdentifierTypeController(IdentifierTypeService identifierTypeService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.IdentifierType>findAll(int pageNumber, int pageSize, List<de.digitalcollections.model.paging.Order> sortBy)de.digitalcollections.model.identifiable.IdentifierTypefindById(UUID uuid)de.digitalcollections.model.identifiable.IdentifierTypesave(de.digitalcollections.model.identifiable.IdentifierType identifierType, org.springframework.validation.BindingResult errors)de.digitalcollections.model.identifiable.IdentifierTypeupdate(UUID uuid, de.digitalcollections.model.identifiable.IdentifierType identifierType, org.springframework.validation.BindingResult errors)
-
-
-
Constructor Detail
-
IdentifierTypeController
public IdentifierTypeController(IdentifierTypeService identifierTypeService)
-
-
Method Detail
-
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) 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 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 UUID uuid, @RequestBody de.digitalcollections.model.identifiable.IdentifierType identifierType, org.springframework.validation.BindingResult errors)
-
-