Interface | osid.recipe.DirectionQuerySession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
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 | getCookbookId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Cookbook Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getCookbook | ||
Description |
Gets the | ||
Return | osid.recipe.Cookbook | the cookbook | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canSearchDirections | ||
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 | useFederatedCookbookView | ||
Description |
Federates the view for methods in this session. A federated view will include directions in cook books which are children of this cook book in the cook book hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedCookbookView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this cook book only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getDirectionQuery | ||
Description |
Gets a direction query. | ||
Return | osid.recipe.DirectionQuery | the direction query | |
Compliance | mandatory | This method must be implemented. | |
Method | getDirectionsByQuery | ||
Description |
Gets a list of | ||
Parameters | osid.recipe.DirectionQuery | directionQuery | the direction query |
Return | osid.recipe.DirectionList | the returned DirectionList | |
Errors | NULL_ARGUMENT | directionQuery is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | directionQuery is not of this service | ||
Compliance | mandatory | This method must be implemented. |