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