OSID Logo
OSID Specifications
workflow rules package
Version 3.0.0
Interfaceosid.workflow.rules.ProcessProcessorEnablerList
Implementsosid.OsidList
Used Byosid.workflow.rules.ProcessProcessorEnablerLookupSession
osid.workflow.rules.ProcessProcessorEnablerOfficeSession
osid.workflow.rules.ProcessProcessorEnablerQuerySession
osid.workflow.rules.ProcessProcessorEnablerRuleLookupSession
osid.workflow.rules.ProcessProcessorEnablerSearchResults
Description

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

while (ppel.hasNext()) {
     ProcessProcessorEnabler enabler = ppel.getNextProcessProcessorEnabler();
}

or

while (ppel.hasNext()) {
     ProcessProcessorEnabler[] enablers = ppel.getNextProcessProcessorEnablers(ppel.available());
}            
                
MethodgetNextProcessProcessorEnabler
Description

Gets the next ProcessProcessorEnabler in this list.

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

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

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