| Interface | osid.dictionary.EntryNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session defines methods to receive notifications on 
                adds/changes to   | ||
| Method | getDictionaryId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Dictionary   Id  associated with this 
session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDictionary | ||
| Description | 
                     Gets the   | ||
| Return | osid.dictionary.Dictionary | the  Dictionary  associated with this session  | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForEntryNotifications | ||
| 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 | useFederatedDictionaryView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include entries from parent dictionaries in the dictionary hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedDictionaryView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts notifications for entries to this dictionary only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableEntryNotifications | ||
| Description | 
                     Reliable notifications are desired. In reliable mode, 
                    notifications are to be acknowledged using   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableEntryNotifications | ||
| Description | 
                     Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeEntryNotification | ||
| Description | 
                     Acknowledge an entry 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 | registerForNewEntries | ||
| Description | 
                     Registers for notifications of new entries.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewEntriesByKeyTypeAndValueType | ||
| Description | 
                     Registers for notifications of new entries by key and 
                    value types.   | ||
| Parameters | osid.type.Type | keyType | the entry key type | 
osid.type.Type | valueType | the entry key type | |
| Errors | NULL_ARGUMENT |  keyType  or  valueType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedEntries | ||
| Description | 
                     Regsiters for notification of updated entries.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedEntriesByKeyTypeAndValueType | ||
| Description | 
                     Registers for notifications of an update to entries by 
                    key and value type   | ||
| Parameters | osid.type.Type | keyType | the entry key type | 
osid.type.Type | valueType | the entry key type | |
| Errors | NULL_ARGUMENT |  keyType  or  valueType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedEntry | ||
| Description | 
                     Registers for notifications of an update to an   | ||
| Parameters | osid.id.Id | entryId | the entry  Id   | 
| Errors | NULL_ARGUMENT |  entryId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedEntries | ||
| Description | 
                     Registers for notification of deleted dictionaries. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedEntriesByKeyTypeAndValueType | ||
| Description | 
                     Registers for notifications of a deleted entries by key 
                    and value type.   | ||
| Parameters | osid.type.Type | keyType | the entry key type | 
osid.type.Type | valueTYpe | the entry key type | |
| Errors | NULL_ARGUMENT |  keyType or valueType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedEntry | ||
| Description | 
                     Registers for notifications of a deleted   | ||
| Parameters | osid.id.Id | entryId | the entry  Id   | 
| Errors | NULL_ARGUMENT |  entryId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |