| Interface | osid.messaging.ReceiptNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | This session defines methods to receive notifications on 
                new and changed   The two views defined in this session correspond to the 
                views in the  | ||
| Method | getMailboxId | ||
| Description | Gets the  | ||
| Return | osid.id.Id | the  Mailbox Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getMailbox | ||
| Description | Gets the  | ||
| Return | osid.messaging.Mailbox | the  Mailbox associated with this session | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForReceiptNotifications | ||
| 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 | useFederatedMailboxView | ||
| Description | Federates the view for methods in this session. A federated view will include receipts in mailboxes which are children of this mailbox in the mailbox hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedMailboxView | ||
| Description | Isolates the view for methods in this session. An isolated view restricts notifications to this mailbox only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | registerForNewReceipts | ||
| Description | Register for notifications of new receipts.  | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewReceiptsForMessage | ||
| Description | Register for notifications of new receipts for the 
                    specified message.  | ||
| Parameters | osid.id.Id | messageId | the  Id of the Message to monitor | 
| Errors | NULL_ARGUMENT |  messageId is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewReceiptsByRecipient | ||
| Description | Register for notifications of new receipts for the 
                    specified recipient.  | ||
| Parameters | osid.id.Id | recipientId | the  Id of the Resource to monitor | 
| Errors | NULL_ARGUMENT |  recipientId is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedReceipts | ||
| Description | Registers for notification of updated receipts.  | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedReceiptsForMessage | ||
| Description | Register for notifications of updated receipts for the 
                    specified message.  | ||
| Parameters | osid.id.Id | messageId | the  Id of the Message to monitor | 
| Errors | NULL_ARGUMENT |  messageId is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedReceiptsByRecipient | ||
| Description | Register for notifications of updated receipts for the 
                    specified recipient.  | ||
| Parameters | osid.id.Id | recipientId | the  Id of the Resource to monitor | 
| Errors | NULL_ARGUMENT |  recipientId is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedReceipt | ||
| Description | Registers for notification of an updated receipt. 
                     | ||
| Parameters | osid.id.Id | receiptId | the  Id of the Receipt to monitor | 
| Errors | NULL_ARGUMENT |  receiptId is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedReceipts | ||
| Description | Registers for notification of receipts whose messages 
                    have been deleted or removed from this mailbox.  | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedReceiptsForMessage | ||
| Description | Register for notifications of deleted receipts for the 
                    specified message.  | ||
| Parameters | osid.id.Id | messageId | the  Id of the Message to monitor | 
| Errors | NULL_ARGUMENT |  messageId is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedReceiptsByRecipient | ||
| Description | Register for notifications of deleted receipts for the 
                    specified recipient.  | ||
| Parameters | osid.id.Id | recipientId | the  Id of the Resource to monitor | 
| Errors | NULL_ARGUMENT |  recipientId is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedReceipt | ||
| Description | Registers for notification of a deleted receipt.  | ||
| Parameters | osid.id.Id | receiptId | the  Id of the Receipt to monitor | 
| Errors | NULL_ARGUMENT |  receiptId is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |