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