| Interface | osid.provisioning.RequestQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session provides methods for searching among This session defines views that offer differing behaviors for searching.
Requests 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 | canSearchRequests | ||
| 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 requests 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 | getRequestQuery | ||
| Description |
Gets a request query. | ||
| Return | osid.provisioning.RequestQuery | the request query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRequestsByQuery | ||
| Description |
Gets a list of | ||
| Parameters | osid.provisioning.RequestQuery | requestQuery | the request query |
| Return | osid.provisioning.RequestList | the returned RequestList | |
| Errors | NULL_ARGUMENT | requestQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | requestQuery is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |