| Interface | osid.resource.ResourceRelationshipNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session defines methods to receive asynchronous notifications on adds/changes to resource relationships. This session is intended for consumers needing to synchronize their state with this service without the use of polling. Notifications are cancelled when this session is closed.  The views defined in this session correspond to the views 
                in the   | ||
| Method | getBinId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Bin Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBin | ||
| Description | 
                     Gets the   | ||
| Return | osid.resource.Bin | the bin | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForResourceRelationshipNotifications | ||
| 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 | useFederatedBinView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include notifications for relationships in bins which are children of this bin in the bin hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedBinView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts notifications for relationships in this bin only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | registerForNewResourceRelationships | ||
| Description | 
                     Register for notifications of new relationship.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewResourceRelationshipsByGenusType | ||
| Description | 
                     Register for notifications of new relationships of the 
                    given genus type.   | ||
| Parameters | osid.type.Type | resourceRelationshipGenusType | the rsource relationship genus type | 
| Errors | NULL_ARGUMENT |  resourceRelationshipGenusType is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewResourceRelationshipsForSourceResource | ||
| Description | 
                     Register for notifications of new relationships from 
                    the given resource.   | ||
| Parameters | osid.id.Id | resourceId | the  Id  of the  Resource  to monitor  | 
| Errors | NULL_ARGUMENT |  resourceId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewResourceRelationshipsForDestinationResource | ||
| Description | 
                     Register for notifications of new relationships to the 
                    given resource.   | ||
| Parameters | osid.id.Id | resourceId | the  Id  of the  Resource  to monitor  | 
| Errors | NULL_ARGUMENT |  resourceId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedResourceRelationships | ||
| Description | 
                     Registers for notification of updated relationships. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedResourceRelationshipsByGenusType | ||
| Description | 
                     Register for notifications of changed relationshipsof 
                    the given genus type.   | ||
| Parameters | osid.type.Type | resourceRelationshipGenusType | the rsource relationship genus type | 
| Errors | NULL_ARGUMENT |  resourceRelationshipGenusType is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedResourceRelationshipsForSourceResource | ||
| Description | 
                     Register for notifications of changed relationships 
                    from the given resource.   | ||
| Parameters | osid.id.Id | resourceId | the  Id  of the  Resource  to monitor  | 
| Errors | NULL_ARGUMENT |  resourceId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedResourceRelationshipsForDestinationResource | ||
| Description | 
                     Register for notifications of changed relationships to 
                    the given resource.   | ||
| Parameters | osid.id.Id | resourceId | the  Id  of the  Resource  to monitor  | 
| Errors | NULL_ARGUMENT |  resourceId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedResourceRelationship | ||
| Description | 
                     Registers for notification of an updated relationship. 
                      | ||
| Parameters | osid.id.Id | resourceRelationshipId | the  Id  of the  ResourceRelationship  to monitor  | 
| Errors | NULL_ARGUMENT |  resourceRelationshipId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedResourceRelationships | ||
| Description | 
                     Registers for notification of deleted relationships. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedResourceRelationshipsByGenusType | ||
| Description | 
                     Register for notifications of deleted relationships of 
                    the given genus type.   | ||
| Parameters | osid.type.Type | resourceRelationshipGenusType | the rsource relationship genus type | 
| Errors | NULL_ARGUMENT |  resourceRelationshipGenusType is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedResourceRelationshipsForSourceResource | ||
| Description | 
                     Register for notifications of deleted relationships 
                    from the given resource.   | ||
| Parameters | osid.id.Id | resourceId | the  Id  of the  Resource  to monitor  | 
| Errors | NULL_ARGUMENT |  resourceRelationshipId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedResourceRelationshipsForDestinationResource | ||
| Description | 
                     Register for notifications of deleted relationships to 
                    the given resource.   | ||
| Parameters | osid.id.Id | resourceId | the  Id  of the  Resource  to monitor  | 
| Errors | NULL_ARGUMENT |  resourceRelationshipId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedResourceRelationship | ||
| Description | 
                     Registers for notification of a deleted relationship. 
                      | ||
| Parameters | osid.id.Id | resourceRelationshipId | the  Id  of the  ResourceRelationship  to monitor  | 
| Errors | NULL_ARGUMENT |  resourceRelationshipId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |