Interface AppointmentSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing appointment searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetAppointmentSearchRecord(Type appointmentSearchRecordType) Gets the record corresponding to the given appointment search recordType.voidorderAppointmentResults(AppointmentSearchOrder appointmentSearchOrder) Specify an ordering to the search results.voidsearchAmongAppointments(IdList appointmentIds) Execute this search among the given list of appointments.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
-
searchAmongAppointments
Execute this search among the given list of appointments.- Parameters:
appointmentIds- list of appointments- Throws:
NullArgumentException-appointmentIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderAppointmentResults
Specify an ordering to the search results.- Parameters:
appointmentSearchOrder- appointment search order- Throws:
NullArgumentException-appointmentSearchOrderisnullUnsupportedException-appointmentSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getAppointmentSearchRecord
AppointmentSearchRecord getAppointmentSearchRecord(Type appointmentSearchRecordType) throws OperationFailedException Gets the record corresponding to the given appointment search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
appointmentSearchRecordType- an appointment search record type- Returns:
- the appointment search record
- Throws:
NullArgumentException-appointmentSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(appointmentSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-