OSID Logo
OSID Specifications
hold rules package
Version 3.0.0
Interfaceosid.hold.rules.IssueProcessorList
Implementsosid.OsidList
Used Byosid.hold.rules.IssueProcessorEnablerRuleLookupSession
osid.hold.rules.IssueProcessorLookupSession
osid.hold.rules.IssueProcessorOublietteSession
osid.hold.rules.IssueProcessorQuerySession
osid.hold.rules.IssueProcessorRuleLookupSession
osid.hold.rules.IssueProcessorSearchResults
Description

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

while (ipl.hasNext()) {
     IssueProcessor issueProcessor = ipl.getNextIssueProcessor();
}

or

while (ipl.hasNext()) {
     IssueProcessor[] issueProcessors = ipl.getNextIssueProcessors(ipl.available());
}            
                
MethodgetNextIssueProcessor
Description

Gets the next IssueProcessor in this list.

Returnosid.hold.rules.IssueProcessorthe next IssueProcessor in this list. The hasNext() method should be used to test that a next IssueProcessor is available before calling this method.
ErrorsILLEGAL_STATEno more elements available in this list
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetNextIssueProcessors
Description

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

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