| Interface | osid.resourcing.CommissionNotificationSession | ||
|---|---|---|---|
| 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 | getFoundryId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Foundry Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getFoundry | ||
| Description | 
                     Gets the   | ||
| Return | osid.resourcing.Foundry | the foundry | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForCommissionNotifications | ||
| 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 | useFederatedFoundryView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include commissions in foundries which are children of this foundry in the foundry hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedFoundryView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts notifications to this foundry only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | registerForNewCommissions | ||
| Description | 
                     Register for notifications of new commissions.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewCommissionsForResource | ||
| Description | 
                     Register for notifications of new commissions for 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 | registerForNewCommissionsForWork | ||
| Description | 
                     Register for notifications of new commissions for the 
                    given work   | ||
| Parameters | osid.id.Id | workId | the  Id  of the work to monitor  | 
| Errors | NULL_ARGUMENT |  workId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedCommissions | ||
| Description | 
                     Registers for notification of updated commissions. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedCommissionsForResource | ||
| Description | 
                     Register for notifications of updated commissions for 
                    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 | registerForChangedCommissionsForWork | ||
| Description | 
                     Register for notifications of updated commissions for 
                    the given work   | ||
| Parameters | osid.id.Id | workId | the  Id  of the work to monitor  | 
| Errors | NULL_ARGUMENT |  workId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedCommission | ||
| Description | 
                     Registers for notification of an updated commission. 
                      | ||
| Parameters | osid.id.Id | commissionId | the  Id  of the  Commission  to monitor  | 
| Errors | NULL_ARGUMENT |  commissionId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedCommissions | ||
| Description | 
                     Registers for notification of deleted commissions. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedCommissionsForResource | ||
| Description | 
                     Register for notifications of deleted commissions for 
                    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 | registerForDeletedCommissionsForWork | ||
| Description | 
                     Register for notifications of deleted commissions for 
                    the given work   | ||
| Parameters | osid.id.Id | workId | the  Id  of the work to monitor  | 
| Errors | NULL_ARGUMENT |  workId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedCommission | ||
| Description | 
                     Registers for notification of a deleted commission. 
                      | ||
| Parameters | osid.id.Id | commissionId | the  Id  of the  Commission  to monitor  | 
| Errors | NULL_ARGUMENT |  commissionId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |