public class RestoreOfferBackupService extends Object
Constructor and Description |
---|
RestoreOfferBackupService(StorageDistribution distribution)
constructor.
|
Modifier and Type | Method and Description |
---|---|
Optional<OfferLog> |
getLatestOffsetByContainer(String strategy,
String offerId,
DataCategory category,
Long offset,
int limit)
Retrieve the latest offset by container from the source offer log.
|
List<List<OfferLog>> |
getListing(String strategy,
String offerId,
DataCategory category,
Long offset,
int limit,
Order order)
Retrieve listing of offerLogs defining objects to synchronize
|
public RestoreOfferBackupService(StorageDistribution distribution)
public Optional<OfferLog> getLatestOffsetByContainer(String strategy, String offerId, DataCategory category, Long offset, int limit) throws VitamSyncException
strategy
- offerId
- category
- offset
- limit
- VitamSyncException
public List<List<OfferLog>> getListing(String strategy, String offerId, DataCategory category, Long offset, int limit, Order order)
strategy
- storage strategyofferId
- offer identifiercategory
- container categoryoffset
- offsetlimit
- limitorder
- the search orderCopyright © 2018 Vitam. All rights reserved.