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
reconstruct(FunctionalAdminCollections collection)
Reconstrut Vitam collection.void
reconstruct(FunctionalAdminCollections collection, java.lang.Integer... tenant)
Reconstrut Vitam collection by tenant.ReconstructionResponseItem
reconstructAccessionRegister(ReconstructionRequestItem reconstructionItem)
Reconstruct a collection
-
-
-
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
-
reconstructAccessionRegister
ReconstructionResponseItem reconstructAccessionRegister(ReconstructionRequestItem reconstructionItem)
Reconstruct a collection- Parameters:
reconstructionItem
- request for reconstruction- Returns:
- response of reconstruction
- Throws:
DatabaseException
- database exceptionjava.lang.IllegalArgumentException
- invalid input
-
agregateAccessionRegisterSummary
java.util.List<org.bson.Document> agregateAccessionRegisterSummary(java.util.Set<java.lang.String> originatingAgencies, java.lang.Integer tenant)
-
-