@Transactional(value="millJpaRepoTransactionManager") public class JpaManifestStore extends Object implements ManifestStore
| Constructor and Description |
|---|
JpaManifestStore(JpaManifestItemRepo manifestItemRepo) |
| Modifier and Type | Method and Description |
|---|---|
void |
addUpdate(String account,
String storeId,
String spaceId,
String contentId,
String contentChecksum,
String contentMimetype,
String contentSize,
Date eventTimestamp) |
void |
flagAsDeleted(String account,
String storeId,
String spaceId,
String contentId,
Date eventTimestamp) |
ManifestItem |
getItem(String account,
String storeId,
String spaceId,
String contentId) |
Iterator<ManifestItem> |
getItems(String account,
String storeId,
String spaceId) |
Long |
purgeDeletedItemsBefore(Date expiration) |
void |
updateMissingFromStorageProviderFlag(String account,
String storeId,
String spaceId,
String contentId,
boolean flag) |
@Autowired public JpaManifestStore(JpaManifestItemRepo manifestItemRepo)
public void addUpdate(String account, String storeId, String spaceId, String contentId, String contentChecksum, String contentMimetype, String contentSize, Date eventTimestamp) throws ManifestItemWriteException
addUpdate in interface ManifestStoreManifestItemWriteExceptionpublic void flagAsDeleted(String account, String storeId, String spaceId, String contentId, Date eventTimestamp) throws ManifestItemWriteException
flagAsDeleted in interface ManifestStoreManifestItemWriteException@Transactional(readOnly=true,
value="millJpaRepoTransactionManager")
public Iterator<ManifestItem> getItems(String account,
String storeId,
String spaceId)
getItems in interface ManifestStorepublic ManifestItem getItem(String account, String storeId, String spaceId, String contentId) throws org.duracloud.error.NotFoundException
getItem in interface ManifestStoreorg.duracloud.error.NotFoundExceptionpublic Long purgeDeletedItemsBefore(Date expiration)
purgeDeletedItemsBefore in interface ManifestStorepublic void updateMissingFromStorageProviderFlag(String account, String storeId, String spaceId, String contentId, boolean flag) throws ManifestItemWriteException
updateMissingFromStorageProviderFlag in interface ManifestStoreManifestItemWriteExceptionCopyright © 2009–2015 DuraSpace. All rights reserved.