public class ItemIterator
extends java.lang.Object
| Constructor and Description |
|---|
ItemIterator(Context context,
java.util.List<java.lang.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 ItemIterator(Context context, java.util.List<java.lang.Integer> iids)
context - our contextiids - the array list to be iterated overpublic boolean hasNext()
throws java.sql.SQLException
true if there are more itemsjava.sql.SQLExceptionpublic Item next() throws java.sql.SQLException
null if there
are no more items.nulljava.sql.SQLExceptionpublic int nextID()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void close()
Copyright © 2013 DuraSpace. All Rights Reserved.