| Interface | osid.journaling.JournalEntryNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session defines methods to receive notifications on 
                adds/changes to   | ||
| Method | getJournalId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Journal Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getJournal | ||
| Description | 
                     Gets the   | ||
| Return | osid.journaling.Journal | the journal | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForJournalEntryNotifications | ||
| 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 | useFederatedJournalView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include notifications for entries in journals which are children of this journal in the journal hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedJournalView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts notifications to this journal only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableJournalEntryNotifications | ||
| Description | 
                     Reliable notifications are desired. In reliable mode, 
                    notifications are to be acknowledged using   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableJournalEntryNotifications | ||
| Description | 
                     Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeJournalEntryNotification | ||
| Description | 
                     Acknowledge a journal entry 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 | registerForNewJournalEntries | ||
| Description | 
                     Register for notifications of new journal entries. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewJournalEntriesForBranch | ||
| Description | 
                     Register for notifications of new journal entries for 
                    the given branch   | ||
| Parameters | osid.id.Id | branchId | the  Id  of the branch to monitor  | 
| Errors | NULL_ARGUMENT |  branchId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewJournalEntriesForSource | ||
| Description | 
                     Register for notifications of new journal entries for 
                    the given source   | ||
| Parameters | osid.id.Id | sourceId | the  Id  of the source to monitor  | 
| Errors | NULL_ARGUMENT |  sourceId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewJournalEntriesForResource | ||
| Description | 
                     Register for notifications of new journal entries 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 | registerForChangedJournalEntries | ||
| Description | 
                     Registers for notification of updated journal entries. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedJournalEntriesForBranch | ||
| Description | 
                     Register for notifications of changed journal entries 
                    for the given branch   | ||
| Parameters | osid.id.Id | branchId | the  Id  of the branch to monitor  | 
| Errors | NULL_ARGUMENT |  branchId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedJournalEntriesForSource | ||
| Description | 
                     Register for notifications of changed journal entries 
                    for the given source   | ||
| Parameters | osid.id.Id | sourceId | the  Id  of the source to monitor  | 
| Errors | NULL_ARGUMENT |  sourceId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedJournalEntriesForResource | ||
| Description | 
                     Register for notifications of changed journal entries 
                    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 | registerForChangedJournalEntry | ||
| Description | 
                     Registers for notification of an updated journal entry. 
                      | ||
| Parameters | osid.id.Id | journalEntryId | the  Id  of the  JournalEntry  to monitor  | 
| Errors | NULL_ARGUMENT |  journalEntryId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedJournalEntries | ||
| Description | 
                     Registers for notification of deleted journal entries. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedJournalEntriesForBranch | ||
| Description | 
                     Register for notifications of deleted journal entries 
                    for the given source   | ||
| Parameters | osid.id.Id | branchId | the  Id  of the branch to monitor  | 
| Errors | NULL_ARGUMENT |  branchId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedJournalEntriesForSource | ||
| Description | 
                     Register for notifications of deleted journal entries 
                    for the given source   | ||
| Parameters | osid.id.Id | sourceId | the  Id  of the source to monitor  | 
| Errors | NULL_ARGUMENT |  sourceId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedJournalEntriesForResource | ||
| Description | 
                     Register for notifications of deleted journal entries 
                    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 | registerForDeletedJournalEntry | ||
| Description | 
                     Registers for notification of a deleted journal entry. 
                      | ||
| Parameters | osid.id.Id | journalEntryId | the  Id  of the  JournalEntry  to monitor  | 
| Errors | NULL_ARGUMENT |  journalEntryId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |