Interface EnrollmentSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing enrollment searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetEnrollmentSearchRecord(Type enrollmentSearchRecordType) Gets the enrollment search record corresponding to the given enrollment search recordType.This method is used to retrieve an object implementing the requested record.voidorderEnrollmentResults(EnrollmentSearchOrder enrollmentSearchOrder) Specify an ordering to the search results.voidsearchAmongEnrollments(IdList enrollmentIds) Execute this search among the given list of enrollments.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
-
searchAmongEnrollments
Execute this search among the given list of enrollments.- Parameters:
enrollmentIds- list of enrollments- Throws:
NullArgumentException-enrollmentIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderEnrollmentResults
Specify an ordering to the search results.- Parameters:
enrollmentSearchOrder- enrollment search order- Throws:
NullArgumentException-enrollmentSearchOrderisnullUnsupportedException-enrollmentSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getEnrollmentSearchRecord
EnrollmentSearchRecord getEnrollmentSearchRecord(Type enrollmentSearchRecordType) throws OperationFailedException Gets the enrollment search record corresponding to the given enrollment search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
enrollmentSearchRecordType- an enrollment search record type- Returns:
- the enrollment search record
- Throws:
NullArgumentException-enrollmentSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(enrollmentSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-