Interface | osid.messaging.MailboxNotificationSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session defines methods to receive notifications on
adds/changes to | ||
Method | canRegisterForMailboxNotifications | ||
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 | registerForNewMailboxes | ||
Description |
Register for notifications of new mailboxes. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForNewMailboxAncestors | ||
Description |
Registers for notification if an ancestor is added to
the specified mailbox in the mailbox hierarchy. | ||
Parameters | osid.id.Id | mailboxId | the Id of the mailbox to monitor |
Errors | NULL_ARGUMENT | mailboxId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForNewMailboxDescendants | ||
Description |
Registers for notification if a descendant is added to
the specified mailbox in the mailbox hierarchy. | ||
Parameters | osid.id.Id | mailboxId | the Id of the mailbox to monitor |
Errors | NULL_ARGUMENT | mailboxId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedMailboxes | ||
Description |
Registers for notification of updated mailboxes. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedMailbox | ||
Description |
Registers for notification of an updated mailbox.
| ||
Parameters | osid.id.Id | mailboxId | the Id of the Mailbox to monitor |
Errors | NULL_ARGUMENT | mailboxId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedMailboxes | ||
Description |
Registers for notification of deleted mailboxes. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedMailbox | ||
Description |
Registers for notification of a deleted mailbox. | ||
Parameters | osid.id.Id | mailboxId | the Id of the Mailbox to monitor |
Errors | NULL_ARGUMENT | mailboxId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedMailboxAncestors | ||
Description |
Registers for notification if an ancestor is removed
from the specified mailbox in the mailbox hierarchy.
| ||
Parameters | osid.id.Id | mailboxId | the Id of the mailbox to monitor |
Errors | NULL_ARGUMENT | mailboxId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedMailboxDescendants | ||
Description |
Registers for notification if a descendant is removed
from fthe specified mailbox in the mailbox hierarchy.
| ||
Parameters | osid.id.Id | mailboxId | the Id of the mailbox to monitor |
Errors | NULL_ARGUMENT | mailboxId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |