| Interface | osid.checklist.TodoNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session defines methods to receive notifications on 
                adds/changes to   | ||
| Method | getChecklistId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Checklist Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getChecklist | ||
| Description | 
                     Gets the   | ||
| Return | osid.checklist.Checklist | the checklist | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForTodoNotifications | ||
| 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 | useFederatedChecklistView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include notifications for todoss in checklists which are children of this checklist in the checklist hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedChecklistView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts notifications to this checklist only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableTodoNotifications | ||
| Description | 
                     Reliable notifications are desired. In reliable mode, 
                    notifications are to be acknowledged using   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableTodoNotifications | ||
| Description | 
                     Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeTodoNotification | ||
| Description | 
                     Acknowledge a todo 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 | registerForNewTodos | ||
| Description | 
                     Register for notifications of new todos.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedTodos | ||
| Description | 
                     Registers for notification of updated todos.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedTodo | ||
| Description | 
                     Registers for notification of an updated todo.   | ||
| Parameters | osid.id.Id | todoId | the  Id  of the  Todo  to monitor  | 
| Errors | NULL_ARGUMENT |  todoId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedTodos | ||
| Description | 
                     Registers for notification of deleted todos.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedTodo | ||
| Description | 
                     Registers for notification of a deleted todo.   | ||
| Parameters | osid.id.Id | todoId | the  Id  of the  Todo  to monitor  | 
| Errors | NULL_ARGUMENT |  todoId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedTodoHierarchy | ||
| Description | 
                     Todo   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedTodoHierarchyForAncestors | ||
| Description | 
                     Registers for notification of an updated toto hierarchy 
                    structure.   | ||
| Parameters | osid.id.Id | todoId | the  Id  of the  Todo  node to monitor  | 
| Errors | NULL_ARGUMENT |  todoId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedTodoHierarchyForDescendants | ||
| Description | 
                     Registers for notification of an updated todo hierarchy 
                    structure.   | ||
| Parameters | osid.id.Id | todoId | the  Id  of the  Todo  node to monitor  | 
| Errors | NULL_ARGUMENT |  todoId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |