Package fr.gouv.vitam.storage.engine.server.offersynchronization

# Class RestoreOfferBackupService

java.lang.Object
fr.gouv.vitam.storage.engine.server.offersynchronization.RestoreOfferBackupService

public class RestoreOfferBackupService extends Object
Service used to recover Backup copies.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RestoreOfferBackupService(StorageDistribution distribution)`
  constructor.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<OfferLog>`
  `getListing(String strategy, String offerId, DataCategory category, Long offset, int limit, Order order)`
  Retrieve listing of offerLogs defining objects to synchronize

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### RestoreOfferBackupService

    public RestoreOfferBackupService(StorageDistribution distribution)
    constructor.

- ## Method Details

  - ### getListing

    public List<OfferLog> getListing(String strategy, String offerId, DataCategory category, Long offset, int limit, Order order) throws StorageException
    Retrieve listing of offerLogs defining objects to synchronize
    Parameters:
      `strategy` - storage strategy
      `offerId` - offer identifier
      `category` - container category
      `offset` - offset
      `limit` - limit
      `order` - the search order
    Returns:
      list of offerLogs by bulkSize
    Throws:
      `StorageException`