mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-11 20:13:17 +00:00
Change BitstreamStorageService to use BitStore interface, adding S3 storage
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user