| Interface | osid.recipe.DirectionSearchSession | ||
|---|---|---|---|
| Implements | osid.recipe.DirectionQuerySession | ||
| Description | 
                 This session provides methods for searching among    This session defines views that offer differing behaviors for searching. 
  Directions may have a query record indicated by their 
                respective record types. The query record is accessed via the 
                  | ||
| Method | getDirectionSearch | ||
| Description | 
                     Gets a direction search.  | ||
| Return | osid.recipe.DirectionSearch | the direction search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDirectionSearchOrder | ||
| Description | 
                     Gets a direction search order. The   | ||
| Return | osid.recipe.DirectionSearchOrder | the direction search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDirectionsBySearch | ||
| Description | 
                     Gets the search results matching the given search query using the given search.  | ||
| Parameters | osid.recipe.DirectionQuery | directionQuery | the direction query | 
osid.recipe.DirectionSearch | directionSearch | the direction search | |
| Return | osid.recipe.DirectionSearchResults | the direction search results | |
| Errors | NULL_ARGUMENT |  directionQuery  or  directionSearch  is  
null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  directionQuery  or  directionSearch  is not of 
this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDirectionQueryFromInspector | ||
| Description | 
                     Gets a direction query. from an inspector. The 
                    inspector is available from a   | ||
| Parameters | osid.recipe.DirectionQueryInspector | directionQueryInspector | a direction query inspector | 
| Return | osid.recipe.DirectionQuery | the direction query | |
| Errors | NULL_ARGUMENT |  directionQueryInspector  is  null   |                 |
| UNSUPPORTED |  directionQueryInspector  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |