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

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

MethodgetAssessments
Description

Gets the assessment list resulting from the search.

Returnosid.assessment.AssessmentListthe assessment list
ErrorsILLEGAL_STATEthe assessment list has already been retrieved
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentQueryInspector
Description

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

Returnosid.assessment.AssessmentQueryInspectorthe query inspector
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentSearchResultsRecord
Description

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

Parametersosid.type.TypeassessmentSearchRecordTypean assessment search record type
Returnosid.assessment.records.AssessmentSearchResultsRecordthe assessment search results record
ErrorsNULL_ARGUMENT assessmentSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(assessmentSearchRecordType) is false
CompliancemandatoryThis method must be implemented.