Class V3DigitalObjectController


  • @RestController
    public class V3DigitalObjectController
    extends Object
    • Constructor Detail

      • V3DigitalObjectController

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

      • findCollections

        @GetMapping(value={"/v3/digitalobjects/{uuid}/collections","/latest/digitalobjects/{uuid}/collections"},
                    produces="application/json")
        public org.springframework.http.ResponseEntity<String> findCollections​(@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
      • findProjects

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