public interface EnrollmentSearch extends OsidSearch
The search interface for governing enrollment searches.
Modifier and Type | Method and Description |
---|---|
EnrollmentSearchRecord |
getEnrollmentSearchRecord(Type enrollmentSearchRecordType)
Gets the enrollment search record corresponding to the given
enrollment search record
Type. |
void |
orderEnrollmentResults(EnrollmentSearchOrder enrollmentSearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongEnrollments(IdList enrollmentIds)
Execute this search among the given list of enrollments.
|
limitResultSet
getRecordTypes, hasRecordType
void searchAmongEnrollments(IdList enrollmentIds)
enrollmentIds
- list of enrollmentsNullArgumentException
- enrollmentIds
is
null
mandatory
- This method must be implemented. void orderEnrollmentResults(EnrollmentSearchOrder enrollmentSearchOrder)
enrollmentSearchOrder
- enrollment search orderNullArgumentException
- enrollmentSearchOrder
is null
UnsupportedException
- enrollmentSearchOrder
is not of this servicemandatory
- This method must be implemented. EnrollmentSearchRecord getEnrollmentSearchRecord(Type enrollmentSearchRecordType) throws OperationFailedException
Type.
This method is used to
retrieve an object implementing the requested record.enrollmentSearchRecordType
- an enrollment search record typeNullArgumentException
-
enrollmentSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(enrollmentSearchRecordType)
is
false
mandatory
- This method must be implemented.