Interface ReconstructionService
- All Known Implementing Classes:
ReconstructionServiceImpl
public interface ReconstructionService
Reconstrution of Vitam Collections interface.
-
Method Summary
Modifier and TypeMethodDescriptionList<org.bson.Document>
agregateAccessionRegisterSummary
(Set<String> originatingAgencies, Integer tenant) void
reconstruct
(FunctionalAdminCollections collection) Reconstrut Vitam collection.void
reconstruct
(FunctionalAdminCollections collection, Integer... tenant) Reconstrut Vitam collection by tenant.reconstructAccessionRegister
(ReconstructionRequestItem reconstructionItem) Reconstruct a collection
-
Method Details
-
reconstruct
Reconstrut Vitam collection by tenant.- Parameters:
collection
- the collection to reconstruct.tenant
- the given tenant.- Throws:
DatabaseException
- in case error with database occurs
-
reconstruct
Reconstrut Vitam collection.- Parameters:
collection
- the collection to reconstruct.- Throws:
DatabaseException
- in case error with database occurs
-
reconstructAccessionRegister
ReconstructionResponseItem reconstructAccessionRegister(ReconstructionRequestItem reconstructionItem) Reconstruct a collection- Parameters:
reconstructionItem
- request for reconstruction- Returns:
- response of reconstruction
- Throws:
DatabaseException
- database exceptionIllegalArgumentException
- invalid input
-
agregateAccessionRegisterSummary
-