OSID Logo
OSID Specifications
provisioning package
Version 3.0.0
Release Candidate Preview
Interfaceosid.provisioning.RequestTransactionList
Implementsosid.OsidList
Description

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

                     
                     
                     while (rtl.hasNext()) {
                          RequestTransaction transaction = rtl.getNextRequestTransaction();
                     }
                     
                                 
                     
                
or
                     
                     
                     while (rtl.hasNext()) {
                          RequestTrsnaction[] transactions = rtl.getNextRequestTransactions(rtl.available());
                     }
                     
                                 
                     
                
MethodgetNextRequestTransaction
Description

Gets the next RequestTransaction in this list.

Returnosid.provisioning.RequestTransactionthe next RequestTransaction in this list. The hasNext() method should be used to test that a next Request is available before calling this method.
ErrorsILLEGAL_STATEno more elements available in this list
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetNextRequestTransactions
Description

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

Parameterscardinalnthe number of RequestTransaction elements requested which must be less than or equal to available()
Returnosid.provisioning.RequestTransaction[]an array of RequestTransaction elements. The length of the array is less than or equal to the number specified.
ErrorsILLEGAL_STATEno more elements available in this list
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.