Class IdentifierTypeController


  • @RestController
    public class IdentifierTypeController
    extends Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.IdentifierType> find​(int pageNumber, int pageSize, List<de.digitalcollections.model.list.sorting.Order> sortBy, String searchTerm)  
      de.digitalcollections.model.identifiable.IdentifierType getByUuid​(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​(UUID uuid, de.digitalcollections.model.identifiable.IdentifierType identifierType, org.springframework.validation.BindingResult errors)  
    • Constructor Detail

      • IdentifierTypeController

        public IdentifierTypeController​(IdentifierTypeService identifierTypeService)
    • Method Detail

      • find

        @GetMapping(value="/v6/identifiertypes",
                    produces="application/json")
        public de.digitalcollections.model.list.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,
                                                                                                                                  @RequestParam(name="sortBy",required=false)
                                                                                                                                  List<de.digitalcollections.model.list.sorting.Order> sortBy,
                                                                                                                                  @RequestParam(name="searchTerm",required=false)
                                                                                                                                  String searchTerm)
      • getByUuid

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

        @PostMapping(value={"/v6/identifiertypes","/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={"/v6/identifiertypes/{uuid}","/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)