Class CollectMetadataInternalResource

    • Method Detail

      • getUnitById

        @Path("/units/{unitId}")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response getUnitById​(@PathParam("unitId")
                                                     java.lang.String unitId)
      • uploadObjectGroup

        @Path("/units/{unitId}/objects/{usage}/{version}")
        @POST
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response uploadObjectGroup​(@PathParam("unitId")
                                                           java.lang.String unitId,
                                                           @PathParam("usage")
                                                           java.lang.String usageString,
                                                           @PathParam("version")
                                                           java.lang.Integer version,
                                                           @Valid
                                                           @Valid ObjectDto objectDto)
      • getObjectById

        @Path("/objects/{gotId}")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response getObjectById​(@PathParam("gotId")
                                                       java.lang.String gotId)
      • upload

        @Path("/units/{unitId}/objects/{usage}/{version}/binary")
        @POST
        @Consumes("application/octet-stream")
        @Produces("application/json")
        public javax.ws.rs.core.Response upload​(@PathParam("unitId")
                                                java.lang.String unitId,
                                                @PathParam("usage")
                                                java.lang.String usageString,
                                                @PathParam("version")
                                                java.lang.Integer version,
                                                java.io.InputStream uploadedInputStream)
                                         throws CollectInternalException
        Throws:
        CollectInternalException
      • download

        @Path("/units/{unitId}/objects/{usage}/{version}/binary")
        @GET
        @Produces("application/octet-stream")
        public javax.ws.rs.core.Response download​(@PathParam("unitId")
                                                  java.lang.String unitId,
                                                  @PathParam("usage")
                                                  java.lang.String usageString,
                                                  @PathParam("version")
                                                  java.lang.Integer version)