Interface LessonSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing lesson searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetLessonSearchRecord(Type lessonSearchRecordType) Gets the lesson search record corresponding to the given lesson search recordType.voidorderLessonResults(LessonSearchOrder lessonSearchOrder) Specify an ordering to the search results.voidsearchAmongLessons(IdList lessonIds) Execute this search among the given list of lessons.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
-
searchAmongLessons
Execute this search among the given list of lessons.- Parameters:
lessonIds- list of lessons- Throws:
NullArgumentException-lessonIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderLessonResults
Specify an ordering to the search results.- Parameters:
lessonSearchOrder- lesson search order- Throws:
NullArgumentException-lessonSearchOrderisnullUnsupportedException-lessonSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getLessonSearchRecord
LessonSearchRecord getLessonSearchRecord(Type lessonSearchRecordType) throws OperationFailedException Gets the lesson search record corresponding to the given lesson search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
lessonSearchRecordType- a lesson search record type- Returns:
- the lesson search record
- Throws:
NullArgumentException-lessonSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(lessonSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-