Class V3DigitalObjectController


  • @RestController
    public class V3DigitalObjectController
    extends Object
    • Constructor Detail

      • V3DigitalObjectController

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

      • getCollections

        @GetMapping(value={"/v3/digitalobjects/{uuid}/collections","/latest/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)
                                                                       throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • getProjects

        @GetMapping(value={"/v3/digitalobjects/{uuid}/projects","/latest/digitalobjects/{uuid}/projects"},
                    produces="application/json")
        public org.springframework.http.ResponseEntity<String> getProjects​(@PathVariable("uuid")
                                                                           UUID uuid,
                                                                           @RequestParam(name="pageNumber",required=false,defaultValue="0")
                                                                           int pageNumber,
                                                                           @RequestParam(name="pageSize",required=false,defaultValue="25")
                                                                           int pageSize)
                                                                    throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException