Interface | osid.personnel.AppointmentNotificationSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session defines methods to receive notifications on
adds/changes to | ||
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 | canRegisterForAppointmentNotifications | ||
Description |
Tests if this user can register for | ||
Return | boolean | false if notification 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 notifications for appointmentss 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 notifications to this realm only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | registerForNewAppointments | ||
Description |
Register for notifications of new appointments. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForNewAppointmentsForPerson | ||
Description |
Register for notifications of new appointments for the
given person | ||
Parameters | osid.id.Id | personId | the person to monitor |
Errors | NULL_ARGUMENT | personId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForNewAppointmentsForPosition | ||
Description |
Register for notifications of new appointments for the
given position | ||
Parameters | osid.id.Id | positionId | the Id of the position to monitor |
Errors | NULL_ARGUMENT | positionId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedAppointments | ||
Description |
Registers for notification of updated appointments.
| ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedAppointmentsForPerson | ||
Description |
Register for notifications of changed appointments for
the given person | ||
Parameters | osid.id.Id | personId | the Id of the person to monitor |
Errors | NULL_ARGUMENT | personId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedAppointmentsForPosition | ||
Description |
Register for notifications of changed appointments for
the given position | ||
Parameters | osid.id.Id | positionId | the Id of the position to monitor |
Errors | NULL_ARGUMENT | positionId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedAppointment | ||
Description |
Registers for notification of an updated appointment.
| ||
Parameters | osid.id.Id | appointmentId | the Id of the Appointment to monitor |
Errors | NOT_FOUND | an appointment was not found identified by the given Id | |
NULL_ARGUMENT | appointmentId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedAppointments | ||
Description |
Registers for notification of deleted appointments.
| ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedAppointmentsForPerson | ||
Description |
Register for notifications of deleted appointments for
the given person | ||
Parameters | osid.id.Id | personId | the Id of the person to monitor |
Errors | NULL_ARGUMENT | personId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedAppointmentsForPosition | ||
Description |
Register for notifications of deleted appointments for
the given position | ||
Parameters | osid.id.Id | positionId | the Id of the position to monitor |
Errors | NULL_ARGUMENT | positionId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedAppointment | ||
Description |
Registers for notification of a deleted appointment.
| ||
Parameters | osid.id.Id | appointmentId | the Id of the Appointment to monitor |
Errors | NOT_FOUND | an appointment was not found identified by the given Id | |
NULL_ARGUMENT | appointmentId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |