com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class ExchangeQueryBuilder



  • public final class ExchangeQueryBuilder
    extends MailQueryBuilder

    Represents the builder of search expression that used by Exchange protocol.

    • Constructor Detail

      • ExchangeQueryBuilder

        public ExchangeQueryBuilder()

        Initializes a new instance of the ExchangeQueryBuilder class.

    • Method Detail

      • getItemSize

        public final IntComparisonField getItemSize()

        Gets the field that allows to find items with a specified size.

      • getAttachmentName

        public final StringComparisonField getAttachmentName()

        Gets the field that allows to find items with a specified attachment name.

      • getTaskStatus

        public final EnumComparisonField getTaskStatus()

        Gets the field that allows to find tasks that contains the specified status. Server compatibility: Exchange 2010 and higher

      • getMessageId

        public final StringComparisonField getMessageId()

        Gets the field that allows to find messages that contain the specified string in the envelope structure's MessageId field.

        Value: The DateComparisonField that represents MessageId search field.
      • getExtendedProperties

        public final ExtendedPropertiesComparisonField getExtendedProperties()

        Value: Gets dictionary with pairs of property descriptors and comparison field to search by extended properties.
      • getAppointment

        public final AppointmentQueryBuilder getAppointment()

        Gets object with appointment properties to create query

      • hasFlags

        public final MailQuery hasFlags(int flags)

        Search messages with the specified flags.

        Parameters:
        flags - The flags.
        Returns:
        MailQuery that represents search query (one searching criteria).
      • hasNoFlags

        public final MailQuery hasNoFlags(int flags)

        Search messages with the unspecified flags.

        Parameters:
        flags - The flags.
        Returns:
        MailQuery that represents search query (one searching criteria).