Class ReconstructionResource
- java.lang.Object
-
- fr.gouv.vitam.functional.administration.rest.ReconstructionResource
-
@Path("/adminmanagement/v1") @ApplicationPath("webresources") public class ReconstructionResource extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ReconstructionResource(AdminManagementConfiguration configuration, VitamRepositoryProvider reconstructionFactory, OntologyLoader ontologyLoader, ElasticsearchFunctionalAdminIndexManager indexManager)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsereconstructCollection(java.util.List<ReconstructionRequestItem> reconstructionItems)API to access and launch the Vitam reconstruction service for Accession Register.javax.ws.rs.core.ResponsereconstructCollection(javax.ws.rs.core.HttpHeaders headers, java.lang.String collection)javax.ws.rs.core.ResponsereconstructCollections(javax.ws.rs.core.HttpHeaders headers, @Valid java.util.List<ReconstructionItem> reconstructionItems)API to access and lanch the Vitam reconstruction service.
-
-
-
Constructor Detail
-
ReconstructionResource
public ReconstructionResource(AdminManagementConfiguration configuration, VitamRepositoryProvider reconstructionFactory, OntologyLoader ontologyLoader, ElasticsearchFunctionalAdminIndexManager indexManager)
Constructor- Parameters:
reconstructionFactory-ontologyLoader-
-
-
Method Detail
-
reconstructCollections
@Path("/reconstruction") @POST @Consumes("application/json") @Produces("application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response reconstructCollections(@Context javax.ws.rs.core.HttpHeaders headers, @Valid @Valid java.util.List<ReconstructionItem> reconstructionItems)API to access and lanch the Vitam reconstruction service.- Parameters:
headers-reconstructionItems-- Returns:
- the response
-
reconstructCollection
@Path("/reconstruction/{collection}") @POST @Consumes("application/json") @Produces("application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response reconstructCollection(@Context javax.ws.rs.core.HttpHeaders headers, @PathParam("collection") java.lang.String collection)
-
reconstructCollection
@Path("/accessionregisterreconstruction") @POST @Consumes("application/json") @Produces("application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response reconstructCollection(java.util.List<ReconstructionRequestItem> reconstructionItems)API to access and launch the Vitam reconstruction service for Accession Register.- Parameters:
reconstructionItems- list of reconstruction request items- Returns:
- the response
-
-