| Interface | osid.personnel.AppointmentQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session provides methods for querying This session defines views that offer differing behaviors for searching.
Appointments may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
| Method | getRealmId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Realm Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRealm | ||
| Description |
Gets the | ||
| Return | osid.personnel.Realm | the realm | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canSearchAppointments | ||
| Description |
Tests if this user can perform | ||
| Return | boolean | false if search methods are not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useFederatedRealmView | ||
| Description |
Federates the view for methods in this session. A federated view will include appointments in realms which are children of this realm in the realm hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedRealmView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts searches to this realm only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getAppointmentQuery | ||
| Description |
Gets an appointment query. | ||
| Return | osid.personnel.AppointmentQuery | the appointment query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAppointmentsByQuery | ||
| Description |
Gets a list of appointments matching the given appointment query. | ||
| Parameters | osid.personnel.AppointmentQuery | appointmentQuery | the appointment query |
| Return | osid.personnel.AppointmentList | the returned AppointmentList | |
| Errors | NULL_ARGUMENT | appointmentQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | appointmentQuery is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |