| Interface | osid.messaging.MailboxSearchSession | ||
|---|---|---|---|
| Implements | osid.messaging.MailboxQuerySession | ||
| Description | This session provides methods for searching among     Mailboxes may have a query record indicated by their 
                respective record types. The query record is accessed via the 
                 | ||
| Method | getMailboxSearch | ||
| Description | Gets a mailbox search. | ||
| Return | osid.messaging.MailboxSearch | the mailbox search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getMailboxSearchOrder | ||
| Description | Gets a mailbox search order. The  | ||
| Return | osid.messaging.MailboxSearchOrder | the mailbox search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getMailboxesBySearch | ||
| Description | Gets the search results matching the given search query using the given search. | ||
| Parameters | osid.messaging.MailboxQuery | mailboxQuery | the mailbox query | 
| osid.messaging.MailboxSearch | mailboxSearch | the mailbox search | |
| Return | osid.messaging.MailboxSearchResults | the mailbox search results | |
| Errors | NULL_ARGUMENT |  mailboxQuery or mailboxSearch is null 
 | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  mailboxQuery or mailboxSearch is not of this 
service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getMailboxQueryFromInspector | ||
| Description | Gets a mailbox query from an inspector. The inspector 
                    is available from a  | ||
| Parameters | osid.messaging.MailboxQueryInspector | mailboxQueryInspector | a mailbox query inspector | 
| Return | osid.messaging.MailboxQuery | the mailbox query | |
| Errors | NULL_ARGUMENT |  mailboxQueryInspector is null  | |
| UNSUPPORTED |  mailboxQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |