Change BitstreamStorageService to use BitStore interface, adding S3 storage

This commit is contained in:
Peter Dietz
2015-11-05 12:01:41 -05:00
parent 1ec396d4d9
commit 903a43c61b
13 changed files with 1226 additions and 429 deletions

View File

@@ -391,6 +391,16 @@ public class BitstreamServiceImpl extends DSpaceObjectServiceImpl<Bitstream> imp
}
}
@Override
public Iterator<Bitstream> findByStoreNumber(Context context, Integer storeNumber) throws SQLException {
return bitstreamDAO.findByStoreNumber(context, storeNumber);
}
@Override
public Long countByStoreNumber(Context context, Integer storeNumber) throws SQLException {
return bitstreamDAO.countByStoreNumber(context, storeNumber);
}
@Override
public Bitstream findByIdOrLegacyId(Context context, String id) throws SQLException {
if(StringUtils.isNumeric(id))