OSID Logo
OSID Specifications
assessment package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.ItemSearchResults
Implementsosid.OsidSearchResults
Description

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

MethodgetItems
Description

Gets the item list resulting from the search.

Returnosid.assessment.ItemListthe item list
ErrorsILLEGAL_STATEthe item list has already been retrieved
CompliancemandatoryThis method must be implemented.
MethodgetItemQueryInspector
Description

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

Returnosid.assessment.ItemQueryInspectorthe query inspector
CompliancemandatoryThis method must be implemented.
MethodgetItemSearchResultsRecord
Description

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

Parametersosid.type.TypeitemSearchRecordTypean item search record type
Returnosid.assessment.records.ItemSearchResultsRecordthe item search results record
ErrorsNULL_ARGUMENT itemSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(itemSearchRecordType) is false
CompliancemandatoryThis method must be implemented.