Package fr.gouv.vitam.metadata.rest
Class MetadataRawResource
- java.lang.Object
-
- fr.gouv.vitam.metadata.rest.MetadataRawResource
-
@Path("/v1") public class MetadataRawResource extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MetadataRawResource(VitamRepositoryProvider vitamRepositoryProvider)
Constructor
-
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 datajavax.ws.rs.core.Response
getBulkRawUnitByIds(com.fasterxml.jackson.databind.JsonNode body)
Get Units as raw datajavax.ws.rs.core.Response
getObjectGroupById(java.lang.String objectGroupId)
Get ObjectGroup as raw datajavax.ws.rs.core.Response
getUnitById(java.lang.String unitId)
Get Unit as raw data
-
-
-
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
-
-