OSID Logo
OSID Specifications
tracking rules package
Version 3.1.0
Interfaceosid.tracking.rules.QueueProcessorList
Implementsosid.OsidList
Used Byosid.tracking.rules.QueueProcessorEnablerRuleLookupSession
osid.tracking.rules.QueueProcessorFrontOfficeSession
osid.tracking.rules.QueueProcessorLookupSession
osid.tracking.rules.QueueProcessorQuerySession
osid.tracking.rules.QueueProcessorRuleLookupSession
osid.tracking.rules.QueueProcessorSearchResults
Description

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

while (qpl.hasNext()) {
     QueueProcessor processor = qpl.getNextQueueProcessor();
}
                
or
while (qpl.hasNext()) {
     QueueProcessor[] processors  = qpl.getNextQueueProcessors(qpl.available());
}
                
MethodgetNextQueueProcessor
Description

Gets the next QueueProcessor in this list.

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

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

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