Interface MailboxSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The interface for governing mailbox searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetMailboxSearchRecord(Type mailboxSearchRecordType) Gets the mailbox search record corresponding to the given mailbox search recordType.voidorderMailboxResults(MailboxSearchOrder mailboxSearchOrder) Specify an ordering to the search results.voidsearchAmongMailboxes(IdList mailboxIds) Execute this search among the given list of mailboxes.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongMailboxes
Execute this search among the given list of mailboxes.- Parameters:
mailboxIds- list of mailboxes- Throws:
NullArgumentException-mailboxIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderMailboxResults
Specify an ordering to the search results.- Parameters:
mailboxSearchOrder- mailbox search order- Throws:
NullArgumentException-mailboxSearchOrderisnullUnsupportedException-mailboxSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getMailboxSearchRecord
MailboxSearchRecord getMailboxSearchRecord(Type mailboxSearchRecordType) throws OperationFailedException Gets the mailbox search record corresponding to the given mailbox search recordType. This method must be used to retrieve an object implementing the requested record interface along with all of its ancestor interfaces.- Parameters:
mailboxSearchRecordType- a mailbox search record type- Returns:
- the mailbox search record
- Throws:
NullArgumentException-mailboxSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(mailboxSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-