Class ImageFileResourceController


  • @RestController
    public class ImageFileResourceController
    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.resource.ImageFileResource> find​(int pageNumber, int pageSize, List<de.digitalcollections.model.list.sorting.Order> sortBy, de.digitalcollections.model.list.filtering.FilterCriterion<String> filenameFilterCriterion)  
      org.springframework.http.ResponseEntity<de.digitalcollections.model.identifiable.resource.FileResource> getByIdentifier​(String namespace, String id)  
      org.springframework.http.ResponseEntity<de.digitalcollections.model.identifiable.resource.ImageFileResource> getByUuid​(UUID uuid, Locale pLocale)  
      de.digitalcollections.model.identifiable.resource.ImageFileResource save​(de.digitalcollections.model.identifiable.resource.ImageFileResource imageFileResource)  
      de.digitalcollections.model.identifiable.resource.ImageFileResource update​(UUID uuid, de.digitalcollections.model.identifiable.resource.ImageFileResource imageFileResource)  
    • Method Detail

      • find

        @GetMapping(value={"/v6/imagefileresources","/v6/imagefileresources/search"},
                    produces="application/json")
        public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.resource.ImageFileResource> 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="filename",required=false)
                                                                                                                                              de.digitalcollections.model.list.filtering.FilterCriterion<String> filenameFilterCriterion)
      • getByIdentifier

        @GetMapping(value={"/v6/imagefileresources/identifier/{namespace}:{id}","/v6/imagefileresources/identifier/{namespace}:{id}.json"},
                    produces="application/json")
        public org.springframework.http.ResponseEntity<de.digitalcollections.model.identifiable.resource.FileResource> getByIdentifier​(@PathVariable
                                                                                                                                       String namespace,
                                                                                                                                       @PathVariable
                                                                                                                                       String id)
                                                                                                                                throws IdentifiableServiceException
        Throws:
        IdentifiableServiceException
      • getByUuid

        @GetMapping(value="/v6/imagefileresources/{uuid}",
                    produces="application/json")
        public org.springframework.http.ResponseEntity<de.digitalcollections.model.identifiable.resource.ImageFileResource> getByUuid​(@PathVariable("uuid")
                                                                                                                                      UUID uuid,
                                                                                                                                      @RequestParam(name="pLocale",required=false)
                                                                                                                                      Locale pLocale)
                                                                                                                               throws IdentifiableServiceException
        Throws:
        IdentifiableServiceException