Uses of Class
com.openexchange.mail.MailField

Packages that use MailField
com.openexchange.mail   
com.openexchange.mail.api   
com.openexchange.mail.api.enhanced   
com.openexchange.mail.mime.converters   
com.openexchange.mail.mime.utils   
com.openexchange.mail.search   
 

Uses of MailField in com.openexchange.mail
 

Fields in com.openexchange.mail declared as MailField
static MailField[] MailField.FIELDS_LOW_COST
          All low cost fields
static MailField[] MailField.FIELDS_WO_BODY
          All fields except BODY and FULL
 

Methods in com.openexchange.mail that return MailField
static MailField MailField.getField(int field)
          Maps specified int value to a mail field.
static MailField[] MailField.getFields(int[] fields)
          Creates an array of MailField corresponding to given int values.
 MailField[] MailFields.toArray()
          Returns a newly created array of MailField constants
static MailField MailField.toField(MailListField listField)
          Gets the corresponding instance of MailField for specified instance of MailListField.
static MailField[] MailField.toFields(MailListField[] listFields)
          Gets the corresponding instances of MailField for specified instances of MailListField.
static MailField MailField.valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MailField[] MailField.values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 

Methods in com.openexchange.mail that return types with arguments of type MailField
static java.util.Set<MailField> MailField.getMailFieldsFromSearchTerm(SearchTerm<?> searchTerm)
          Gets the mail fields addressed by given search term
 java.util.Set<MailField> MailFields.toSet()
          Returns a newly created set of MailField constants.
 

Methods in com.openexchange.mail with parameters of type MailField
 MailFields MailFields.add(MailField mailField)
          Adds specified MailField constant.
 void MailFields.addAll(MailField[] mailFields)
          Adds specified MailField constants.
 boolean MailFields.contains(MailField mailField)
          Checks if specified MailField constant is contained.
 void MailFields.removeMailField(MailField mailField)
          Removes specified MailField constant.
 void MailFields.removeMailFields(MailField[] mailFields)
          Removes specified MailField constants.
static MailListField[] MailField.toListFields(MailField[] fields)
          Gets the corresponding instances of MailListField for specified instances of MailField.
 

Method parameters in com.openexchange.mail with type arguments of type MailField
 void MailFields.addAll(java.util.Collection<MailField> mailFields)
          Adds specified collection of MailField constants.
static MailListField[] MailField.toListFields(java.util.Collection<MailField> fields)
          Gets the corresponding instances of MailListField for specified collection of MailField.
 

Constructors in com.openexchange.mail with parameters of type MailField
MailFields(MailField[] mailFields)
          Initializes a new instance of MailFields pre-filled with specified array of MailField constants.
 

Constructor parameters in com.openexchange.mail with type arguments of type MailField
MailFields(java.util.Collection<MailField> mailFields)
          Initializes a new instance of MailFields pre-filled with specified collection of MailField constants.
 

Uses of MailField in com.openexchange.mail.api
 

Methods in com.openexchange.mail.api with parameters of type MailField
 MailMessage[] IMailMessageStorage.getAllMessages(java.lang.String folder, IndexRange indexRange, MailSortField sortField, OrderDirection order, MailField[] fields)
          A convenience method that delivers all messages contained in given folder through invoking searchMessages() without search arguments.
 MailMessage[] MailMessageStorage.getAllMessages(java.lang.String folder, IndexRange indexRange, MailSortField sortField, OrderDirection order, MailField[] fields)
          A convenience method that delivers all messages contained in given folder through invoking searchMessages() without search arguments.
 MailMessage[] IMailMessageStorage.getDeletedMessages(java.lang.String folder, MailField[] fields)
          Gets all deleted messages in specified folder.
 MailMessage[] MailMessageStorage.getDeletedMessages(java.lang.String folder, MailField[] fields)
          Gets all deleted messages in specified folder.
 MailMessage[] IMailMessageStorage.getMessages(java.lang.String folder, java.lang.String[] mailIds, MailField[] fields)
          Gets the mails located in given folder whose mail ID matches specified ID.
abstract  MailMessage[] MailMessageStorage.getMessages(java.lang.String folder, java.lang.String[] mailIds, MailField[] fields)
           
 MailMessage[] IMailMessageStorageExt.getMessages(java.lang.String folder, java.lang.String[] mailIds, MailField[] fields, java.lang.String[] headerNames)
          Gets the mails located in given folder whose mail ID matches specified ID.
 MailMessage[] IMailMessageStorage.getNewAndModifiedMessages(java.lang.String folder, MailField[] fields)
          Gets all new and modified messages in specified folder.
 MailMessage[] MailMessageStorage.getNewAndModifiedMessages(java.lang.String folder, MailField[] fields)
          Gets all new and modified messages in specified folder.
 MailMessage[] IMailMessageStorage.getThreadSortedMessages(java.lang.String folder, IndexRange indexRange, MailSortField sortField, OrderDirection order, SearchTerm<?> searchTerm, MailField[] fields)
          An optional convenience method that gets the messages located in given folder sorted by message thread reference.
 MailMessage[] MailMessageStorage.getThreadSortedMessages(java.lang.String folder, IndexRange indexRange, MailSortField sortField, OrderDirection order, SearchTerm<?> searchTerm, MailField[] fields)
           
 MailMessage[] IMailMessageStorage.getUnreadMessages(java.lang.String folder, MailSortField sortField, OrderDirection order, MailField[] fields, int limit)
          Gets all unread messages located in given folder; meaning messages that do not have the \Seen flag set.
 MailMessage[] MailMessageStorage.getUnreadMessages(java.lang.String folder, MailSortField sortField, OrderDirection order, MailField[] fields, int limit)
          Gets all unread messages located in given folder; meaning messages that do not have the \Seen flag set.
 MailMessage[] IMailMessageStorage.searchMessages(java.lang.String folder, IndexRange indexRange, MailSortField sortField, OrderDirection order, SearchTerm<?> searchTerm, MailField[] fields)
          Searches mails located in given folder.
abstract  MailMessage[] MailMessageStorage.searchMessages(java.lang.String folder, IndexRange indexRange, MailSortField sortField, OrderDirection order, SearchTerm<?> searchTerm, MailField[] fields)
           
 

Uses of MailField in com.openexchange.mail.api.enhanced
 

Methods in com.openexchange.mail.api.enhanced with parameters of type MailField
 MailMessage[] MailMessageStorageLong.getAllMessages(java.lang.String folder, IndexRange indexRange, MailSortField sortField, OrderDirection order, MailField[] fields)
          A convenience method that delivers all messages contained in given folder through invoking searchMessages() without search arguments.
 MailMessage[] MailMessageStorageLong.getMessages(java.lang.String folder, java.lang.String[] mailIds, MailField[] fields)
           
abstract  MailMessage[] MailMessageStorageLong.getMessagesLong(java.lang.String folder, long[] mailIds, MailField[] fields)
          Gets the mails located in given folder whose mail ID matches specified ID.
 MailMessage[] MailMessageStorageLong.getThreadSortedMessages(java.lang.String folder, IndexRange indexRange, MailSortField sortField, OrderDirection order, SearchTerm<?> searchTerm, MailField[] fields)
          An optional convenience method that gets the messages located in given folder sorted by message thread reference.
 MailMessage[] MailMessageStorageLong.getUnreadMessages(java.lang.String folder, MailSortField sortField, OrderDirection order, MailField[] fields, int limit)
          Gets all unread messages located in given folder; meaning messages that do not have the \Seen flag set.
abstract  MailMessage[] MailMessageStorageLong.searchMessages(java.lang.String folder, IndexRange indexRange, MailSortField sortField, OrderDirection order, SearchTerm<?> searchTerm, MailField[] fields)
          Searches mails located in given folder.
 

Uses of MailField in com.openexchange.mail.mime.converters
 

Methods in com.openexchange.mail.mime.converters with parameters of type MailField
static void MIMEMessageConverter.checkFieldExistence(MailMessage[] mails, MailField[] fields)
          Checks field existence.
static MailMessage MIMEMessageConverter.convertMessage(byte[] asciiBytes, java.lang.String uid, java.lang.String fullname, char separator, MailField[] fields)
          Creates a message data object from given message/rfc822 content filled with desired fields.
static MailMessage MIMEMessageConverter.convertMessage(javax.mail.internet.MimeMessage msg, java.lang.String uid, java.lang.String fullname, char separator, MailField[] fields)
          Creates a message data object from given MIME message filled with desired fields.
static MailMessage[] MIMEMessageConverter.convertMessages(javax.mail.Message[] msgs, javax.mail.Folder folder, MailField[] fields, boolean includeBody)
          Converts given array of Message instances to an array of MailMessage instances.
static MailMessage[] MIMEMessageConverter.convertMessages(javax.mail.Message[] msgs, MailField[] fields)
          Converts given array of Message instances to an array of MailMessage instances.
static MailMessage[] MIMEMessageConverter.convertMessages(javax.mail.Message[] msgs, MailField[] fields, java.lang.String[] headerNames, boolean includeBody)
          Converts given array of Message instances to an array of MailMessage instances.
 

Uses of MailField in com.openexchange.mail.mime.utils
 

Methods in com.openexchange.mail.mime.utils that return MailField
static MailField[] MIMEStorageUtility.getCacheFieldsArray()
          The corresponding fields to fetch profile obtained by MIMEStorageUtility.getCacheFetchProfile()
 

Methods in com.openexchange.mail.mime.utils that return types with arguments of type MailField
static java.util.Collection<MailField> MIMEStorageUtility.fetchProfile2MailListFields(javax.mail.FetchProfile fetchProfile)
          Creates an appropriate collection of MailField enumeration constants from given fetch profile
static java.util.Collection<MailField> MIMEStorageUtility.getCacheFields()
          The corresponding fields to fetch profile obtained by MIMEStorageUtility.getCacheFetchProfile()
 

Methods in com.openexchange.mail.mime.utils with parameters of type MailField
static javax.mail.FetchProfile MIMEStorageUtility.getFetchProfile(MailField[] fields, boolean preferEnvelope)
          Gets the appropriate fetch profile.
static javax.mail.FetchProfile MIMEStorageUtility.getFetchProfile(MailField[] fields, MailField[] searchFields, MailField sortField, boolean preferEnvelope)
          Gets the appropriate fetch profile Note that BODY and FULL are discarded since no corresponding fetch profile item exists and therefore should be handled separately.
static javax.mail.FetchProfile MIMEStorageUtility.getFetchProfile(MailField[] fields, MailField[] searchFields, MailField sortField, boolean preferEnvelope)
          Gets the appropriate fetch profile Note that BODY and FULL are discarded since no corresponding fetch profile item exists and therefore should be handled separately.
static javax.mail.FetchProfile MIMEStorageUtility.getFetchProfile(MailField[] fields, MailField[] searchFields, MailField sortField, boolean preferEnvelope)
          Gets the appropriate fetch profile Note that BODY and FULL are discarded since no corresponding fetch profile item exists and therefore should be handled separately.
static javax.mail.FetchProfile MIMEStorageUtility.getFetchProfile(MailField[] fields, MailField sortField, boolean preferEnvelope)
          Gets the appropriate fetch profile Note that BODY and FULL are discarded since no corresponding fetch profile item exists and therefore should be handled separately.
static javax.mail.FetchProfile MIMEStorageUtility.getFetchProfile(MailField[] fields, MailField sortField, boolean preferEnvelope)
          Gets the appropriate fetch profile Note that BODY and FULL are discarded since no corresponding fetch profile item exists and therefore should be handled separately.
static javax.mail.FetchProfile MIMEStorageUtility.getFetchProfile(MailField[] fields, java.lang.String[] headerNames, MailField[] searchFields, MailField sortField, boolean preferEnvelope)
          Gets the appropriate fetch profile Note that BODY and FULL are discarded since no corresponding fetch profile item exists and therefore should be handled separately.
static javax.mail.FetchProfile MIMEStorageUtility.getFetchProfile(MailField[] fields, java.lang.String[] headerNames, MailField[] searchFields, MailField sortField, boolean preferEnvelope)
          Gets the appropriate fetch profile Note that BODY and FULL are discarded since no corresponding fetch profile item exists and therefore should be handled separately.
static javax.mail.FetchProfile MIMEStorageUtility.getFetchProfile(MailField[] fields, java.lang.String[] headerNames, MailField[] searchFields, MailField sortField, boolean preferEnvelope)
          Gets the appropriate fetch profile Note that BODY and FULL are discarded since no corresponding fetch profile item exists and therefore should be handled separately.
 

Uses of MailField in com.openexchange.mail.search
 

Method parameters in com.openexchange.mail.search with type arguments of type MailField
 void BccTerm.addMailField(java.util.Collection<MailField> col)
           
 void SizeTerm.addMailField(java.util.Collection<MailField> col)
           
 void HeaderTerm.addMailField(java.util.Collection<MailField> col)
           
 void CcTerm.addMailField(java.util.Collection<MailField> col)
           
 void ORTerm.addMailField(java.util.Collection<MailField> col)
           
 void FromTerm.addMailField(java.util.Collection<MailField> col)
           
 void FlagTerm.addMailField(java.util.Collection<MailField> col)
           
 void ReceivedDateTerm.addMailField(java.util.Collection<MailField> col)
           
 void BooleanTerm.addMailField(java.util.Collection<MailField> col)
           
 void BodyTerm.addMailField(java.util.Collection<MailField> col)
           
 void SentDateTerm.addMailField(java.util.Collection<MailField> col)
           
 void SubjectTerm.addMailField(java.util.Collection<MailField> col)
           
abstract  void SearchTerm.addMailField(java.util.Collection<MailField> col)
          Adds the addressed MailField to specified collection
 void NOTTerm.addMailField(java.util.Collection<MailField> col)
           
 void ToTerm.addMailField(java.util.Collection<MailField> col)
           
 void ANDTerm.addMailField(java.util.Collection<MailField> col)