| Interface | osid.provisioning.rules.ProvisionEnablerQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Implemented By | osid.provisioning.rules.ProvisionEnablerSearchSession | ||
| Used By | osid.provisioning.rules.ProvisioningRulesManager | ||
osid.provisioning.rules.ProvisioningRulesProxyManager | |||
| Description |
This session provides methods for searching among
This session defines views that offer differing behaviors for searching.
Provision enablers may have a query record indicated by
their respective record types. The query record is accessed
via the | ||
| 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 | canSearchProvisionEnablers | ||
| Description |
Tests if this user can perform
| ||
| Return | boolean | false if search methods are not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useFederatedDistributorView | ||
| Description |
Federates the view for methods in this session. A federated view will include provision 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 searches to this distributor only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getProvisionEnablerQuery | ||
| Description |
Gets a provision enabler query. | ||
| Return | osid.provisioning.rules.ProvisionEnablerQuery | the provision enabler query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProvisionEnablersByQuery | ||
| Description |
Gets a list of | ||
| Parameters | osid.provisioning.rules.ProvisionEnablerQuery | provisionEnablerQuery | the provision enabler query |
| Return | osid.provisioning.rules.ProvisionEnablerList | the returned ProvisionEnablerList | |
| Errors | NULL_ARGUMENT | provisionEnablerQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | provisionEnablerQuery did not originate from
getProvisionEnablerQuery() | ||
| Compliance | mandatory | This method must be implemented. | |