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 |
---|---|
AppointmentQueryBuilder |
getAppointment()
Gets object with appointment properties to create query
|
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 final IntComparisonField getItemSize()
Gets the field that allows to find items with a specified size.
public final EnumComparisonField getTaskStatus()
Gets the field that allows to find tasks that contains the specified status. Server compatibility: Exchange 2010 and higher
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 getContentClass()
Gets items with an specified content class.
Value: TheStringComparisonField
that represents a content class.public final ExtendedPropertiesComparisonField getExtendedProperties()
Value: Gets dictionary with pairs of property descriptors and comparison field to search by extended properties.
public final AppointmentQueryBuilder getAppointment()
Gets object with appointment properties to create query
public final MailQuery hasFlags(int flags)
Search messages with the specified flags.
flags
- The flags.MailQuery
that represents search query (one searching criteria).