Interface CourseOfferingSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing course offering searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetCourseOfferingSearchRecord(Type courseOfferingSearchRecordType) Gets the course offering search record corresponding to the given course offering search recordType.This method is used to retrieve an object implementing the requested record.voidorderCourseOfferingResults(CourseOfferingSearchOrder courseOfferingSearchOrder) Specify an ordering to the search results.voidsearchAmongCourseOfferings(IdList courseOfferingIds) Execute this search among the given list of course offerings.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
-
searchAmongCourseOfferings
Execute this search among the given list of course offerings.- Parameters:
courseOfferingIds- list of courses- Throws:
NullArgumentException-courseOfferingIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderCourseOfferingResults
Specify an ordering to the search results.- Parameters:
courseOfferingSearchOrder- course search order- Throws:
NullArgumentException-courseOfferingSearchOrderisnullUnsupportedException-courseOfferingSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getCourseOfferingSearchRecord
CourseOfferingSearchRecord getCourseOfferingSearchRecord(Type courseOfferingSearchRecordType) throws OperationFailedException Gets the course offering search record corresponding to the given course offering search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
courseOfferingSearchRecordType- a course search record type- Returns:
- the course offering search record
- Throws:
NullArgumentException-courseOfferingSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(courseOfferingSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-