Interface | osid.authentication.AgencyNotificationSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session defines methods to receive notifications on
adds/changes to | ||
Method | canRegisterForAgencyNotifications | ||
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 | reliableAgencyNotifications | ||
Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using | ||
Compliance | mandatory | This method is must be implemented. | |
Method | unreliableAgencyNotifications | ||
Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | acknowledgeAgencyNotification | ||
Description |
Acknowledge an agency notification. | ||
Parameters | osid.id.Id | notificationId | the Id of the notification |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForNewAgencies | ||
Description |
Register for notifications of new agencies. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedAgencies | ||
Description |
Registers for notification of updated agencies. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedAgency | ||
Description |
Registers for notification of an updated agency. | ||
Parameters | osid.id.Id | agencyId | the Id of the agency to monitor |
Errors | NULL_ARGUMENT | agencyId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedAgencies | ||
Description |
Registers for notification of deleted agencies. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedAgency | ||
Description |
Registers for notification of a deleted agency. | ||
Parameters | osid.id.Id | agencyId | the Id of the agency to monitor |
Errors | NULL_ARGUMENT | agencyId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedAgencyHierarchy | ||
Description |
Registers for notification of an updated agency
hierarchy structure. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedAgencyHierarchyForAncestors | ||
Description |
Registers for notification of an updated agency
hierarchy structure. | ||
Parameters | osid.id.Id | agencyId | the Id of the Agency node to monitor |
Errors | NULL_ARGUMENT | agencyId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedAgencyHierarchyForDescendants | ||
Description |
Registers for notification of an updated agency
hierarchy structure. | ||
Parameters | osid.id.Id | agencyId | the Id of the Agency node to monitor |
Errors | NULL_ARGUMENT | agencyId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |