OSID Logo
OSID Specifications
recipe package
Version 3.0.0
Release Candidate Preview
Interfaceosid.recipe.RecipeSearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidSourceableSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByTotalEstimatedDuration
Description

Orders the results by total estimated duration.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodgetRecipeSearchOrderRecord
Description

Gets the recipe search order record corresponding to the given recipe record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TyperecipeRecordTypea recipe record type
Returnosid.recipe.records.RecipeSearchOrderRecordthe recipe search order record
ErrorsNULL_ARGUMENT recipeRecordType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED hasRecordType(recipeRecordType) is false
CompliancemandatoryThis method must be implemented.