com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class PersonalStorageQueryBuilder



  • public final class PersonalStorageQueryBuilder
    extends MailQueryBuilder

    Represents the builder of search expression that used by pst.

    • Constructor Detail

      • PersonalStorageQueryBuilder

        public PersonalStorageQueryBuilder()

        Initializes a new instance of the PersonalStorageQueryBuilder class.

    • Method Detail

      • getMessageId

        public 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.
      • getMessageClass

        public StringComparisonField getMessageClass()

        Gets messages with an specified message class.

        Value: The StringComparisonField that represents a message class.
      • getMessageSize

        public IntComparisonField getMessageSize()

        Search messages with an specified size.

      • getImportance

        public IntComparisonField getImportance()

        Search messages with an specified importance.

      • getContainerClass

        public StringComparisonField getContainerClass()

        Gets folders with an specified message class.

        Value: The StringComparisonField that represents a container class.
      • getFolderName

        public StringComparisonField getFolderName()

        Search folders with an specified display name.

      • getContentsCount

        public IntComparisonField getContentsCount()

        Search folders with an specified contents count.

      • getUnreadContentsCount

        public IntComparisonField getUnreadContentsCount()

        Search folders with an specified unread contents count.

      • findConversationThread

        public MailQuery findConversationThread(MessageInfo relatedMessage)

        Finds the conversation thread.

        Parameters:
        relatedMessage - The related message.
        Returns:
      • hasFlags

        public MailQuery hasFlags(long flags)

        Search messages with the specified flags.

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

        public MailQuery hasNoFlags(long flags)

        Search messages with the unspecified flags.

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

        public MailQuery hasSubfolders()

        Search folders which contains subfolders.

        Returns:
        MailQuery that represents search query (one searching criteria).
      • hasNoSubfolders

        public MailQuery hasNoSubfolders()

        Search folders which does not contains subfolders.

        Returns:
        MailQuery that represents search query (one searching criteria).