@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 ManifestStore
ManifestItemWriteException
public void flagAsDeleted(String account, String storeId, String spaceId, String contentId, Date eventTimestamp) throws ManifestItemWriteException
flagAsDeleted
in interface ManifestStore
ManifestItemWriteException
@Transactional(readOnly=true, value="millJpaRepoTransactionManager") public Iterator<ManifestItem> getItems(String account, String storeId, String spaceId)
getItems
in interface ManifestStore
public ManifestItem getItem(String account, String storeId, String spaceId, String contentId) throws NotFoundException
getItem
in interface ManifestStore
NotFoundException
public Long purgeDeletedItemsBefore(Date expiration)
purgeDeletedItemsBefore
in interface ManifestStore
public void updateMissingFromStorageProviderFlag(String account, String storeId, String spaceId, String contentId, boolean flag) throws ManifestItemWriteException
updateMissingFromStorageProviderFlag
in interface ManifestStore
ManifestItemWriteException
Copyright © 2009–2014 DuraSpace. All rights reserved.