public final class PersonalStorageQueryBuilder extends MailQueryBuilder
Represents the builder of search expression that used by pst.
| Constructor and Description |
|---|
PersonalStorageQueryBuilder()
Initializes a new instance of the
PersonalStorageQueryBuilder class. |
| Modifier and Type | Method and Description |
|---|---|
MailQuery |
findConversationThread(MessageInfo relatedMessage)
Finds the conversation thread.
|
StringComparisonField |
getContainerClass()
Gets folders with an specified message class.
|
IntComparisonField |
getContentsCount()
Search folders with an specified contents count.
|
StringComparisonField |
getFolderName()
Search folders with an specified display name.
|
IntComparisonField |
getImportance()
Search messages with an specified importance.
|
StringComparisonField |
getMessageClass()
Gets messages with an specified message class.
|
StringComparisonField |
getMessageId()
Gets the field that allows to find messages that contain the specified string in the envelope structure's MessageId field.
|
IntComparisonField |
getMessageSize()
Search messages with an specified size.
|
BoolComparisonField |
getOnlyFoldersCreatedByUser()
Gets folders that created by user, i.e.
|
IntComparisonField |
getUnreadContentsCount()
Search folders with an specified unread contents count.
|
MailQuery |
hasFlags(long flags)
Search messages with the specified flags.
|
MailQuery |
hasNoFlags(long flags)
Search messages with the unspecified flags.
|
MailQuery |
hasNoSubfolders()
Search folders which does not contains subfolders.
|
MailQuery |
hasSubfolders()
Search folders which contains subfolders.
|
getBcc, getBody, getCc, getDefaultEncoding, getFrom, getInternalDate, getQuery, getSentDate, getSubject, getText, getTo, orpublic PersonalStorageQueryBuilder()
Initializes a new instance of the PersonalStorageQueryBuilder class.
public final BoolComparisonField getOnlyFoldersCreatedByUser()
Gets folders that created by user, i.e. excludes all standard IPM folders.
Value: TheBoolComparisonField that represents search field.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: TheDateComparisonField that represents MessageId search field.public final StringComparisonField getMessageClass()
Gets messages with an specified message class.
Value: TheStringComparisonField that represents a message class.public final IntComparisonField getMessageSize()
Search messages with an specified size.
public final IntComparisonField getImportance()
Search messages with an specified importance.
public final StringComparisonField getContainerClass()
Gets folders with an specified message class.
Value: TheStringComparisonField that represents a container class.public final StringComparisonField getFolderName()
Search folders with an specified display name.
public final IntComparisonField getContentsCount()
Search folders with an specified contents count.
public final IntComparisonField getUnreadContentsCount()
Search folders with an specified unread contents count.
public final MailQuery findConversationThread(MessageInfo relatedMessage)
Finds the conversation thread.
relatedMessage - The related message.public final MailQuery hasFlags(long flags)
Search messages with the specified flags.
flags - The flags.MailQuery that represents search query
(one searching criteria).public final MailQuery hasNoFlags(long flags)
Search messages with the unspecified flags.
flags - The flags.MailQuery that represents search query
(one searching criteria).public final MailQuery hasSubfolders()
Search folders which contains subfolders.
MailQuery that represents search query
(one searching criteria).Copyright (c) 2008-2024 Aspose Pty Ltd. All Rights Reserved.