Interface CourseEntrySearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing course entry searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetCourseEntrySearchRecord(Type courseEntrySearchRecordType) Gets the course entry search record corresponding to the given course entry search recordType.This method is used to retrieve an object implementing the requested record.voidorderCourseEntryResults(CourseEntrySearchOrder courseEntrySearchOrder) Specify an ordering to the search results.voidsearchAmongCourseEntries(IdList courseEntryIds) Execute this search among the given list of course entries.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
-
searchAmongCourseEntries
Execute this search among the given list of course entries.- Parameters:
courseEntryIds- list of course entryIds- Throws:
NullArgumentException-courseEntryIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderCourseEntryResults
Specify an ordering to the search results.- Parameters:
courseEntrySearchOrder- course entry search order- Throws:
NullArgumentException-courseEntrySearchOrderisnullUnsupportedException-courseEntrySearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getCourseEntrySearchRecord
CourseEntrySearchRecord getCourseEntrySearchRecord(Type courseEntrySearchRecordType) throws OperationFailedException Gets the course entry search record corresponding to the given course entry search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
courseEntrySearchRecordType- a course entry search record type- Returns:
- the course entry search record
- Throws:
NullArgumentException-courseEntrySearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(courseEntrySearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-