| Interface | osid.provisioning.rules.ProvisionableEnablerList | ||
|---|---|---|---|
| Implements | osid.OsidList | ||
| Used By | osid.provisioning.rules.ProvisionableEnablerDistributorSession | ||
osid.provisioning.rules.ProvisionableEnablerLookupSession | |||
osid.provisioning.rules.ProvisionableEnablerQuerySession | |||
osid.provisioning.rules.ProvisionableEnablerRuleLookupSession | |||
osid.provisioning.rules.ProvisionableEnablerSearchResults | |||
| Description |
Like all while (pel.hasNext()) {
ProvisionableEnabler enabler = pel.getNextProvisionableEnabler();
}
or
while (pel.hasNext()) {
ProvisionableEnabler[] enablers = pel.getNextProvisionableEnablers(pel.available());
}
| ||
| Method | getNextProvisionableEnabler | ||
| Description |
Gets the next | ||
| Return | osid.provisioning.rules.ProvisionableEnabler | the next ProvisionableEnabler in this list. The
hasNext() method should be used to test that a next
ProvisionableEnabler 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 | getNextProvisionableEnablers | ||
| Description |
Gets the next set of | ||
| Parameters | cardinal | n | the number of ProvisionableEnabler elements requested which
must be less than or equal to available() |
| Return | osid.provisioning.rules.ProvisionableEnabler[] | an array of ProvisionableEnabler 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. | |