Interface BookBatchFormList
- All Superinterfaces:
AutoCloseable, Closeable, OsidList, OsidList
Like all OsidLists , BookBatchFormList provides a means
for accessing BookBatchForm elements sequentially either one at a
time or many at a time. Examples:
while (bbfl.hasNext()) {
BookBatchForm form = bbfl.getNextBookBatchForm();
}
or
while (bbfl.hasNext()) {
BookBatchForm[] forms = bbfl.getNextBookBatchForms(bbfl.available());
}
-
Method Details
-
getNextBookBatchForm
Gets the nextBookBatchFormin this list.- Returns:
- the next
BookBatchFormin this list. ThehasNext()method should be used to test that a nextBookBatchFormis available before calling this method. - Throws:
IllegalStateException- no more elements available in this listOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getNextBookBatchForms
Gets the next set ofBookBatchFormelements in this list. The specified amount must be less than or equal to the return fromavailable().- Parameters:
n- the number ofBookBatchFormelements requested which must be less than or equal toavailable()- Returns:
- an array of
BookBatchFormelements. The length of the array is less than or equal to the number specified. - Throws:
IllegalStateException- no more elements available in this listOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-