| Interface | osid.recipe.ProcedureCookbookSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods to retrieve  This lookup session defines several views: 
  | ||
| Method | canLookupProcedureCookbookMappings | ||
| Description | 
                     Tests if this user can perform lookups of 
                    procedure/cook book mappings. A return of true does not 
                    guarantee successful authorization. A return of false 
                    indicates that it is known lookup methods in this session 
                    will result in a   | ||
| Return | boolean |  false  if looking up mappings is 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 | getProcedureIdsByCookbook | ||
| Description | 
                     Gets the list of Procedure Ids associated with an 
                      | ||
| Parameters | osid.id.Id | cookbookId |  Id  of an  Cookbook.   | 
| Return | osid.id.IdList | list of related procedure  Ids   | |
| Errors | NOT_FOUND |  cookbookId  is not found  |                 |
| NULL_ARGUMENT |  cookbookId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProceduresByCookbook | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | cookbookId |  Id  of an  Cookbook   | 
| Return | osid.recipe.ProcedureList | list of related procedures | |
| Errors | NOT_FOUND |  cookbookId  is not found  |                 |
| NULL_ARGUMENT |  cookbookId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProcedureIdsByCookbooks | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.IdList | cookbookIds | list of cook book  Ids   | 
| Return | osid.id.IdList | list of procedure  Ids   | |
| Errors | NULL_ARGUMENT |  cookbookIds  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProceduresByCookbooks | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.IdList | cookbookIds | list of cook book  Ids   | 
| Return | osid.recipe.ProcedureList | list of procedures | |
| Errors | NULL_ARGUMENT |  cookbookIds  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCookbookIdsByProcedure | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | procedureId |  Id  of a  Procedure   | 
| Return | osid.id.IdList | list of cook book  Ids   | |
| Errors | NOT_FOUND |  procedureId  is not found  |                 |
| NULL_ARGUMENT |  procedureId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCookbooksByProcedure | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | procedureId |  Id  of a  Procedure   | 
| Return | osid.recipe.CookbookList | list of cook books | |
| Errors | NOT_FOUND |  procedureId  is not found  |                 |
| NULL_ARGUMENT |  procedureId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |