public interface LessonSearch extends OsidSearch
The search interface for governing lesson searches.
Modifier and Type | Method and Description |
---|---|
LessonSearchRecord |
getLessonSearchRecord(Type lessonSearchRecordType)
Gets the lesson search record corresponding to the given lesson search
record
Type. |
void |
orderLessonResults(LessonSearchOrder lessonSearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongLessons(IdList lessonIds)
Execute this search among the given list of lessons.
|
limitResultSet
getRecordTypes, hasRecordType
void searchAmongLessons(IdList lessonIds)
lessonIds
- list of lessonsNullArgumentException
- lessonIds
is
null
mandatory
- This method must be implemented. void orderLessonResults(LessonSearchOrder lessonSearchOrder)
lessonSearchOrder
- lesson search orderNullArgumentException
- lessonSearchOrder
is null
UnsupportedException
- lessonSearchOrder
is not of this servicemandatory
- This method must be implemented. LessonSearchRecord getLessonSearchRecord(Type lessonSearchRecordType) throws OperationFailedException
Type.
This method is used to retrieve an object
implementing the requested record.lessonSearchRecordType
- a lesson search record typeNullArgumentException
- lessonSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(lessonSearchRecordType)
is false
mandatory
- This method must be implemented.