Class V5DigitalObjectController


  • @RestController
    public class V5DigitalObjectController
    extends Object
    • Constructor Detail

      • V5DigitalObjectController

        public V5DigitalObjectController​(DigitalObjectService digitalObjectService,
                                         com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • findWithLimit

        @GetMapping(value="/v5/digitalobjects",
                    produces="application/json")
        public org.springframework.http.ResponseEntity<String> findWithLimit​(@RequestParam(name="pageNumber",required=false,defaultValue="0")
                                                                             int pageNumber,
                                                                             @RequestParam(name="pageSize",required=false,defaultValue="5")
                                                                             int pageSize,
                                                                             @RequestParam(name="sortBy",required=false)
                                                                             List<de.digitalcollections.model.list.sorting.Order> sortBy,
                                                                             @RequestParam(name="searchTerm",required=false)
                                                                             String searchTerm,
                                                                             @RequestParam(name="parent.uuid",required=false)
                                                                             de.digitalcollections.model.list.filtering.FilterCriterion<UUID> parentUuidFilterCriterion)
                                                                      throws CudamiControllerException
        Throws:
        CudamiControllerException
      • find

        @GetMapping(value={"/v5/digitalobjects/search","/v3/digitalobjects/search","/latest/digitalobjects/search"},
                    produces="application/json")
        public org.springframework.http.ResponseEntity<String> find​(@RequestParam(name="pageNumber",required=false,defaultValue="0")
                                                                    int pageNumber,
                                                                    @RequestParam(name="pageSize",required=false,defaultValue="5")
                                                                    int pageSize,
                                                                    @RequestParam(name="sortBy",required=false)
                                                                    List<de.digitalcollections.model.list.sorting.Order> sortBy,
                                                                    @RequestParam(name="searchTerm",required=false)
                                                                    String searchTerm,
                                                                    @RequestParam(name="parent.uuid",required=false)
                                                                    de.digitalcollections.model.list.filtering.FilterCriterion<UUID> parentUuidFilterCriterion)
                                                             throws CudamiControllerException
        Throws:
        CudamiControllerException
      • findProjects

        @GetMapping(value="/v5/digitalobjects/{uuid}/projects",
                    produces="application/json")
        public org.springframework.http.ResponseEntity<String> findProjects​(@PathVariable("uuid")
                                                                            UUID uuid,
                                                                            @RequestParam(name="pageNumber",required=false,defaultValue="0")
                                                                            int pageNumber,
                                                                            @RequestParam(name="pageSize",required=false,defaultValue="25")
                                                                            int pageSize,
                                                                            @RequestParam(name="searchTerm",required=false)
                                                                            String searchTerm)
                                                                     throws CudamiControllerException
        Throws:
        CudamiControllerException
      • getCollections

        @GetMapping(value="/v5/digitalobjects/{uuid}/collections",
                    produces="application/json")
        public org.springframework.http.ResponseEntity<String> getCollections​(@PathVariable("uuid")
                                                                              UUID uuid,
                                                                              @RequestParam(name="pageNumber",required=false,defaultValue="0")
                                                                              int pageNumber,
                                                                              @RequestParam(name="pageSize",required=false,defaultValue="25")
                                                                              int pageSize,
                                                                              @RequestParam(name="active",required=false)
                                                                              String active,
                                                                              @RequestParam(name="searchTerm",required=false)
                                                                              String searchTerm)
                                                                       throws CudamiControllerException
        Throws:
        CudamiControllerException