| Interface | osid.personnel.PersonNotificationSession | ||
|---|---|---|---|
| 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 | canRegisterForPersonNotifications | ||
| 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 persons 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 | registerForNewPersons | ||
| Description |
Register for notifications of new persons. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedPersons | ||
| Description |
Registers for notification of updated persons. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedPerson | ||
| Description |
Registers for notification of an updated person. | ||
| Parameters | osid.id.Id | personId | the Id of the Person to monitor |
| Errors | NOT_FOUND | a person was not found identified by the given Id | |
| NULL_ARGUMENT | personId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedPersons | ||
| Description |
Registers for notification of deleted persons. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedPerson | ||
| Description |
Registers for notification of a deleted person. | ||
| Parameters | osid.id.Id | personId | the Id of the Person to monitor |
| Errors | NOT_FOUND | a person was not found identified by the given Id | |
| NULL_ARGUMENT | personId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |