OSID Logo
OSID Specifications
hold rules package
Version 3.0.0
Interfaceosid.hold.rules.IssueProcessorEnablerList
Implementsosid.OsidList
Used Byosid.hold.rules.IssueProcessorEnablerLookupSession
osid.hold.rules.IssueProcessorEnablerOublietteSession
osid.hold.rules.IssueProcessorEnablerQuerySession
osid.hold.rules.IssueProcessorEnablerRuleLookupSession
osid.hold.rules.IssueProcessorEnablerSearchResults
Description

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

while (ipel.hasNext()) {
     IssueProcessorEnabler enabler =i pel.getNextIssueProcessorEnabler();
}

or

while (ipel.hasNext()) {
     IssueProcessorEnabler[] enablers = ipel.getNextIssueProcessorEnablers(ipel.available());
}            
                
MethodgetNextIssueProcessorEnabler
Description

Gets the next IssueProcessorEnabler in this list.

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

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

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