| Interface | osid.provisioning.DistributorNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session defines methods to receive notifications on 
                adds/changes to   | ||
| Method | canRegisterForDistributorNotifications | ||
| 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 | registerForNewDistributors | ||
| Description | 
                     Register for notifications of new distributors.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewDistributorAncestors | ||
| Description | 
                     Registers for notification if an ancestor is added to 
                    the specified distributor in the distributor hierarchy. 
                      | ||
| Parameters | osid.id.Id | distributorId | the  Id  of the distributor to monitor  | 
| Errors | NULL_ARGUMENT |  distributorId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewDistributorDescendants | ||
| Description | 
                     Registers for notification if a descendant is added to 
                    the specified distributor in the distributor hierarchy. 
                      | ||
| Parameters | osid.id.Id | distributorId | the  Id  of the distributor to monitor  | 
| Errors | NULL_ARGUMENT |  distributorId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedDistributors | ||
| Description | 
                     Registers for notification of updated distributors. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedDistributor | ||
| Description | 
                     Registers for notification of an updated distributor. 
                      | ||
| Parameters | osid.id.Id | distributorId | the Id of the  Distributor  to monitor  | 
| Errors | NULL_ARGUMENT |  distributorId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedDistributors | ||
| Description | 
                     Registers for notification of deleted distributors. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedDistributor | ||
| Description | 
                     Registers for notification of a deleted distributor. 
                      | ||
| Parameters | osid.id.Id | distributorId | the  Id  of the  Distributor  to monitor  | 
| Errors | NULL_ARGUMENT |  distributorId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedDistributorAncestors | ||
| Description | 
                     Registers for notification if an ancestor is removed 
                    from the specified distributor in the distributor 
                    hierarchy.   | ||
| Parameters | osid.id.Id | distributorId | the  Id  of the distributor to monitor  | 
| Errors | NULL_ARGUMENT |  distributorId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedDistributorDescendants | ||
| Description | 
                     Registers for notification if a descendant is removed 
                    from fthe specified distributor in the distributor 
                    hierarchy.   | ||
| Parameters | osid.id.Id | distributorId | the  Id  of the distributor to monitor  | 
| Errors | NULL_ARGUMENT |  distributorId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |