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