| Interface | osid.lexicon.IdiomNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.lexicon.LexiconManager | ||
osid.lexicon.LexiconProxyManager | |||
| Description |
This session defines methods to receive notifications on
adds/changes to The two views defined in this session correspond to the
views in the | ||
| Method | getPressId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Press Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPress | ||
| Description |
Gets the | ||
| Return | osid.lexicon.Press | the press | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForIdiomNotifications | ||
| 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 | useFederatedPressView | ||
| Description |
Federates the view for methods in this session. A federated view will include idioms in presses which are children of this press in the press hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedPressView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts notifications to this press only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableIdionNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using
| ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableIdiomNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeIdiomNotification | ||
| Description |
Acknowledge an idiom 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 | registerForNewIdioms | ||
| Description |
Register for notifications of new idioms.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewIdiomsForText | ||
| Description |
Register for notifications of new idioms for the given
text | ||
| Parameters | osid.id.Id | textId | the Id of the text to monitor |
| Errors | NULL_ARGUMENT | textId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedIdioms | ||
| Description |
Registers for notification of updated idioms.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedIdiomsForText | ||
| Description |
Register for notifications of updated idioms for the
given text | ||
| Parameters | osid.id.Id | textId | the Id of the text to monitor |
| Errors | NULL_ARGUMENT | textId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedIdiom | ||
| Description |
Registers for notification of an updated idiom.
| ||
| Parameters | osid.id.Id | idiomId | the Id of the Idiom to monitor |
| Errors | NULL_ARGUMENT | idiomId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedIdioms | ||
| Description |
Registers for notification of deleted idioms.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedIdiomsForText | ||
| Description |
Register for notifications of deleted idioms for the
given text | ||
| Parameters | osid.id.Id | textId | the Id of the text to monitor |
| Errors | NULL_ARGUMENT | textId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedIdiom | ||
| Description |
Registers for notification of a deleted idiom.
| ||
| Parameters | osid.id.Id | idiomId | the Id of the Idiom to monitor |
| Errors | NULL_ARGUMENT | idiomId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |