| Interface | osid.provisioning.DistributorSearchSession | ||
|---|---|---|---|
| Implements | osid.provisioning.DistributorQuerySession | ||
| Description | 
                 This session provides methods for searching among     Distributors may have a query record indicated by their 
                respective record types. The query record is accessed via the 
                  | ||
| Method | getDistributorSearch | ||
| Description | 
                     Gets a distributor search.  | ||
| Return | osid.provisioning.DistributorSearch | the distributor search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDistributorSearchOrder | ||
| Description | 
                     Gets a distributor search order. The   | ||
| Return | osid.provisioning.DistributorSearchOrder | the distributor search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDistributorsBySearch | ||
| Description | 
                     Gets the search results matching the given search query using the given search.  | ||
| Parameters | osid.provisioning.DistributorQuery | distributorQuery | the distributor query | 
osid.provisioning.DistributorSearch | distributorSearch | the distributor search | |
| Return | osid.provisioning.DistributorSearchResults | the distributor search results | |
| Errors | NULL_ARGUMENT |  distributorQuery  or  distributorSearch  is 
 null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  distributorQuery  or  distributorSearch  is not 
of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDistributorQueryFromInspector | ||
| Description | 
                     Gets a distributor query from an inspector. The 
                    inspector is available from a   | ||
| Parameters | osid.provisioning.DistributorQueryInspector | distributorQueryInspector | a distributor query inspector | 
| Return | osid.provisioning.DistributorQuery | the distributor query | |
| Errors | NULL_ARGUMENT |  distributorQueryInspector  is  null   |                 |
| UNSUPPORTED |  distributorQueryInspector  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |