| Interface | osid.resource.ResourceSearchSession | ||
|---|---|---|---|
| Implements | osid.resource.ResourceQuerySession | ||
| Description | 
                 This session provides methods for searching among    This session defines views that offer differing behaviors for searching. 
  Resources may have a resource query record indicated by 
                their respective record types. The resource query record is 
                accessed via the   | ||
| Method | getResourceSearch | ||
| Description | 
                     Gets a resource search.  | ||
| Return | osid.resource.ResourceSearch | the resource search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getResourceSearchOrder | ||
| Description | 
                     Gets a resource search order. The   | ||
| Return | osid.resource.ResourceSearchOrder | the resource search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getResourcesBySearch | ||
| Description | 
                     Gets the search results matching the given search query using the given search.  | ||
| Parameters | osid.resource.ResourceQuery | resourceQuery | the resource query | 
osid.resource.ResourceSearch | resourceSearch | the resource search | |
| Return | osid.resource.ResourceSearchResults | the resource search results | |
| Errors | NULL_ARGUMENT |  resourceQuery  or  resourceSearch  is  
null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  resourceQuery  or  resourceSearch  is not of 
this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getResourceQueryFromInspector | ||
| Description | 
                     Gets a resource query from an inspector. The inspector 
                    is available from a   | ||
| Parameters | osid.resource.ResourceQueryInspector | resourceQueryInspector | a resource query inspector | 
| Return | osid.resource.ResourceQuery | the resource query | |
| Errors | NULL_ARGUMENT |  resourceQueryInspector  is  null   |                 |
| UNSUPPORTED |  resourceQueryInspector  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |