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