OSID Logo
OSID Specifications
bidding rules package
Version 3.1.0
Interfaceosid.bidding.rules.AuctionProcessorList
Implementsosid.OsidList
Used Byosid.bidding.rules.AuctionProcessorAuctionHouseSession
osid.bidding.rules.AuctionProcessorEnablerRuleLookupSession
osid.bidding.rules.AuctionProcessorLookupSession
osid.bidding.rules.AuctionProcessorQuerySession
osid.bidding.rules.AuctionProcessorRuleLookupSession
osid.bidding.rules.AuctionProcessorSearchResults
Description

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

while (apl.hasNext()) {
     AuctionProcessor = apl.getNextAuctionProcessor();
}
                
or
while (apl.hasNext()) {
     AuctionProcessor[] = apl.getNextAuctionProcessors(apl.available());
}
                
MethodgetNextAuctionProcessor
Description

Gets the next AuctionProcessor in this list.

Returnosid.bidding.rules.AuctionProcessor the next AuctionProcessor in this list. The hasNext() method should be used to test that a next AuctionProcessor 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.
MethodgetNextAuctionProcessors
Description

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

Parameterscardinaln the number of AuctionProcessor elements requested which must be less than or equal to available()
Returnosid.bidding.rules.AuctionProcessor[] an array of AuctionProcessor 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.