| Interface | osid.relationship.rules.RelationshipEnablerNotificationSession | ||
|---|---|---|---|
| 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 | getFamilyId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Family Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getFamily | ||
| Description |
Gets the | ||
| Return | osid.relationship.Family | the family | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForRelationshipEnablerNotifications | ||
| 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 | useFederatedFamilyView | ||
| Description |
Federates the view for methods in this session. A federated view will include relationship enablers in families which are children of this family in the family hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedFamilyView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this family only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableRelationshipEnablerNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableRelationshipEnablerNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeRelationshipEnablerNotification | ||
| Description |
Acknowledge a relationship 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 | registerForNewRelationshipEnablers | ||
| Description |
Register for notifications of new relationship
enablers. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedRelationshipEnablers | ||
| Description |
Registers for notification of updated relationship
enabelrs. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedRelationshipEnabler | ||
| Description |
Registers for notification of an updated relationship
enabler. | ||
| Parameters | osid.id.Id | relationshipEnablerId | the Id of the RelationshipEnabler to monitor |
| Errors | NULL_ARGUMENT | relationshipEnablerId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedRelationshipEnablers | ||
| Description |
Registers for notification of deleted relationship
enablers. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedRelationshipEnabler | ||
| Description |
Registers for notification of a deleted relationship
enabler. | ||
| Parameters | osid.id.Id | relationshipEnablerId | the Id of the RelationshipEnabler to monitor |
| Errors | NULL_ARGUMENT | relationshipEnablerId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |