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.
|
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, or
public PersonalStorageQueryBuilder()
Initializes a new instance of the PersonalStorageQueryBuilder
class.
public 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 StringComparisonField getMessageClass()
Gets messages with an specified message class.
Value: TheStringComparisonField
that represents a message class.public IntComparisonField getMessageSize()
Search messages with an specified size.
public IntComparisonField getImportance()
Search messages with an specified importance.
public StringComparisonField getContainerClass()
Gets folders with an specified message class.
Value: TheStringComparisonField
that represents a container class.public StringComparisonField getFolderName()
Search folders with an specified display name.
public IntComparisonField getContentsCount()
Search folders with an specified contents count.
public IntComparisonField getUnreadContentsCount()
Search folders with an specified unread contents count.
public MailQuery findConversationThread(MessageInfo relatedMessage)
Finds the conversation thread.
relatedMessage
- The related message.public MailQuery hasFlags(long flags)
Search messages with the specified flags.
flags
- The flags.MailQuery
that represents search query
(one searching criteria).public MailQuery hasNoFlags(long flags)
Search messages with the unspecified flags.
flags
- The flags.MailQuery
that represents search query
(one searching criteria).public MailQuery hasSubfolders()
Search folders which contains subfolders.
MailQuery
that represents search query
(one searching criteria).public MailQuery hasNoSubfolders()
Search folders which does not contains subfolders.
MailQuery
that represents search query
(one searching criteria).Copyright (c) 2008-2017 Aspose Pty Ltd. All Rights Reserved.