| Interface | osid.hierarchy.HierarchyNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session defines methods to receive notifications on 
                adds/changes to   Notifications are triggered with changes to the   | ||
| Method | canRegisterForHierarchyNotifications | ||
| 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 | reliableHierarchyNotifications | ||
| Description | 
                     Reliable notifications are desired. In reliable mode, 
                    notifications are to be acknowledged using   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableHierarchyNotifications | ||
| Description | 
                     Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeHierarchyNotification | ||
| Description | 
                     Acknowledge a hierarchy 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 | registerForNewHierarchies | ||
| Description | 
                     Register for notifications of new hierarchies.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedHierarchies | ||
| Description | 
                     Registers for notification of updated hierarchies. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedHierarchy | ||
| Description | 
                     Registers for notification of an updated hierarchy. 
                      | ||
| Parameters | osid.id.Id | hierarchyId | the  Id  of the  hierarchy  to monitor  | 
| Errors | NULL_ARGUMENT |  hierarchyId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedHierarchies | ||
| Description | 
                     Registers for notification of deleted hierarchies. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedHierarchy | ||
| Description | 
                     Registers for notification of a deleted hierarchy. 
                      | ||
| Parameters | osid.id.Id | hierarchyId | the  Id  of the  Hierarchy  to monitor  | 
| Errors | NULL_ARGUMENT |  hierarchyId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |