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

@RestController
public class V3DigitalObjectController
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    V3DigitalObjectController​(DigitalObjectService digitalObjectService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)  
  • Method Summary

    Modifier and Type Method Description
    org.springframework.http.ResponseEntity<java.lang.String> getCollections​(java.util.UUID uuid, int pageNumber, int pageSize, java.lang.String active)  
    org.springframework.http.ResponseEntity<java.lang.String> getProjects​(java.util.UUID uuid, int pageNumber, int pageSize)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getCollections

      @GetMapping(value={"/v3/digitalobjects/{uuid}/collections","/latest/digitalobjects/{uuid}/collections"}, produces="application/json") public org.springframework.http.ResponseEntity<java.lang.String> getCollections​(@PathVariable("uuid") java.util.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) java.lang.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<java.lang.String> getProjects​(@PathVariable("uuid") java.util.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