| Interface | osid.contact.rules.ContactEnablerNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| 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 | getAddressBookId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  AddressBook Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAddressBook | ||
| Description | 
                     Gets the   | ||
| Return | osid.contact.AddressBook | the address book | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForContactEnablerNotifications | ||
| 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 | useFederatedAddressBookView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include enablers in address books which are children of this address book in the address book hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedAddressBookView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts notifications to this address book only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableContactEnablerNotifications | ||
| Description | 
                     Reliable notifications are desired. In reliable mode, 
                    notifications are to be acknowledged using   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableContactEnablerNotifications | ||
| Description | 
                     Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeContactEnablerNotification | ||
| Description | 
                     Acknowledge a contact enabler 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 | registerForNewContactEnablers | ||
| Description | 
                     Register for notifications of new contact enablers. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedContactEnablers | ||
| Description | 
                     Registers for notification of updated contact enablers. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedContactEnabler | ||
| Description | 
                     Registers for notification of an updated contact 
                    enabler.   | ||
| Parameters | osid.id.Id | contactEnablerId | the  Id  of the  ContactEnabler  to monitor  | 
| Errors | NULL_ARGUMENT |  contactEnablerId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedContactEnablers | ||
| Description | 
                     Registers for notification of deleted contact enablers. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedContactEnabler | ||
| Description | 
                     Registers for notification of a deleted contact 
                    enabler.   | ||
| Parameters | osid.id.Id | contactEnablerId | the  Id  of the  ContactEnabler  to monitor  | 
| Errors | NULL_ARGUMENT |  contactEnablerId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |