| Interface | osid.hold.rules.HoldEnablerNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session defines methods to receive notifications on 
                adds/changes to   The two views defined in this session correspond to the 
                views in the   | ||
| Method | getOublietteId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Oubliette Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOubliette | ||
| Description | 
                     Gets the   | ||
| Return | osid.hold.Oubliette | the oubliette | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForHoldEnablerNotifications | ||
| 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 | useFederatedOublietteView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include hold enablers in oubliettes which are children of this oubliette in the oubliette hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedOublietteView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts lookups to this oubliette only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableHoldEnablerNotifications | ||
| Description | 
                     Reliable notifications are desired. In reliable mode, 
                    notifications are to be acknowledged using   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableHoldEnablerNotifications | ||
| Description | 
                     Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeHoldEnablerNotification | ||
| Description | 
                     Acknowledge a hold enabler 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 | registerForNewHoldEnablers | ||
| Description | 
                     Register for notifications of new hold enablers.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedHoldEnablers | ||
| Description | 
                     Registers for notification of updated hold enablers. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedHoldEnabler | ||
| Description | 
                     Registers for notification of an updated hold enabler. 
                      | ||
| Parameters | osid.id.Id | holdEnablerId | the  Id  of the  HoldEnabler  to monitor  | 
| Errors | NULL_ARGUMENT |  holdEnablerId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedHoldEnablers | ||
| Description | 
                     Registers for notification of deleted hold enablers. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedHoldEnabler | ||
| Description | 
                     Registers for notification of a deleted hold enabler. 
                      | ||
| Parameters | osid.id.Id | holdEnablerId | the  Id  of the  HoldEnabler  to monitor  | 
| Errors | NULL_ARGUMENT |  holdEnablerId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |