| Interface | osid.installation.InstallationPackageNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.installation.InstallationManager | ||
osid.installation.InstallationProxyManager | |||
| Description |
This session defines methods to receive asynchronous
notifications on adds/changes to
The views defined in this session correspond to the views
in the | ||
| Method | getDepotId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Depot Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDepot | ||
| Description |
Gets the | ||
| Return | osid.installation.Depot | the Depot associated with this session | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForInstallationPackageNotifications | ||
| 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 | useFederatedDepotView | ||
| Description |
Federates the view for methods in this session. A federated view will include notifications for packages in depots which are children of this depot in the depot hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedDepotView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts notifications to this depot only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableInstallationPackageNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using
| ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableInstallationPackageNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeInstallationPackageNotification | ||
| Description |
Acknowledge a package 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 | registerForNewInstallationPackages | ||
| Description |
Register for notifications of new packages.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedInstallationPackages | ||
| Description |
Registers for notification of updated packages.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedInstallationPackage | ||
| Description |
Registers for notification of an updated package.
| ||
| Parameters | osid.id.Id | installationPackageId | the Id of the InstallationPackage to monitor |
| Errors | NULL_ARGUMENT | installationPackageId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedInstallationPackages | ||
| Description |
Registers for notification of deleted packages.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedInstallationPackage | ||
| Description |
Registers for notification of a deleted package.
| ||
| Parameters | osid.id.Id | installationPackageId | the Id of the InstallationPackage to monitor |
| Errors | NULL_ARGUMENT | installationPackageId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |