Class RestoreBackupService


  • public class RestoreBackupService
    extends java.lang.Object
    Service used to recover a Backup copy of the given metadata Vitam collection.
    • Constructor Detail

      • RestoreBackupService

        public RestoreBackupService()
        Constructor
      • RestoreBackupService

        public RestoreBackupService​(StorageClientFactory storageClientFactory)
        Constructor for tests
        Parameters:
        storageClientFactory - storage client factory
    • Method Detail

      • getListing

        public java.util.Iterator<OfferLog> getListing​(java.lang.String strategy,
                                                       DataCategory category,
                                                       java.lang.Long offset,
                                                       java.lang.Integer limit,
                                                       Order order,
                                                       int batchSize)
        Retrieve list of offer log defining objects to reconstruct from offer log
        Parameters:
        strategy - storage strategy
        category - collection
        offset - offset
        limit - limit
        batchSize -
        Returns:
        list of offer log by bulk
        Throws:
        VitamRuntimeException - storage error
        java.lang.IllegalArgumentException - input error