| Interface | osid.provisioning.rules.ProvisionableEnablerLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.provisioning.rules.ProvisioningRulesManager | ||
osid.provisioning.rules.ProvisioningRulesProxyManager | |||
| Description |
This session provides methods for retrieving
This session defines views that offer differing behaviors when retrieving multiple objects.
Generally, the comparative view should be used for most
applications as it permits operation even if there is data
that cannot be accessed. The methods
| ||
| Method | getDistributorId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Distributor Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDistributor | ||
| Description |
Gets the | ||
| Return | osid.provisioning.Distributor | the distributor | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canLookupProvisionableEnablers | ||
| Description |
Tests if this user can perform
| ||
| Return | boolean | false if lookup methods are not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useComparativeProvisionableEnablerView | ||
| Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | usePlenaryProvisionableEnablerView | ||
| Description |
A complete view of the
| ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useFederatedDistributorView | ||
| Description |
Federates the view for methods in this session. A federated view will include provisionable enablers in distributors which are children of this distributor in the distributor hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedDistributorView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this distributor only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getProvisionableEnabler | ||
| Description |
Gets the In plenary mode, the exact | ||
| Parameters | osid.id.Id | provisionableEnablerId | Id of the ProvisionableEnabler |
| Return | osid.provisioning.rules.ProvisionableEnabler | the provisionable enabler | |
| Errors | NOT_FOUND | provisionableEnablerId not found | |
| NULL_ARGUMENT | provisionableEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getProvisionableEnablersByIds | ||
| Description |
Gets a In plenary mode, the returned list contains all of the
provisionable enablers specified in the | ||
| Parameters | osid.id.IdList | provisionableEnablerIds | the list of Ids to retrieve |
| Return | osid.provisioning.rules.ProvisionableEnablerList | the returned ProvisionableEnabler list | |
| Errors | NOT_FOUND | an Id was not found | |
| NULL_ARGUMENT | provisionableEnablerIds is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProvisionableEnablersByGenusType | ||
| Description |
Gets a In plenary mode, the returned list contains all known provisionable enablers or an error results. Otherwise, the returned list may contain only those provisionable enablers that are accessible through this session. | ||
| Parameters | osid.type.Type | provisionableEnablerGenusType | a provisionable enabler genus type |
| Return | osid.provisioning.rules.ProvisionableEnablerList | the returned ProvisionableEnabler list | |
| Errors | NULL_ARGUMENT | provisionableEnablerGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProvisionableEnablersByParentGenusType | ||
| Description |
Gets a In plenary mode, the returned list contains all known provisionable enablers or an error results. Otherwise, the returned list may contain only those provisionable enablers that are accessible through this session. | ||
| Parameters | osid.type.Type | provisionableEnablerGenusType | a provisionable genus type |
| Return | osid.provisioning.rules.ProvisionableEnablerList | the returned ProvisionableEnabler list | |
| Errors | NULL_ARGUMENT | provisionableEnablerGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProvisionableEnablersByRecordType | ||
| Description |
Gets a In plenary mode, the returned list contains all known provisionable enablers or an error results. Otherwise, the returned list may contain only those provisionable enablers that are accessible through this session. | ||
| Parameters | osid.type.Type | provisionableEnablerRecordType | a provisionable enabler record type |
| Return | osid.provisioning.rules.ProvisionableEnablerList | the returned ProvisionableEnabler list | |
| Errors | NULL_ARGUMENT | provisionableEnablerRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProvisionableEnablers | ||
| Description |
Gets all | ||
| Return | osid.provisioning.rules.ProvisionableEnablerList | a list of ProvisionableEnablers | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |