| Interface | osid.installation.DepotNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session defines methods to receive notifications on 
                adds/changes to   | ||
| Method | canRegisterForDepotNotifications | ||
| 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 | registerForNewDepots | ||
| Description | 
                     Register for notifications of new depots.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewDepotAncestors | ||
| Description | 
                     Registers for notification if an ancestor is added to 
                    the specified depot in the depot hierarchy.   | ||
| Parameters | osid.id.Id | depotId | the  Id  of the depot to monitor  | 
| Errors | NULL_ARGUMENT |  depotId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewDepotDescendants | ||
| Description | 
                     Registers for notification if a descendant is added to 
                    the specified depot in the depot hierarchy.   | ||
| Parameters | osid.id.Id | depotId | the  Id  of the depot to monitor  | 
| Errors | NULL_ARGUMENT |  depotId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedDepots | ||
| Description | 
                     Registers for notification of updated depots.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedDepot | ||
| Description | 
                     Registers for notification of an updated depot.   | ||
| Parameters | osid.id.Id | depotId | the  Id  of the depot to monitor  | 
| Errors | NULL_ARGUMENT |  depotId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedDepots | ||
| Description | 
                     Registers for notification of deleted depots.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedDepot | ||
| Description | 
                     Registers for notification of a deleted depot.   | ||
| Parameters | osid.id.Id | depotId | the  Id  of the depot to monitor  | 
| Errors | NULL_ARGUMENT |  depotId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedDepotAncestors | ||
| Description | 
                     Registers for notification if an ancestor is removed 
                    from the specified depot in the depot hierarchy.   | ||
| Parameters | osid.id.Id | depotId | the  Id  of the depot to monitor  | 
| Errors | NULL_ARGUMENT |  depotId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedDepotDescendants | ||
| Description | 
                     Registers for notification if a descendant is removed 
                    from fthe specified depot in the depot hierarchy.   | ||
| Parameters | osid.id.Id | depotId | the  Id  of the depot to monitor  | 
| Errors | NULL_ARGUMENT |  depotId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |