OSID Logo
OSID Specifications
messaging package
Version 3.0.0
Release Candidate Preview
Interfaceosid.messaging.MessagingProxyManager
Implementsosid.OsidProxyManager
osid.messaging.MessagingProfile
Description

The message manager provides access to message lookup and creation session and provides interoperability tests for various aspects of this service. Methods in this manager support the passing of a Proxy for the purposes of passing information from a server environment. The sessions included in this manager are:

  • MessagingSession: a session to send messages
  • MessageLookupSession: a session to retrieve messages
  • MessageQuerySession: a session to query for messages
  • MessageSearchSession: a session to search for messages
  • MessageAdminSession: a session to create and delete messages
  • MessageNotificationSession: a session to receive notifications pertaining to message changes
  • MessageMailboxSession: a session to look up message to mailbox mappings
  • MessageMailboxAssignmentSession: a session to manage message to mailbox mappings
  • MessageSmartMailboxSession: a session to manage dynamic mailboxes of messages
  • ReceiptLookupSession: a session to retrieve message receipts
  • ReceiptAdminSession: a session to update message receipts
  • ReceiptNotificationSession: a session to receive notifications pertaining to changes in message receipts
  • MailboxLookupSession: a session to retrieve mailboxes
  • MailboxQuerySession: a session to query mailboxes
  • MailboxSearchSession: a session to search for mailboxes
  • MailboxAdminSession: a session to create, update and delete mailboxes
  • MailboxNotificationSession: a session to receive notifications pertaining to changes in mailboxes
  • MailboxHierarchySession: a session to traverse mailbox hierarchies
  • MailboxHierarchyDesignSession: a session to manage mailbox hierarchies
MethodgetMessagingSession
Description

Gets the OsidSession associated with the message sending service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.messaging.MessagingSession a MessagingSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMessaging() is false
ComplianceoptionalThis method must be implemented if supportsMessaging() is true.
MethodgetMessageLookupSession
Description

Gets the OsidSession associated with the message lookup service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.messaging.MessageLookupSession a MessageLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMessageLookup() is false
ComplianceoptionalThis method must be implemented if supportsMessageLookup() is true.
MethodgetMessageLookupSessionForMailbox
Description

Gets the OsidSession associated with the message lookup service for the given mailbox.

Parametersosid.id.IdmailboxIdthe Id of the mailbox
osid.proxy.Proxyproxya proxy
Returnosid.messaging.MessageLookupSession a MessageLookupSession
ErrorsNOT_FOUND mailboxId not found
NULL_ARGUMENT mailboxId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMessageLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsMessageLookup() and supportsVisibleFederation() are true.
MethodgetMessageQuerySession
Description

Gets the OsidSession associated with the message query service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.messaging.MessageQuerySessiona MessageQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMessageQuery() is false
ComplianceoptionalThis method must be implemented if supportsMessageQuery() is true.
MethodgetMessageQuerySessionForMailbox
Description

Gets the OsidSession associated with the message query service for the given mailbox.

Parametersosid.id.IdmailboxIdthe Id of the mailbox
osid.proxy.Proxyproxya proxy
Returnosid.messaging.MessageQuerySessiona MessageQuerySession
ErrorsNOT_FOUNDno Mailbox found by the given Id
NULL_ARGUMENT mailboxId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMessageQuery() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsMessageQuery() and supportsVisibleFederation() are true
MethodgetMessageSearchSession
Description

Gets a message search session.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.messaging.MessageSearchSession a MessageSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMessageSearch() is false
ComplianceoptionalThis method must be implemented if supportsMessageSearch() is true.
MethodgetMessageSearchSessionForMailbox
Description

Gets a message search session for the given mailbox.

Parametersosid.id.IdmailboxIdthe Id of the mailbox
osid.proxy.Proxyproxya proxy
Returnosid.messaging.MessageSearchSession a MessageSearchSession
ErrorsNOT_FOUND mailboxId not found
NULL_ARGUMENT mailboxId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMessageSearch() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsMessageSearch() and supportsVisibleFederation() are true.
MethodgetMessageAdminSession
Description

Gets a message administration session for creating, updating and deleting messages.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.messaging.MessageAdminSession a MessageAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMessageAdmin() is false
ComplianceoptionalThis method must be implemented if supportsMessageAdmin() is true.
MethodgetMessageAdminSessionForMailbox
Description

Gets a message administration session for the given mailbox.

Parametersosid.id.IdmailboxIdthe Id of the mailbox
osid.proxy.Proxyproxya proxy
Returnosid.messaging.MessageAdminSession a MessageAdminSession
ErrorsNOT_FOUND mailboxId not found
NULL_ARGUMENT mailboxId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMessageAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsMessageAdmin() and supportsVisibleFederation() are true.
MethodgetMessageNotificationSession
Description

Gets the message notification session for the given mailbox.

Parametersosid.messaging.MessageReceivermessageReceivernotification callback
osid.proxy.Proxyproxya proxy
Returnosid.messaging.MessageNotificationSession a MessageNotificationSession
ErrorsNULL_ARGUMENT messageReceiver or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMessageNotification() is false
ComplianceoptionalThis method must be implemented if supportsMessageNotification() is true.
MethodgetMessageNotificationSessionForMailbox
Description

Gets the message notification session for the given mailbox.

Parametersosid.messaging.MessageReceivermessageReceivernotification callback
osid.id.IdmailboxIdthe Id of the mailbox
osid.proxy.Proxyproxya proxy
Returnosid.messaging.MessageNotificationSession a MessageNotificationSession
ErrorsNOT_FOUND mailboxId not found
NULL_ARGUMENT messageReceiver, mailboxId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMessageNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsMessageNotfication() and supportsVisibleFederation() are true.
MethodgetMessageMailboxSession
Description

Gets the session for retrieving message to mailbox mappings.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.messaging.MessageMailboxSessiona MessageMailboxSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMessageMailbox() is false
ComplianceoptionalThis method must be implemented if supportsMessageMailbox() is true.
MethodgetMessageMailboxAssignmentSession
Description

Gets the session for assigning message to mailbox mappings.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.messaging.MessageMailboxAssignmentSessiona MessageMailboxAssignmentSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMessageMailboxAssignment() is false
ComplianceoptionalThis method must be implemented if supportsMessageMailboxAssignment() is true.
MethodgetMessageSmartMailboxSession
Description

Gets the OsidSession to manage message smart mailboxes.

Parametersosid.id.IdmailboxIdthe Id of the mailbox
osid.proxy.Proxyproxya proxy
Returnosid.messaging.MessageSmartMailboxSessiona MessageSmartMailboxesession
ErrorsNOT_FOUND mailboxId not found
NULL_ARGUMENT mailboxId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMessageSmartMailbox() is false
ComplianceoptionalThis method must be implemented if supportsMessageSmartMailbox() is true.
MethodgetReceiptLookupSession
Description

Gets the OsidSession associated with the receipt lookup service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.messaging.ReceiptLookupSession a ReceiptLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsReceiptLookup() is false
ComplianceoptionalThis method must be implemented if supportsReceiptLookup() is true.
MethodgetReceiptLookupSessionForMailbox
Description

Gets the OsidSession associated with the receipt lookup service for the given mailbox.

Parametersosid.id.IdmailboxIdthe Id of the mailbox
osid.proxy.Proxyproxya proxy
Returnosid.messaging.ReceiptLookupSession a ReceiptLookupSession
ErrorsNOT_FOUND mailboxId not found
NULL_ARGUMENT mailboxId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsReceiptLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsReceiptLookup() and supportsVisibleFederation() are true.
MethodgetReceiptAdminSession
Description

Gets the OsidSession associated with the receipt administrative service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.messaging.ReceiptAdminSession a ReceiptAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsReceiptAdmin() is false
ComplianceoptionalThis method must be implemented if supportsReceiptAdmin() is true.
MethodgetReceiptAdminSessionForMailbox
Description

Gets the OsidSession associated with the receipt administrative service for the given mailbox.

Parametersosid.id.IdmailboxIdthe Id of the mailbox
osid.proxy.Proxyproxya proxy
Returnosid.messaging.ReceiptAdminSession a ReceiptAdminSession
ErrorsNOT_FOUND mailboxId not found
NULL_ARGUMENT mailboxId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsReceiptAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsReceiptAdmin() and supportsVisibleFederation() are true.
MethodgetReceiptNotificationSession
Description

Gets the notification session for notifications pertaining to receipt changes.

Parametersosid.messaging.ReceiptReceiverreceiptReceiverthe notification callback
osid.proxy.Proxyproxya proxy
Returnosid.messaging.ReceiptNotificationSession a ReceiptNotificationSession
ErrorsNULL_ARGUMENT receiptReceiver or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsReceiptNotification() is false
ComplianceoptionalThis method must be implemented if supportsreceiptNotification() is true.
MethodgetReceiptNotificationSessionForMailbox
Description

Gets the receipt notification session for the given mailbox.

Parametersosid.messaging.ReceiptReceiverreceiptReceiverthe notification callback
osid.id.IdmailboxIdthe Id of the mailbox
osid.proxy.Proxyproxya proxy
Returnosid.messaging.ReceiptNotificationSession a ReceiptNotificationSession
ErrorsNOT_FOUND mailboxId not found
NULL_ARGUMENT receiptReceiver, mailboxId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsReceiptNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsReceiptNotfication() and supportsVisibleFederation() are true.
MethodgetMailboxLookupSession
Description

Gets the mailbox lookup session.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.messaging.MailboxLookupSessiona MailboxLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMailboxLookup() is false
ComplianceoptionalThis method must be implemented if supportsMailboxLookup() is true.
MethodgetMailboxQuerySession
Description

Gets the mailbox query session.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.messaging.MailboxQuerySessiona MailboxQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMailboxQuery() is false
ComplianceoptionalThis method must be implemented if supportsMailboxQuery() is true.
MethodgetMailboxSearchSession
Description

Gets the mailbox search session.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.messaging.MailboxSearchSessiona MailboxSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMailboxSearch() is false
ComplianceoptionalThis method must be implemented if supportsMailboxSearch() is true.
MethodgetMailboxAdminSession
Description

Gets the mailbox administrative session for creating, updating and deleteing mailboxes.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.messaging.MailboxAdminSessiona MailboxAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMailboxAdmin() is false
ComplianceoptionalThis method must be implemented if supportsMailboxAdmin() is true.
MethodgetMailboxNotificationSession
Description

Gets the notification session for subscribing to changes to a mailbox.

Parametersosid.messaging.MailboxReceivermailboxReceivernotification callback
osid.proxy.Proxyproxya proxy
Returnosid.messaging.MailboxNotificationSessiona MailboxNotificationSession
ErrorsNULL_ARGUMENT mailboxReceiver or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMailboxNotification() is false
ComplianceoptionalThis method must be implemented if supportsMailboxNotification() is true.
MethodgetMailboxHierarchySession
Description

Gets the mailbox hierarchy traversal session.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.messaging.MailboxHierarchySession a MailboxHierarchySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMailboxHierarchy() is false
ComplianceoptionalThis method must be implemented if supportsMailboxHierarchy() is true.
MethodgetMailboxHierarchyDesignSession
Description

Gets the mailbox hierarchy design session.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.messaging.MailboxHierarchyDesignSessiona MailboxHierarchyDesignSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMailboxHierarchyDesign() is false
ComplianceoptionalThis method must be implemented if supportsMailboxHierarchyDesign() is true.
MethodgetMessagingBatchProxyManager
Description

Gets a MessagingBatchProxyManager.

Returnosid.messaging.batch.MessagingBatchProxyManagera MessagingBatchProxyManager
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMessagingBatch() is false
ComplianceoptionalThis method must be implemented if supportsMessagingBatch() is true.