| Interface | osid.hold.BlockNotificationSession | ||
|---|---|---|---|
| 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 | canRegisterForBlockNotifications | ||
| 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 blocks 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 notifications to this oubliette only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableBlockNotifications | ||
| Description | 
                     Reliable notifications are desired. In reliable mode, 
                    notifications are to be acknowledged using   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableBlockNotifications | ||
| Description | 
                     Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeBlockNotification | ||
| Description | 
                     Acknowledge a block 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 | registerForNewBlocks | ||
| Description | 
                     Register for notifications of new blocks.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedBlocks | ||
| Description | 
                     Registers for notification of updated blocks.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedBlock | ||
| Description | 
                     Registers for notification of an updated block.   | ||
| Parameters | osid.id.Id | blockId | the  Id  of the  Block  to monitor  | 
| Errors | NOT_FOUND | a block was not found in this oubliette identified by the given  Id 
  |                 |
| NULL_ARGUMENT |  blockId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedBlocks | ||
| Description | 
                     Registers for notification of deleted blocks.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedBlock | ||
| Description | 
                     Registers for notification of a deleted block.   | ||
| Parameters | osid.id.Id | blockId | the  Id  of the  Block  to monitor  | 
| Errors | NOT_FOUND | a block was not found identified by the given  Id   |                 |
| NULL_ARGUMENT |  blockId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |