Class MetadataRawResource


  • @Path("/metadata/v1")
    public class MetadataRawResource
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response getBulkRawObjectGroupsByIds​(com.fasterxml.jackson.databind.JsonNode body)
      Get ObjectGroups as raw data
      javax.ws.rs.core.Response getBulkRawUnitByIds​(com.fasterxml.jackson.databind.JsonNode body)
      Get Units as raw data
      javax.ws.rs.core.Response getObjectGroupById​(java.lang.String objectGroupId)
      Get ObjectGroup as raw data
      javax.ws.rs.core.Response getUnitById​(java.lang.String unitId)
      Get Unit as raw data
      • Methods inherited from class java.lang.Object

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

      • MetadataRawResource

        public MetadataRawResource​(VitamRepositoryProvider vitamRepositoryProvider)
        Constructor
        Parameters:
        vitamRepositoryProvider - vitam repository provider
    • Method Detail

      • getUnitById

        @Path("/raw/units/{id_unit}")
        @GET
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response getUnitById​(@PathParam("id_unit")
                                                     java.lang.String unitId)
        Get Unit as raw data
        Parameters:
        unitId - the unit id to get
        Returns:
        Response contains a request response json filled with unit result
      • getObjectGroupById

        @Path("/raw/objectgroups/{id_og}")
        @GET
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response getObjectGroupById​(@PathParam("id_og")
                                                            java.lang.String objectGroupId)
        Get ObjectGroup as raw data
        Parameters:
        objectGroupId - the objectGroup ID to get
        Returns:
        Response contains a request response json filled with object group result
      • getBulkRawUnitByIds

        @Path("/raw/units")
        @GET
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response getBulkRawUnitByIds​(com.fasterxml.jackson.databind.JsonNode body)
        Get Units as raw data
        Returns:
        Response contains a request response json filled with unit result
      • getBulkRawObjectGroupsByIds

        @Path("/raw/objectgroups")
        @GET
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response getBulkRawObjectGroupsByIds​(com.fasterxml.jackson.databind.JsonNode body)
        Get ObjectGroups as raw data
        Returns:
        Response contains a request response json filled with object group result