public class ArchiveReferentialRepository extends Object
| Constructor and Description |
|---|
ArchiveReferentialRepository(com.mongodb.client.MongoCollection<org.bson.Document> collection) |
| Modifier and Type | Method and Description |
|---|---|
Optional<TapeArchiveReferentialEntity> |
find(String archiveId) |
void |
insert(TapeArchiveReferentialEntity tapeArchiveReferentialEntity) |
void |
updateLocationToOnTape(String archiveId,
TapeLibraryOnTapeArchiveStorageLocation onTapeTarStorageLocation) |
void |
updateLocationToReadyOnDisk(String archiveId,
long size,
String digest) |
public ArchiveReferentialRepository(com.mongodb.client.MongoCollection<org.bson.Document> collection)
public void insert(TapeArchiveReferentialEntity tapeArchiveReferentialEntity) throws ArchiveReferentialException
ArchiveReferentialExceptionpublic Optional<TapeArchiveReferentialEntity> find(String archiveId) throws ArchiveReferentialException
ArchiveReferentialExceptionpublic void updateLocationToReadyOnDisk(String archiveId, long size, String digest) throws ArchiveReferentialException
ArchiveReferentialExceptionpublic void updateLocationToOnTape(String archiveId, TapeLibraryOnTapeArchiveStorageLocation onTapeTarStorageLocation) throws ArchiveReferentialException
ArchiveReferentialExceptionCopyright © 2019 Vitam. All rights reserved.