| Interface | osid.subscription.rules.DispatchProcessorEnablerList | ||
|---|---|---|---|
| Implements | osid.OsidList | ||
| Used By | osid.subscription.rules.DispatchProcessorEnablerLookupSession | ||
osid.subscription.rules.DispatchProcessorEnablerPublisherSession | |||
osid.subscription.rules.DispatchProcessorEnablerQuerySession | |||
osid.subscription.rules.DispatchProcessorEnablerRuleLookupSession | |||
osid.subscription.rules.DispatchProcessorEnablerSearchResults | |||
| Description |
Like all while (pel.hasNext()) {
DispatchProcessorEnabler enabler = pel.getNextDispatchProcessorEnabler();
}
or
while (pel.hasNext()) {
DispatchProcessorEnabler[] enablers = pel.getNextDispatchProcessorEnablers(pel.available());
}
| ||
| Method | getNextDispatchProcessorEnabler | ||
| Description |
Gets the next | ||
| Return | osid.subscription.rules.DispatchProcessorEnabler | the next DispatchProcessorEnabler in this list. The
hasNext() method should be used to test that a next
DispatchProcessorEnabler is available before calling this method. | |
| Errors | ILLEGAL_STATE | no more elements available in this list | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getNextDispatchProcessorEnablers | ||
| Description |
Gets the next set of
| ||
| Parameters | cardinal | n | the number of DispatchProcessorEnabler elements requested
which must be less than or equal to available() |
| Return | osid.subscription.rules.DispatchProcessorEnabler[] | an array of DispatchProcessorEnabler elements. The length of
the array is less than or equal to the number specified. | |
| Errors | ILLEGAL_STATE | no more elements available in this list | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |