OSID Logo
OSID Specifications
hold rules package
Version 3.1.0
Interfaceosid.hold.rules.HoldEnablerList
Implementsosid.OsidList
Used Byosid.hold.rules.HoldEnablerLookupSession
osid.hold.rules.HoldEnablerOublietteSession
osid.hold.rules.HoldEnablerQuerySession
osid.hold.rules.HoldEnablerRuleLookupSession
osid.hold.rules.HoldEnablerSearchResults
Description

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

while (hel.hasNext()) {
     HoldEnabler enabler = hel.getNextHoldEnabler();
}
                
or
while (hel.hasNext()) {
     HoldEnabler[] enablers = hel.getNextHoldEnablers hel.available());
}
                
MethodgetNextHoldEnabler
Description

Gets the next HoldEnabler in this list.

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

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

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