| Interface | osid.transaction.batch.UpdateResponseList | ||
|---|---|---|---|
| Implements | osid.OsidList | ||
| Description |
Like all
while (url.hasNext()) {
UpdateResponse response = url.getNextUpdateResponse();
}
or
while (url.hasNext()) {
UpdateResponse[] responses = url.getNextUpdateResponses(url.available());
}
| ||
| Method | getNextUpdateResponse | ||
| Description |
Gets the next | ||
| Return | osid.transaction.batch.UpdateResponse | the next UpdateResponse in this list. The hasNext()
method should be used to test that a next UpdateResponse
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 | getNextUpdateResponses | ||
| Description |
Gets the next set of | ||
| Parameters | cardinal | n | the number of UpdateResponse elements requested which must
be less than or equal to available() |
| Return | osid.transaction.batch.UpdateResponse[] | an array of UpdateResponse 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. | |