public interface CourseSearchResults extends OsidSearchResults
This interface provides a means to capture results of a search.
| Modifier and Type | Method and Description |
|---|---|
CourseQueryInspector |
getCourseQueryInspector()
Gets the inspector for the query to examine the terms used in the
search.
|
CourseList |
getCourses()
Gets the course list resulting from a search.
|
CourseSearchResultsRecord |
getCourseSearchResultsRecord(Type courseSearchRecordType)
Gets the course search results record corresponding to the given
course search record
Type. |
getResultSizegetRecordTypes, hasRecordTypegetProperties, getPropertiesByRecordTypeCourseList getCourses()
IllegalStateException - the course list has already
been retrievedmandatory - This method must be implemented. CourseQueryInspector getCourseQueryInspector()
mandatory - This method must be implemented. CourseSearchResultsRecord getCourseSearchResultsRecord(Type courseSearchRecordType) throws OperationFailedException
Type. This method is used to
retrieve an object implementing the requested record.courseSearchRecordType - a course search record typeNullArgumentException - courseSearchRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(courseSearchRecordType) is false
mandatory - This method must be implemented.