public class ItemIterator extends Object
| Constructor and Description |
|---|
ItemIterator(Context context,
List<Integer> iids)
Construct an item iterator using an array list of item ids
|
ItemIterator(Context context,
TableRowIterator rows)
Construct an item iterator using a set of TableRow objects from
the item table
|
public ItemIterator(Context context, TableRowIterator rows)
context - our contextrows - the rows that correspond to the Items to be iterated overpublic boolean hasNext()
throws SQLException
true if there are more itemsSQLExceptionpublic Item next() throws SQLException
null if there
are no more items.nullSQLExceptionpublic int nextID()
throws SQLException
SQLExceptionpublic void close()
Copyright © 2015 DuraSpace. All Rights Reserved.