Interface GradeSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing grade searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetGradeSearchRecord(Type gradeSearchRecordType) Gets the grade search record corresponding to the given grade search recordType.voidorderGradeResults(GradeSearchOrder gradeSearchOrder) Specify an ordering to the search results.voidsearchAmongGrades(IdList gradeIds) Execute this search among the given list of grades.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
-
searchAmongGrades
Execute this search among the given list of grades.- Parameters:
gradeIds- list of grades- Throws:
NullArgumentException-gradeIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderGradeResults
Specify an ordering to the search results.- Parameters:
gradeSearchOrder- grade search order- Throws:
NullArgumentException-gradeSearchOrderisnullUnsupportedException-gradeSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getGradeSearchRecord
Gets the grade search record corresponding to the given grade search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
gradeSearchRecordType- a grade search record type- Returns:
- the grade search record
- Throws:
NullArgumentException-gradeSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(gradeSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-