java.lang.Object
de.digitalcollections.cudami.server.controller.identifiable.entity.V3DigitalObjectController

@RestController public class V3DigitalObjectController extends Object
  • Constructor Details

    • V3DigitalObjectController

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

    • 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, ServiceException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
      ServiceException
    • 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, ServiceException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
      ServiceException