@Path(value="/metadata/v1") public class MetadataManagementResource extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
OBJECTGROUP |
static String |
UNIT |
static String |
UNIT_OBJECTGROUP |
| Constructor and Description |
|---|
MetadataManagementResource(ReconstructionService reconstructionService,
StoreGraphService storeGraphService,
GraphComputeService graphComputeService,
ReclassificationDistributionService reclassificationDistributionService)
Constructor for tests
|
MetadataManagementResource(VitamRepositoryProvider vitamRepositoryProvider,
OffsetRepository offsetRepository,
MetaData metadata)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
computeGraph(GraphComputeResponse.GraphComputeAction action,
Set<String> documentsId)
API to access and launch the Vitam graph builder service for metadatas.
|
javax.ws.rs.core.Response |
computeGraphByDSL(Integer xTenantId,
com.fasterxml.jackson.databind.JsonNode queryDsl)
API to access and launch the Vitam graph builder service for metadatas.
|
javax.ws.rs.core.Response |
computeGraphByDSLInProgress()
Check if graph builder is in progress.
|
javax.ws.rs.core.Response |
exportReclassificationChildNodes(ReclassificationChildNodeExportRequest request)
Export child nodes of units to reclassify for graph update into workspaces.
|
javax.ws.rs.core.Response |
reconstructCollection(List<ReconstructionRequestItem> reconstructionItems)
API to access and launch the Vitam reconstruction service for metadatas.
|
javax.ws.rs.core.Response |
storeGraph()
API to access and launch the Vitam store graph service for metadatas.
|
javax.ws.rs.core.Response |
storeGraphInProgress()
Check if store graph is in progress.
|
public static final String OBJECTGROUP
public static final String UNIT
public static final String UNIT_OBJECTGROUP
public MetadataManagementResource(VitamRepositoryProvider vitamRepositoryProvider, OffsetRepository offsetRepository, MetaData metadata)
vitamRepositoryProvider - vitamRepositoryProvideroffsetRepository - public MetadataManagementResource(ReconstructionService reconstructionService, StoreGraphService storeGraphService, GraphComputeService graphComputeService, ReclassificationDistributionService reclassificationDistributionService)
reconstructionService - storeGraphService - @Path(value="/reconstruction") @POST @Consumes(value="application/json") @Produces(value="application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response reconstructCollection(List<ReconstructionRequestItem> reconstructionItems)
reconstructionItems - list of reconstruction request items@Path(value="/storegraph") @GET @Produces(value="application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response storeGraph()
@Path(value="/storegraph/progress") @GET @Produces(value="application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response storeGraphInProgress()
@Path(value="/computegraph") @POST @Consumes(value="application/json") @Produces(value="application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response computeGraphByDSL(@HeaderParam(value="X-Tenant-Id") Integer xTenantId, com.fasterxml.jackson.databind.JsonNode queryDsl)
@Path(value="/computegraph/progress") @GET @Produces(value="application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response computeGraphByDSLInProgress()
@Path(value="/computegraph/{collection:UNIT|OBJECTGROUP|UNIT_OBJECTGROUP}")
@POST
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response computeGraph(@PathParam(value="collection")
GraphComputeResponse.GraphComputeAction action,
Set<String> documentsId)
@Path(value="exportReclassificationChildNodes") @POST @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response exportReclassificationChildNodes(ReclassificationChildNodeExportRequest request)
Copyright © 2018 Vitam. All rights reserved.