Interface ReconstructionService
-
- All Known Implementing Classes:
ReconstructionServiceImpl
public interface ReconstructionService
Reconstrution of Vitam Collections interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<org.bson.Document>
agregateAccessionRegisterSummary(java.util.Set<java.lang.String> originatingAgencies, java.lang.Integer tenant)
void
computeAccessionRegisterSummary(java.lang.String originatingAgency, java.lang.Integer tenant)
ReconstructionResponseItem
reconstruct(ReconstructionRequestItem reconstructionItem)
Reconstruct a collectionvoid
reconstruct(FunctionalAdminCollections collection)
Reconstrut Vitam collection.void
reconstruct(FunctionalAdminCollections collection, java.lang.Integer... tenant)
Reconstrut Vitam collection by tenant.
-
-
-
Method Detail
-
reconstruct
void reconstruct(FunctionalAdminCollections collection, java.lang.Integer... tenant) throws DatabaseException
Reconstrut Vitam collection by tenant.- Parameters:
collection
- the collection to reconstruct.tenant
- the given tenant.- Throws:
DatabaseException
- in case error with database occurs
-
reconstruct
void reconstruct(FunctionalAdminCollections collection) throws DatabaseException
Reconstrut Vitam collection.- Parameters:
collection
- the collection to reconstruct.- Throws:
DatabaseException
- in case error with database occurs
-
reconstruct
ReconstructionResponseItem reconstruct(ReconstructionRequestItem reconstructionItem)
Reconstruct a collection- Parameters:
reconstructionItem
- request for reconstruction- Returns:
- response of reconstruction
- Throws:
DatabaseException
- database exceptionjava.lang.IllegalArgumentException
- invalid input
-
computeAccessionRegisterSummary
void computeAccessionRegisterSummary(java.lang.String originatingAgency, java.lang.Integer tenant)
-
agregateAccessionRegisterSummary
java.util.List<org.bson.Document> agregateAccessionRegisterSummary(java.util.Set<java.lang.String> originatingAgencies, java.lang.Integer tenant)
-
-