| Interface | osid.configuration.ParameterNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session defines methods to receive notifications on
adds/changes to Two views are defined;
The methods | ||
| Method | getConfigurationId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Configuration Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getConfiguration | ||
| Description |
Gets the | ||
| Return | osid.configuration.Configuration | the Configuration associated with this session | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForParameterNotifications | ||
| 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 | useFederatedConfigurationView | ||
| Description |
Federates the view for methods in this session. A federated view will include parameters in configurations of which this registries is a child in the configuration hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedConfigurationView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts notifications for parameter values to this configuration only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableParameterNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableParameterNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeParameterNotification | ||
| Description |
Acknowledge a parameter 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 | registerForNewParameters | ||
| Description |
Assigns a callback for notifications of new parameters.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedParameters | ||
| Description |
Assigns a callback for notification of updated
parameters. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedParameter | ||
| Description |
Assigns a callback for notifications of an update to a
parameter. | ||
| Parameters | osid.id.Id | parameterId | the Id of the Parameter to monitor |
| Errors | NULL_ARGUMENT | parameterId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedParameters | ||
| Description |
Assigns a callback for notification of deleted
parameters. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedParameter | ||
| Description |
Assigns a callback for notifications of a deleted
parameter. | ||
| Parameters | osid.id.Id | parameterId | the Id of the Parameter to monitor |
| Errors | NULL_ARGUMENT | parameterId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |