| Interface | osid.financials.ActivityNotificationSession | ||
|---|---|---|---|
| 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 | getBusinessId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Business Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBusiness | ||
| Description | 
                     Gets the   | ||
| Return | osid.financials.Business | the business | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForActivityNotifications | ||
| 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 | useFederatedBusinessView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include activities in catalogs which are children of this catalog in the business hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedBusinessView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts notifications to this business only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | registerForNewActivities | ||
| Description | 
                     Register for notifications of new activities.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewActivityAncestors | ||
| Description | 
                     Registers for notification if an ancestor is added to 
                    the specified activity in the activity hierarchy.   | ||
| Parameters | osid.id.Id | activityId | the  Id  of the activity to monitor  | 
| Errors | NULL_ARGUMENT |  activityId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewActivityDescendants | ||
| Description | 
                     Registers for notification if a descendant is added to 
                    the specified activity in the activity hierarchy.   | ||
| Parameters | osid.id.Id | activityId | the  Id  of the activity to monitor  | 
| Errors | NULL_ARGUMENT |  activityId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedActivities | ||
| Description | 
                     Registers for notification of updated activities. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedActivity | ||
| Description | 
                     Registers for notification of an updated activity. 
                      | ||
| Parameters | osid.id.Id | activityId | the  Id  of the  Activity  to monitor  | 
| Errors | NULL_ARGUMENT |  activityId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedActivities | ||
| Description | 
                     Registers for notification of deleted activities. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedActivity | ||
| Description | 
                     Registers for notification of a deleted activity. 
                      | ||
| Parameters | osid.id.Id | activityId | the  Id  of the  Activity  to monitor  | 
| Errors | NULL_ARGUMENT |  activityId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedActivityAncestors | ||
| Description | 
                     Registers for notification if an ancestor is removed 
                    from the specified activity in the activity hierarchy. 
                      | ||
| Parameters | osid.id.Id | activityId | the  Id  of the activity to monitor  | 
| Errors | NULL_ARGUMENT |  activityId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedActivityDescendants | ||
| Description | 
                     Registers for notification if a descendant is removed 
                    from fthe specified activity in the activity hierarchy. 
                      | ||
| Parameters | osid.id.Id | activityId | the  Id  of the activity to monitor  | 
| Errors | NULL_ARGUMENT |  activityId is null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |