SearchableMailbox
(http://svn.apache.org/repos/asf/james/server/trunk/core-library/src/main/java/org/apache/james/mailboxmanager/mailbox/SearchableMailbox.java)
contains a single method:
/**
* @param result
* which fields to be returned in MessageResult
* @return MessageResult with the fields defined by <b>result</b>
* <ul>
* <li> IMAP: msn or (msn and uid)</li>
* <li> Javamail Folder: Message[]</li>
* </ul>
* @throws MailboxManagerException
* if anything went wrong
*/
MessageResult[] search(GeneralMessageSet set,SearchParameters
searchTerm, int result) throws MailboxManagerException;
i'm a little confused about the GeneralMessageSet parameter. seems a
little superfluous. i don't understand why it's needed so i'm thinking
of simplifying the interface by removing this parameter.
opinions?
- robert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]