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

@@ -200,6 +200,11 @@ public class ItemServiceImpl extends DSpaceObjectServiceImpl<Item> implements It
return itemDAO.findAll(context, true);
}
@Override
public Iterator<Item> findAll(Context context, Integer limit, Integer offset) throws SQLException {
return itemDAO.findAll(context, true, limit, offset);
}
@Override
public Iterator<Item> findAllUnfiltered(Context context) throws SQLException {
return itemDAO.findAll(context, true, true);