Interface SystemBatchFormList
- All Superinterfaces:
AutoCloseable, Closeable, OsidList, OsidList
Like all OsidLists , SystemBatchFormList provides a
means for accessing SystemBatchForm elements sequentially either
one at a time or many at a time. Examples:
while (sbfl.hasNext()) {
SystemBatchForm form = sbfl.getNextSystemBatchForm();
}
or
while (sbfl.hasNext()) {
SystemBatchForm[] forms = sbfl.getNextSystemBatchForms(sbfl.available());
}
-
Method Summary
Modifier and TypeMethodDescriptionGets the nextSystemBatchFormin this list.getNextSystemBatchForms(long n) Gets the next set ofSystemBatchFormelements in this list.
-
Method Details
-
getNextSystemBatchForm
Gets the nextSystemBatchFormin this list.- Returns:
- the next
SystemBatchFormin this list. ThehasNext()method should be used to test that a nextSystemBatchFormis available before calling this method. - Throws:
IllegalStateException- no more elements available in this listOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getNextSystemBatchForms
Gets the next set ofSystemBatchFormelements in this list. The specified amount must be less than or equal to the return fromavailable().- Parameters:
n- the number ofSystemBatchFormelements requested which must be less than or equal toavailable()- Returns:
- an array of
SystemBatchFormelements. The length of the array is less than or equal to the number specified. - Throws:
IllegalStateException- no more elements available in this listOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-