| Interface | osid.lexicon.PressNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.lexicon.LexiconManager | ||
osid.lexicon.LexiconProxyManager | |||
| Description |
This session defines methods to receive notifications on
adds/changes to | ||
| Method | canRegisterForPressNotifications | ||
| 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 | reliablePressNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using
| ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliablePressNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgePressNotification | ||
| Description |
Acknowledge a press 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 is must be implemented. | |
| Method | registerForNewPresses | ||
| Description |
Register for notifications of new presses.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedPresses | ||
| Description |
Registers for notification of updated presses.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedPress | ||
| Description |
Registers for notification of an updated press.
| ||
| Parameters | osid.id.Id | pressId | the Id of the Press to monitor |
| Errors | NULL_ARGUMENT | pressId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedPresses | ||
| Description |
Registers for notification of deleted presses.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedPress | ||
| Description |
Registers for notification of a deleted press.
| ||
| Parameters | osid.id.Id | pressId | the Id of the Press to monitor |
| Errors | NULL_ARGUMENT | pressId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedPressHierarchy | ||
| Description |
Registers for notification of an updated press
hierarchy structure.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedPressHierarchyForAncestors | ||
| Description |
Registers for notification of an updated press
hierarchy structure.
| ||
| Parameters | osid.id.Id | pressId | the Id of the Press node to monitor |
| Errors | NULL_ARGUMENT | pressId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedPressHierarchyForDescendants | ||
| Description |
Registers for notification of an updated press hierarchy structure. PressReceiver.changedChildOfPresses() is invoked when the specified node or any of its descendants experiences a change in its children. | ||
| Parameters | osid.id.Id | pressId | the Id of the Press node to monitor |
| Errors | NULL_ARGUMENT | pressId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |