Class ReconstructionResource
java.lang.Object
fr.gouv.vitam.functional.administration.rest.ReconstructionResource
@Path("/adminmanagement/v1")
@ApplicationPath("webresources")
public class ReconstructionResource
extends Object
-
Constructor Summary
ConstructorDescriptionReconstructionResource
(AdminManagementConfiguration configuration, VitamRepositoryProvider reconstructionFactory, OntologyLoader ontologyLoader, ElasticsearchFunctionalAdminIndexManager indexManager) Constructor -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
reconstructCollection
(List<ReconstructionRequestItem> reconstructionItems) API to access and launch the Vitam reconstruction service for Accession Register.javax.ws.rs.core.Response
reconstructCollection
(javax.ws.rs.core.HttpHeaders headers, String collection) javax.ws.rs.core.Response
reconstructCollections
(javax.ws.rs.core.HttpHeaders headers, @Valid List<ReconstructionItem> reconstructionItems) API to access and lanch the Vitam reconstruction service.
-
Constructor Details
-
ReconstructionResource
public ReconstructionResource(AdminManagementConfiguration configuration, VitamRepositoryProvider reconstructionFactory, OntologyLoader ontologyLoader, ElasticsearchFunctionalAdminIndexManager indexManager) Constructor- Parameters:
reconstructionFactory
-ontologyLoader
-
-
-
Method Details
-
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 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") String collection) -
reconstructCollection
@Path("/accessionregisterreconstruction") @POST @Consumes("application/json") @Produces("application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response reconstructCollection(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
-