| Interface | osid.subscription.rules.DispatchEnablerList | ||
|---|---|---|---|
| Implements | osid.OsidList | ||
| Used By | osid.subscription.rules.DispatchConstrainerEnablerLookupSession | ||
osid.subscription.rules.DispatchEnablerLookupSession | |||
osid.subscription.rules.DispatchEnablerPublisherSession | |||
osid.subscription.rules.DispatchEnablerQuerySession | |||
osid.subscription.rules.DispatchEnablerRuleLookupSession | |||
osid.subscription.rules.DispatchEnablerSearchResults | |||
| Description |
Like all while (el.hasNext()) {
DispatchEnabler enabler = el.getNextDispatchEnabler();
}
or
while (el.hasNext()) {
DispatchEnabler[] enablers = el.getNextDispatchEnablers(el.available());
}
| ||
| Method | getNextDispatchEnabler | ||
| Description |
Gets the next | ||
| Return | osid.subscription.rules.DispatchEnabler | the next DispatchEnabler in this list. The
hasNext() method should be used to test that a next
DispatchEnabler 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 | getNextDispatchEnablers | ||
| Description |
Gets the next set of | ||
| Parameters | cardinal | n | the number of DispatchEnabler elements requested which must be
less than or equal to available() |
| Return | osid.subscription.rules.DispatchEnabler[] | an array of DispatchEnabler 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. | |