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