OSID Logo
OSID Specifications
assessment package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.AssessmentOfferedSearch
Implementsosid.OsidSearch
Description

AssessmentOfferedSearch defines the interface for specifying assessment search options.

MethodsearchAmongAssessmentsOffered
Description

Execute this search among the given list of assessments.

Parametersosid.id.IdListassessmentOffreredIdslist of assessments offered
ErrorsNULL_ARGUMENT assessmentOfferedIds is null
CompliancemandatoryThis method must be implemented.
MethodorderAssessmentOfferedResults
Description

Specify an ordering to the search results.

Parametersosid.assessment.AssessmentOfferedSearchOrderassessmentOfferedSearchOrderassessment offered search order
ErrorsNULL_ARGUMENT assessmentOfferedSearchOrder is null
UNSUPPORTED assessmentOfferedSearchOrder is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentOfferedSearchRecord
Description

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

Parametersosid.type.TypeassessmentOfferedSearchRecordTypean assessment offered search record type
Returnosid.assessment.records.AssessmentOfferedSearchRecordthe assessment offered search
ErrorsNULL_ARGUMENT assessmentOfferedSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(assessmentOfferedSearchRecordType) is false
CompliancemandatoryThis method must be implemented.