OSID Logo
OSID Specifications
messaging package
Version 3.1.0
Interfaceosid.messaging.MessagingProxyManager
Implementsosid.OsidProxyManager
osid.messaging.MessagingProfile
Used Byosid.orchestration.OrchestrationManager
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.Proxyproxy a proxy
Returnosid.messaging.MessagingSession a MessagingSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMessaging() is false
Complianceoptional This method must be implemented if supportsMessaging() is true.
MethodgetMessageLookupSession
Description

Gets the OsidSession associated with the message lookup service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.messaging.MessageLookupSession a MessageLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMessageLookup() is false
Complianceoptional This 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.IdmailboxId the Id of the mailbox
osid.proxy.Proxyproxy a 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
Complianceoptional This method must be implemented if supportsMessageLookup() and supportsVisibleFederation() are true.
MethodgetMessageQuerySession
Description

Gets the OsidSession associated with the message query service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.messaging.MessageQuerySession a MessageQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMessageQuery() is false
Complianceoptional This 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.IdmailboxId the Id of the mailbox
osid.proxy.Proxyproxy a proxy
Returnosid.messaging.MessageQuerySession a MessageQuerySession
ErrorsNOT_FOUND no Mailbox found by the given Id
NULL_ARGUMENT mailboxId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMessageQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsMessageQuery() and supportsVisibleFederation() are true
MethodgetMessageSearchSession
Description

Gets a message search session.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.messaging.MessageSearchSession a MessageSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMessageSearch() is false
Complianceoptional This method must be implemented if supportsMessageSearch() is true.
MethodgetMessageSearchSessionForMailbox
Description

Gets a message search session for the given mailbox.

Parametersosid.id.IdmailboxId the Id of the mailbox
osid.proxy.Proxyproxy a 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
Complianceoptional This 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.Proxyproxy a proxy
Returnosid.messaging.MessageAdminSession a MessageAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMessageAdmin() is false
Complianceoptional This method must be implemented if supportsMessageAdmin() is true.
MethodgetMessageAdminSessionForMailbox
Description

Gets a message administration session for the given mailbox.

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

Gets the message notification session for the given mailbox.

Parametersosid.messaging.MessageReceivermessageReceiver notification callback
osid.proxy.Proxyproxy a proxy
Returnosid.messaging.MessageNotificationSession a MessageNotificationSession
ErrorsNULL_ARGUMENT messageReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMessageNotification() is false
Complianceoptional This method must be implemented if supportsMessageNotification() is true.
MethodgetMessageNotificationSessionForMailbox
Description

Gets the message notification session for the given mailbox.

Parametersosid.messaging.MessageReceivermessageReceiver notification callback
osid.id.IdmailboxId the Id of the mailbox
osid.proxy.Proxyproxy a 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
Complianceoptional This method must be implemented if supportsMessageNotfication() and supportsVisibleFederation() are true.
MethodgetMessageMailboxSession
Description

Gets the session for retrieving message to mailbox mappings.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.messaging.MessageMailboxSession a MessageMailboxSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMessageMailbox() is false
Complianceoptional This method must be implemented if supportsMessageMailbox() is true.
MethodgetMessageMailboxAssignmentSession
Description

Gets the session for assigning message to mailbox mappings.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.messaging.MessageMailboxAssignmentSession a MessageMailboxAssignmentSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMessageMailboxAssignment() is false
Complianceoptional This method must be implemented if supportsMessageMailboxAssignment() is true.
MethodgetMessageSmartMailboxSession
Description

Gets the OsidSession to manage message smart mailboxes.

Parametersosid.id.IdmailboxId the Id of the mailbox
osid.proxy.Proxyproxy a proxy
Returnosid.messaging.MessageSmartMailboxSession a MessageSmartMailboxesession
ErrorsNOT_FOUND mailboxId not found
NULL_ARGUMENT mailboxId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMessageSmartMailbox() is false
Complianceoptional This method must be implemented if supportsMessageSmartMailbox() is true.
MethodgetReceiptLookupSession
Description

Gets the OsidSession associated with the receipt lookup service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.messaging.ReceiptLookupSession a ReceiptLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsReceiptLookup() is false
Complianceoptional This 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.IdmailboxId the Id of the mailbox
osid.proxy.Proxyproxy a 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
Complianceoptional This method must be implemented if supportsReceiptLookup() and supportsVisibleFederation() are true.
MethodgetReceiptAdminSession
Description

Gets the OsidSession associated with the receipt administrative service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.messaging.ReceiptAdminSession a ReceiptAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsReceiptAdmin() is false
Complianceoptional This 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.IdmailboxId the Id of the mailbox
osid.proxy.Proxyproxy a 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
Complianceoptional This method must be implemented if supportsReceiptAdmin() and supportsVisibleFederation() are true.
MethodgetReceiptNotificationSession
Description

Gets the notification session for notifications pertaining to receipt changes.

Parametersosid.messaging.ReceiptReceiverreceiptReceiver the notification callback
osid.proxy.Proxyproxy a proxy
Returnosid.messaging.ReceiptNotificationSession a ReceiptNotificationSession
ErrorsNULL_ARGUMENT receiptReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsReceiptNotification() is false
Complianceoptional This method must be implemented if supportsreceiptNotification() is true.
MethodgetReceiptNotificationSessionForMailbox
Description

Gets the receipt notification session for the given mailbox.

Parametersosid.messaging.ReceiptReceiverreceiptReceiver the notification callback
osid.id.IdmailboxId the Id of the mailbox
osid.proxy.Proxyproxy a 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
Complianceoptional This method must be implemented if supportsReceiptNotfication() and supportsVisibleFederation() are true.
MethodgetMailboxLookupSession
Description

Gets the mailbox lookup session.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.messaging.MailboxLookupSession a MailboxLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMailboxLookup() is false
Complianceoptional This method must be implemented if supportsMailboxLookup() is true.
MethodgetMailboxQuerySession
Description

Gets the mailbox query session.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.messaging.MailboxQuerySession a MailboxQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMailboxQuery() is false
Complianceoptional This method must be implemented if supportsMailboxQuery() is true.
MethodgetMailboxSearchSession
Description

Gets the mailbox search session.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.messaging.MailboxSearchSession a MailboxSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMailboxSearch() is false
Complianceoptional This method must be implemented if supportsMailboxSearch() is true.
MethodgetMailboxAdminSession
Description

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

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.messaging.MailboxAdminSession a MailboxAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMailboxAdmin() is false
Complianceoptional This method must be implemented if supportsMailboxAdmin() is true.
MethodgetMailboxNotificationSession
Description

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

Parametersosid.messaging.MailboxReceivermailboxReceiver notification callback
osid.proxy.Proxyproxy a proxy
Returnosid.messaging.MailboxNotificationSession a MailboxNotificationSession
ErrorsNULL_ARGUMENT mailboxReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMailboxNotification() is false
Complianceoptional This method must be implemented if supportsMailboxNotification() is true.
MethodgetMailboxHierarchySession
Description

Gets the mailbox hierarchy traversal session.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.messaging.MailboxHierarchySession a MailboxHierarchySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMailboxHierarchy() is false
Complianceoptional This method must be implemented if supportsMailboxHierarchy() is true.
MethodgetMailboxHierarchyDesignSession
Description

Gets the mailbox hierarchy design session.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.messaging.MailboxHierarchyDesignSession a MailboxHierarchyDesignSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMailboxHierarchyDesign() is false
Complianceoptional This method must be implemented if supportsMailboxHierarchyDesign() is true.
MethodgetMessagingBatchProxyManager
Description

Gets a MessagingBatchProxyManager.

Returnosid.messaging.batch.MessagingBatchProxyManager a MessagingBatchProxyManager
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMessagingBatch() is false
Complianceoptional This method must be implemented if supportsMessagingBatch() is true.