| Interface | osid.resourcing.WorkNotificationSession | ||
|---|---|---|---|
| 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 | canRegisterForWorkNotifications | ||
| 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 works 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 | registerForNewWorks | ||
| Description | 
                     Register for notifications of new works.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewWorksForJob | ||
| Description | 
                     Register for notifications of new works for the given 
                    job.   | ||
| Parameters | osid.id.Id | jobId | the  Id  of the  Job  to monitor  | 
| Errors | NULL_ARGUMENT |  jobId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedWorks | ||
| Description | 
                     Registers for notification of updated works.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedWorksForJob | ||
| Description | 
                     Register for notifications of updated works for the 
                    given job.   | ||
| Parameters | osid.id.Id | jobId | the  Id  of the  Job  to monitor  | 
| Errors | NULL_ARGUMENT |  jobId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedWork | ||
| Description | 
                     Registers for notification of an updated 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 | registerForDeletedWorks | ||
| Description | 
                     Registers for notification of deleted works.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedWorksForJob | ||
| Description | 
                     Register for notifications of deleted works for the 
                    given job.   | ||
| Parameters | osid.id.Id | jobId | the  Id  of the  Job  to monitor  | 
| Errors | NULL_ARGUMENT |  jobId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedWork | ||
| Description | 
                     Registers for notification of a deleted 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. | |