Interface | osid.recipe.CookbookLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
| ||
Method | canLookupCookbooks | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if lookup methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeCookbookView | ||
Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | usePlenaryCookbookView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getCookbook | ||
Description |
Gets the | ||
Parameters | osid.id.Id | jouralId | Id of the Cookbook |
Return | osid.recipe.Cookbook | the cookbook | |
Errors | NOT_FOUND | cookbookId not found | |
NULL_ARGUMENT | cookbookId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getCookbooksByIds | ||
Description |
Gets an | ||
Parameters | osid.id.IdList | cookbookIds | the list of Ids to retrieve |
Return | osid.recipe.CookbookList | the returned Cookbook list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | cookbookIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCookbooksByGenusType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | cookbookGenusType | a cook book genus type |
Return | osid.recipe.CookbookList | the returned Cookbook list | |
Errors | NULL_ARGUMENT | cookbookGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCookbooksByParentGenusType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | cookbookGenusType | a cook book genus type |
Return | osid.recipe.CookbookList | the returned Cookbook list | |
Errors | NULL_ARGUMENT | cookbookGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCookbooksByRecordType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | cookbookRecordType | a cook book record type |
Return | osid.recipe.CookbookList | the returned Cookbook list | |
Errors | NULL_ARGUMENT | cookbookRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCookbooksByProvider | ||
Description |
Gets an | ||
Parameters | osid.id.Id | resourceId | a resource Id |
Return | osid.recipe.CookbookList | the returned Cookbook list | |
Errors | NULL_ARGUMENT | resourceId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCookbooks | ||
Description |
Gets all | ||
Return | osid.recipe.CookbookList | a list of Cookbooks | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |