public final class ExchangeQueryBuilder extends MailQueryBuilder
Represents the builder of search expression that used by Exchange protocol.
Constructor and Description |
---|
ExchangeQueryBuilder()
Initializes a new instance of the
ExchangeQueryBuilder class. |
Modifier and Type | Method and Description |
---|---|
StringComparisonField |
getContentClass()
Gets items with an specified content class.
|
ExtendedPropertiesComparisonField |
getExtendedProperties() |
IntComparisonField |
getItemSize()
Gets the field that allows to find items with a specified size.
|
StringComparisonField |
getMessageId()
Gets the field that allows to find messages that contain the specified string in the envelope structure's MessageId field.
|
EnumComparisonField |
getTaskStatus()
Gets the field that allows to find tasks that contains the specified status.
|
MailQuery |
hasFlags(int flags)
Search messages with the specified flags.
|
MailQuery |
hasNoFlags(int flags)
Search messages with the unspecified flags.
|
getBcc, getBody, getCc, getDefaultEncoding, getFrom, getInternalDate, getQuery, getSentDate, getSubject, getText, getTo, or
public ExchangeQueryBuilder()
Initializes a new instance of the ExchangeQueryBuilder
class.
public IntComparisonField getItemSize()
Gets the field that allows to find items with a specified size.
public EnumComparisonField getTaskStatus()
Gets the field that allows to find tasks that contains the specified status. Server compatibility: Exchange 2010 and higher
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 getContentClass()
Gets items with an specified content class.
Value: TheStringComparisonField
that represents a content class.public ExtendedPropertiesComparisonField getExtendedProperties()
Value: Gets dictionary with pairs of property descriptors and comparison field to search by extended properties.
public MailQuery hasFlags(int flags)
Search messages with the specified flags.
flags
- The flags.MailQuery
that represents search query (one searching criteria).public MailQuery hasNoFlags(int flags)
Search messages with the unspecified flags.
flags
- The flags.MailQuery
that represents search query (one searching criteria).Copyright (c) 2008-2017 Aspose Pty Ltd. All Rights Reserved.