Interface AssessmentSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
AssessmentSearch defines the interface for specifying
assessment search options.
-
Method Summary
Modifier and TypeMethodDescriptiongetAssessmentSearchRecord(Type assessmentSearchRecordType) Gets the assessment search record corresponding to the given assessment search recordType.This method is used to retrieve an object implementing the requested record.voidorderAssessmentResults(AssessmentSearchOrder assessmentSearchOrder) Specify an ordering to the search results.voidsearchAmongAssessments(IdList assessmentIds) Execute this search among the given list of assessments.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongAssessments
Execute this search among the given list of assessments.- Parameters:
assessmentIds- list of assessments- Throws:
NullArgumentException-assessmentIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderAssessmentResults
Specify an ordering to the search results.- Parameters:
assessmentSearchOrder- assessment search order- Throws:
NullArgumentException-assessmentSearchOrderisnullUnsupportedException-assessmentSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getAssessmentSearchRecord
AssessmentSearchRecord getAssessmentSearchRecord(Type assessmentSearchRecordType) throws OperationFailedException Gets the assessment search record corresponding to the given assessment search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
assessmentSearchRecordType- an assessment search record type- Returns:
- the assessment search record
- Throws:
NullArgumentException-assessmentSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(assessmentSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-