Class IdentifierTypeController
- java.lang.Object
-
- de.digitalcollections.cudami.server.controller.identifiable.IdentifierTypeController
-
@RestController @Api(description="The identifier types controller", name="Identifier types controller") public class IdentifierTypeController extends Object
-
-
Constructor Summary
Constructors Constructor Description IdentifierTypeController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.digitalcollections.model.api.paging.PageResponse<de.digitalcollections.model.api.identifiable.IdentifierType>findAll(int pageNumber, int pageSize, List<de.digitalcollections.model.api.paging.Order> sortBy)de.digitalcollections.model.api.identifiable.IdentifierTypefindById(UUID uuid)de.digitalcollections.model.api.identifiable.IdentifierTypesave(de.digitalcollections.model.api.identifiable.IdentifierType identifierType, org.springframework.validation.BindingResult errors)de.digitalcollections.model.api.identifiable.IdentifierTypeupdate(UUID uuid, de.digitalcollections.model.api.identifiable.IdentifierType identifierType, org.springframework.validation.BindingResult errors)
-
-
-
Method Detail
-
findAll
@ApiMethod(description="Get all identifier types") @GetMapping(value={"/latest/identifiertypes","/v2/identifiertypes"}, produces="application/json") @ApiResponseObject public de.digitalcollections.model.api.paging.PageResponse<de.digitalcollections.model.api.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.api.paging.Order> sortBy)
-
findById
@ApiMethod(description="get identifier type by uuid") @GetMapping(value={"/latest/identifiertypes/{uuid}","/v2/identifiertypes/{uuid}"}, produces="application/json") @ApiResponseObject public de.digitalcollections.model.api.identifiable.IdentifierType findById(@PathVariable UUID uuid)
-
save
@ApiMethod(description="save a newly created identifier type") @PostMapping(value={"/latest/identifiertypes","/v2/identifiertypes"}, produces="application/json") @ApiResponseObject public de.digitalcollections.model.api.identifiable.IdentifierType save(@RequestBody de.digitalcollections.model.api.identifiable.IdentifierType identifierType, org.springframework.validation.BindingResult errors)
-
update
@ApiMethod(description="update an identifier type") @PutMapping(value={"/latest/identifiertypes/{uuid}","/v2/identifiertypes/{uuid}"}, produces="application/json") @ApiResponseObject public de.digitalcollections.model.api.identifiable.IdentifierType update(@PathVariable UUID uuid, @RequestBody de.digitalcollections.model.api.identifiable.IdentifierType identifierType, org.springframework.validation.BindingResult errors)
-
-