OSID Logo
OSID Specifications
recipe package
Version 3.0.0
Release Candidate Preview
Interfaceosid.recipe.CookbookSearch
Implementsosid.OsidSearch
Description

The search interface for governing cook book searches.

MethodsearchAmongCookbooks
Description

Execute this search among the given list of cook books.

Parametersosid.id.IdListcookbookIdslist of cook books
ErrorsNULL_ARGUMENT cookbookIds is null
CompliancemandatoryThis method must be implemented.
MethodorderCookbookResults
Description

Specify an ordering to the search results.

Parametersosid.recipe.CookbookSearchOrdercookbooksearchOrdercook book search order
ErrorsNULL_ARGUMENT cookbooksearchOrder is null
UNSUPPORTED cookbooksearchOrder is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetCookbookSearchRecord
Description

Gets the cook book search record corresponding to the given cook book search record Type. This method is used to retrieve an object implementing the requested record interface.

Parametersosid.type.TypecookbookSearchRecordTypea cook book search record type
Returnosid.recipe.records.CookbookSearchRecordthe cook book search record
ErrorsNULL_ARGUMENT cookbooksearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(cookbooksearchRecordType) is false
CompliancemandatoryThis method must be implemented.