OSID Logo
OSID Specifications
recipe package
Version 3.0.0
Release Candidate Preview
Interfaceosid.recipe.Cookbook
Implementsosid.OsidCatalog
Description

An Cookbook represents a collection of awards and procedures. Like all OSID objects, a Cookbook is identified by its Id and any persisted references should use the Id.

MethodgetCookbookRecord
Description

Gets the cook book record corresponding to the given Cookbook record Type. This method is used to retrieve an object implementing the requested record. The cookbookRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(cookbookRecordType) is true .

Parametersosid.type.TypecookbookRecordTypethe type of cook book record to retrieve
Returnosid.recipe.records.CookbookRecordthe cook book record
ErrorsNULL_ARGUMENT cookbookRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(cookbookRecordType) is false
CompliancemandatoryThis method must be implemented.