OSID Logo
OSID Specifications
offering batch package
Version 3.1.0
Interfaceosid.offering.batch.OfferingBatchFormList
Implementsosid.OsidList
Used Byosid.offering.batch.OfferingBatchAdminSession
Description

Like all OsidLists, OfferingBatchFormList provides a means for accessing OfferingBatchForm elements sequentially either one at a time or many at a time. Examples:

while (obfl.hasNext()) {
     OfferingBatchForm form = obfl.getNextOfferingBatchForm();
}
                
or
while (obfl.hasNext()) {
     OfferingBatchForm[] forms = obfl.getNextOfferingBatchForms(obfl.available());
}
                
MethodgetNextOfferingBatchForm
Description

Gets the next OfferingBatchForm in this list.

Returnosid.offering.batch.OfferingBatchForm the next OfferingBatchForm in this list. The hasNext() method should be used to test that a next OfferingBatchForm is available before calling this method.
ErrorsILLEGAL_STATE no more elements available in this list
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetNextOfferingBatchForms
Description

Gets the next set of OfferingBatchForm elements in this list. The specified amount must be less than or equal to the return from available().

Parameterscardinaln the number of OfferingBatchForm elements requested which must be less than or equal to available()
Returnosid.offering.batch.OfferingBatchForm[] an array of OfferingBatchForm elements. The length of the array is less than or equal to the number specified.
ErrorsILLEGAL_STATE no more elements available in this list
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.