| Interface | osid.commenting.batch.CommentBatchFormList | ||
|---|---|---|---|
| Implements | osid.OsidList | ||
| Description |
Like all
while (cbfl.hasNext()) {
CommentBatchForm form = cbfl.getNextCommentBatchForm();
}
or
while (cbfl.hasNext()) {
CommentBatchForm[] forms = cbfl.getNextCommentBatchForms(cbfl.available());
}
| ||
| Method | getNextCommentBatchForm | ||
| Description |
Gets the next | ||
| Return | osid.commenting.batch.CommentBatchForm | the next CommentBatchForm in this list. The hasNext()
method should be used to test that a next CommentBatchForm
is available before calling this method. | |
| Errors | ILLEGAL_STATE | no more elements available in this list | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getNextCommentBatchForms | ||
| Description |
Gets the next set of | ||
| Parameters | cardinal | n | the number of CommentBatchForm elements requested which must
be less than or equal to available() |
| Return | osid.commenting.batch.CommentBatchForm[] | an array of CommentBatchForm elements. The
length of the array is less than or equal to the number specified. | |
| Errors | ILLEGAL_STATE | no more elements available in this list | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |