@Transactional(value="millJpaRepoTransactionManager") public class JpaBitLogStore extends Object implements BitLogStore
| Constructor and Description |
|---|
JpaBitLogStore(JpaBitLogItemRepo bitLogItemRepo,
org.duracloud.mill.db.repo.JpaBitIntegrityReportRepo bitReportRepo) |
| Modifier and Type | Method and Description |
|---|---|
org.duracloud.mill.db.model.BitIntegrityReport |
addReport(String account,
String storeId,
String spaceId,
String reportSpaceId,
String reportContentId,
org.duracloud.reportdata.bitintegrity.BitIntegrityReportResult result,
Date completionDate) |
void |
delete(String account,
String storeId,
String spaceId) |
Iterator<BitLogItem> |
getBitLogItems(String account,
String storeId,
String spaceId)
Returns a iterator of BitLogItems in chronological order.
|
BitLogItem |
write(String accountId,
String storeId,
String spaceId,
String contentId,
Date timestamp,
org.duracloud.storage.domain.StorageProviderType storeType,
BitIntegrityResult result,
String contentCheckSum,
String storageProviderChecksum,
String manifestChecksum,
String details)
Creates a new BitLogItem and writes it to the store.
|
public JpaBitLogStore(JpaBitLogItemRepo bitLogItemRepo, org.duracloud.mill.db.repo.JpaBitIntegrityReportRepo bitReportRepo)
bitLogRepo - public BitLogItem write(String accountId, String storeId, String spaceId, String contentId, Date timestamp, org.duracloud.storage.domain.StorageProviderType storeType, BitIntegrityResult result, String contentCheckSum, String storageProviderChecksum, String manifestChecksum, String details) throws ItemWriteFailedException
BitLogStorewrite in interface BitLogStoreItemWriteFailedExceptionpublic Iterator<BitLogItem> getBitLogItems(String account, String storeId, String spaceId)
BitLogStoregetBitLogItems in interface BitLogStorepublic void delete(String account, String storeId, String spaceId)
delete in interface BitLogStorepublic org.duracloud.mill.db.model.BitIntegrityReport addReport(String account, String storeId, String spaceId, String reportSpaceId, String reportContentId, org.duracloud.reportdata.bitintegrity.BitIntegrityReportResult result, Date completionDate)
addReport in interface BitLogStoreCopyright © 2013–2015 DuraSpace. All rights reserved.