Class ReconstructionService


  • public class ReconstructionService
    extends java.lang.Object
    Reconstruction of Vitam Metadata Collections.
    • Constructor Detail

      • ReconstructionService

        public ReconstructionService​(VitamRepositoryProvider vitamRepositoryProvider,
                                     OffsetRepository offsetRepository)
        Constructor
        Parameters:
        vitamRepositoryProvider - vitamRepositoryProvider
        offsetRepository - offsetRepository
      • ReconstructionService

        public ReconstructionService​(VitamRepositoryProvider vitamRepositoryProvider,
                                     RestoreBackupService recoverBackupService,
                                     LogbookLifeCyclesClientFactory logbookLifecycleClientFactory,
                                     StorageClientFactory storageClientFactory,
                                     OffsetRepository offsetRepository)
        Constructor for tests
        Parameters:
        vitamRepositoryProvider - vitamRepositoryProvider
        recoverBackupService - recoverBackupService
        logbookLifecycleClientFactory - logbookLifecycleClientFactory
        storageClientFactory - storageClientFactory
        offsetRepository -
    • Method Detail

      • purgeReconstructedDocumentsWithGraphOnlyData

        public void purgeReconstructedDocumentsWithGraphOnlyData​(MetadataCollections metaDaCollection)
        Find all older (AU/GOT) where only graph data are reconstructed As Documents with only graph data are not indexed in elasticsearch => we have not to implement deletion from Elastcisearch