| Interface | osid.installation.DepotNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.installation.InstallationManager | ||
osid.installation.InstallationProxyManager | |||
| 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 | reliableDepotNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using
| ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableDepotNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeDepotNotification | ||
| Description |
Acknowledge a depot 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 | 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 | 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 | registerForChangedDepotHierarchy | ||
| Description |
Registers for notification of an updated depot hierarchy structure. DepotReceiver.changedChildOfDepots() is invoked when the specified node or any of its descendants experiences a change in its children. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedDepotHierarchyForAncestors | ||
| Description |
Registers for notification of an updated depot hierarchy structure. DepotReceiver.changedChildOfDepots() is invoked when the specified node or any of its descendants experiences a change in its children. | ||
| Parameters | osid.id.Id | depotId | the Id of the Depot node 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 | registerForChangedDepotHierarchyForDescendants | ||
| Description |
Registers for notification of an updated depot
hierarchy structure.
| ||
| Parameters | osid.id.Id | depotId | the Id of the Depot node 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. | |