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

      • getOnlyFoldersCreatedByUser

        public final BoolComparisonField getOnlyFoldersCreatedByUser()

        Gets folders that created by user, i.e. excludes all standard IPM folders.

        Value: TheBoolComparisonField that represents search field.
      • 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.
      • getMessageSize

        public final IntComparisonField getMessageSize()

        Search messages with an specified size.

      • getImportance

        public final IntComparisonField getImportance()

        Search messages with an specified importance.

      • getFolderName

        public final StringComparisonField getFolderName()

        Search folders with an specified display name.

      • getContentsCount

        public final IntComparisonField getContentsCount()

        Search folders with an specified contents count.

      • getUnreadContentsCount

        public final IntComparisonField getUnreadContentsCount()

        Search folders with an specified unread contents count.

      • findConversationThread

        public final MailQuery findConversationThread(MessageInfo relatedMessage)

        Finds the conversation thread.

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

        public final 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 final 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 final MailQuery hasSubfolders()

        Search folders which contains subfolders.

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

        public final MailQuery hasNoSubfolders()

        Search folders which does not contains subfolders.

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