| Interface | osid.provisioning.QueueNotificationSession | ||
|---|---|---|---|
| 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 | getDistributorId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Distributor Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDistributor | ||
| Description | 
                     Gets the   | ||
| Return | osid.provisioning.Distributor | the distributor | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForQueueNotifications | ||
| 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 | useFederatedDistributorView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include queues in distributors which are children of this distributor in the distributor hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedDistributorView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts notifications to this distributor only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | registerForNewQueues | ||
| Description | 
                     Register for notifications of new queues.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewQueuesForBroker | ||
| Description | 
                     Register for notifications of new queues in the given 
                    broker.   | ||
| Parameters | osid.id.Id | brokerId | the  Id  of the broker to monitor  | 
| Errors | NULL_ARGUMENT |  brokerId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedQueues | ||
| Description | 
                     Registers for notification of updated queues.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedQueuesForBroker | ||
| Description | 
                     Registers for notification of updated queues in the 
                    given broker.   | ||
| Parameters | osid.id.Id | brokerId | the  Id  of the broker to monitor  | 
| Errors | NULL_ARGUMENT |  brokerId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedQueue | ||
| Description | 
                     Registers for notification of an updated queue.   | ||
| Parameters | osid.id.Id | queueId | the  Id  of the  Queue  to monitor  | 
| Errors | NULL_ARGUMENT |  queueId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedQueues | ||
| Description | 
                     Registers for notification of deleted queues.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedQueuesForBroker | ||
| Description | 
                     Registers for notification of deleted queues in the 
                    given broker.   | ||
| Parameters | osid.id.Id | brokerId | the  Id  of the broker to monitor  | 
| Errors | NULL_ARGUMENT |  brokerId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedQueue | ||
| Description | 
                     Registers for notification of a deleted queue.   | ||
| Parameters | osid.id.Id | queueId | the  Id  of the  Queue  to monitor  | 
| Errors | NULL_ARGUMENT |  queueId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |