dao pagination support for item and bitstream

This commit is contained in:
Terry W Brady
2017-03-02 11:59:11 -08:00
parent 5a2fdabaaf
commit 172c0228c1
10 changed files with 56 additions and 3 deletions

View File

@@ -95,6 +95,12 @@ public class BitstreamServiceImpl extends DSpaceObjectServiceImpl<Bitstream> imp
return bitstreamDAO.findAll(context, Bitstream.class);
}
@Override
public Iterator<Bitstream> findAll(Context context, int limit, int offset) throws SQLException
{
return bitstreamDAO.findAll(context, limit, offset);
}
@Override
public Bitstream create(Context context, InputStream is) throws IOException, SQLException {
// Store the bits