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