OSID Logo
OSID Specifications
ordering package
Version 3.0.0
Release Candidate Preview
Interfaceosid.ordering.ProductSearchResults
Implementsosid.OsidSearchResults
Description

This interface provides a means to capture results of a search.

MethodgetProducts
Description

Gets the product list resulting from a search.

Returnosid.ordering.ProductListthe product list
ErrorsILLEGAL_STATElist has already been retrieved
CompliancemandatoryThis method must be implemented.
MethodgetProductQueryInspector
Description

Gets the inspector for the query to examine the terns used in the search.

Returnosid.ordering.ProductQueryInspectorthe query inspector
CompliancemandatoryThis method must be implemented.
MethodgetProductSearchResultsRecord
Description

Gets the product search results record corresponding to the given product search record Type. This method is used to retrieve an object implementing the requested recor.

Parametersosid.type.TypeproductSearchRecordTypean product search record type
Returnosid.ordering.records.ProductSearchResultsRecordthe product search results record
ErrorsNULL_ARGUMENT ProductSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(productSearchRecordType) is false
CompliancemandatoryThis method must be implemented.