public final class Conversations
extends java.lang.Object
Conversations - Utility class.| Modifier and Type | Method and Description |
|---|---|
static java.util.List<Conversation> |
conversationsFor(java.lang.String fullName,
int limit,
MailFields mailFields,
IMailMessageStorage messageStorage)
Retrieves UNFOLDED conversations for specified folder.
|
static java.util.List<Conversation> |
fold(java.util.List<Conversation> toFold)
Folds specified conversations.
|
static java.util.List<MailMessage> |
messagesFor(java.lang.String fullName,
int limit,
MailFields mailFields,
IMailMessageStorage messageStorage)
Retrieves messages for specified folder.
|
public static java.util.List<Conversation> conversationsFor(java.lang.String fullName, int limit, MailFields mailFields, IMailMessageStorage messageStorage) throws com.openexchange.exception.OXException
fullName - The folder full namelimit - The limitmailFields - The mail fieldsmessageStorage - The message storagecom.openexchange.exception.OXException - If a messaging error occurspublic static java.util.List<MailMessage> messagesFor(java.lang.String fullName, int limit, MailFields mailFields, IMailMessageStorage messageStorage) throws com.openexchange.exception.OXException
fullName - The folder full namelimit - The limitmailFields - The mail fieldsmessageStorage - The message storagecom.openexchange.exception.OXException - If a messaging error occurspublic static java.util.List<Conversation> fold(java.util.List<Conversation> toFold)
toFold - The conversations to fold