public interface TodoBatchFormList extends OsidList
Like all OsidLists, TodoBatchFormList
provides a means for accessing TodoBatchForm elements
sequentially either one at a time or many at a time. Examples:
while (tbfl.hasNext()) {
TodoBatchForm form = tbfl.getNextTodoBatchForm();
}
or
while (tbfl.hasNext()) {
TodoBatchForm[] forms = tbfl.getNextTodoBatchForms(tbfl.available());
}
| Modifier and Type | Method and Description |
|---|---|
TodoBatchForm |
getNextTodoBatchForm()
Gets the next
TodoBatchForm in this list. |
TodoBatchForm[] |
getNextTodoBatchForms(long n)
Gets the next set of
TodoBatchForm elements in this
list. |
TodoBatchForm getNextTodoBatchForm() throws OperationFailedException
TodoBatchForm in this list. TodoBatchForm in this list. The
hasNext() method should be used to test that a next
TodoBatchForm is available before calling this
method.IllegalStateException - no more elements available in
this listOperationFailedException - unable to complete requestmandatory - This method must be implemented. TodoBatchForm[] getNextTodoBatchForms(long n) throws OperationFailedException
TodoBatchForm elements in this
list. The specified amount must be less than or equal to the return
from available(). n - the number of TodoBatchForm elements
requested which must be less than or equal to
available() TodoBatchForm elements.
The length of the array is less than or equal to the
number specified.IllegalStateException - no more elements available in
this listOperationFailedException - unable to complete requestmandatory - This method must be implemented.