| Interface | osid.messaging.MessageNotificationSession | ||
|---|---|---|---|
| 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 | 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 | canRegisterForMessageNotifications | ||
| 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 messages 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 | registerForNewMessages | ||
| Description | Register for notifications of new messages.  | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewMessagesFromSender | ||
| Description | Register for notifications of new messages from sender. 
                     | ||
| 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 | registerForNewMessagesForRecipient | ||
| Description | Register for notifications of new messages for a 
                    recipient.  | ||
| 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 | registerForChangedMessages | ||
| Description | Registers for notification of updated messages.  | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedMessagesFromSender | ||
| Description | Register for notifications of updated messages from 
                    sender.  | ||
| 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 | registerForChangedMessagesForRecipient | ||
| Description | Register for notifications of updated messages for a 
                    recipient.  | ||
| 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 | registerForChangedMessage | ||
| Description | Registers for notification of an updated 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 | registerForDeletedMessages | ||
| Description | Registers for notification of deleted messages.  | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedMessagesFromSender | ||
| Description | Register for notifications of deleted messages from 
                    sender.  | ||
| 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 | registerForDeletedMessagesForRecipient | ||
| Description | Register for notifications of deleted messages for a 
                    recipient.  | ||
| 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 | registerForDeletedMessage | ||
| Description | Registers for notification of a deleted 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. | |