ExchangeQueryBuilder
Inheritance: java.lang.Object, com.aspose.email.MailQueryBuilder
public final class ExchangeQueryBuilder extends MailQueryBuilder
Represents the builder of search expression based on search filters that used by Exchange protocol.
Constructors
Constructor | Description |
---|---|
ExchangeQueryBuilder() | Initializes a new instance of the ExchangeQueryBuilder class. |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getAppointment() | Gets object with appointment properties to create query |
getBcc() | Gets the field that allows to find messages that contain the specified string in the envelope structure’s BCC field. |
getBody() | Gets the field that allows to find messages that contain the specified string in the body of the message. |
getCc() | Gets the field that allows to find messages that contain the specified string in the envelope structure’s CC field. |
getClass() | |
getContact() | Gets object with contact properties to create query |
getContentClass() | Gets items with an specified content class. |
getDefaultEncoding() | Gets default encoding (charset) for query builder |
getExtendedProperties() | |
getFrom() | Gets the field that allows to find messages that contain the specified string in the envelope structure’s FROM field. |
getInternalDate() | Gets the field that allows to find messages by internal date. |
getItemSize() | Gets the field that allows to find items with a specified size. |
getMessageId() | Gets the field that allows to find messages that contain the specified string in the envelope structure’s MessageId field. |
getQuery() | Gets the query. |
getSentDate() | Gets the field that allows to find messages by sent date. |
getSubject() | Gets the field that allows to find messages that contain the specified string in the envelope structure’s SUBJECT field. |
getTaskStatus() | Gets the field that allows to find tasks that contains the specified status. |
getText() | Gets the field that allows to find the messages that contain the specified string in the headers (subject, from, to, cc) and body of the message. |
getTo() | Gets the field that allows to find messages that contain the specified string in the envelope structure’s TO field. |
hasFlags(int flags) | Search messages with the specified flags. |
hasNoFlags(int flags) | Search messages with the unspecified flags. |
hashCode() | |
notify() | |
notifyAll() | |
or(MailQuery query1, MailQuery query2) | Search messages that match either search key. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
ExchangeQueryBuilder()
public ExchangeQueryBuilder()
Initializes a new instance of the ExchangeQueryBuilder class.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getAppointment()
public final AppointmentQueryBuilder getAppointment()
Gets object with appointment properties to create query
Returns: AppointmentQueryBuilder
getBcc()
public final StringComparisonField getBcc()
Gets the field that allows to find messages that contain the specified string in the envelope structure’s BCC field.
Value: The DateComparisonField that represents BCC search field.
Returns: StringComparisonField
getBody()
public final StringComparisonField getBody()
Gets the field that allows to find messages that contain the specified string in the body of the message.
Value: The DateComparisonField that represents body search field.
Returns: StringComparisonField
getCc()
public final StringComparisonField getCc()
Gets the field that allows to find messages that contain the specified string in the envelope structure’s CC field.
Value: The DateComparisonField that represents cc search field.
Returns: StringComparisonField
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getContact()
public final ContactQueryBuilder getContact()
Gets object with contact properties to create query
Returns: ContactQueryBuilder
getContentClass()
public final StringComparisonField getContentClass()
Gets items with an specified content class.
Value: The StringComparisonField that represents a content class.
Returns: StringComparisonField
getDefaultEncoding()
public final Charset getDefaultEncoding()
Gets default encoding (charset) for query builder
Returns: java.nio.charset.Charset
getExtendedProperties()
public final ExtendedPropertiesComparisonField getExtendedProperties()
Value: Gets dictionary with pairs of property descriptors and comparison field to search by extended properties.
Returns: ExtendedPropertiesComparisonField
getFrom()
public final StringComparisonField getFrom()
Gets the field that allows to find messages that contain the specified string in the envelope structure’s FROM field.
Value: The DateComparisonField that represents from search field.
Returns: StringComparisonField
getInternalDate()
public final DateComparisonField getInternalDate()
Gets the field that allows to find messages by internal date.
Value: The DateComparisonField that represents internal date search field.
Returns: DateComparisonField
getItemSize()
public final IntComparisonField getItemSize()
Gets the field that allows to find items with a specified size.
Returns: IntComparisonField
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.
Returns: StringComparisonField
getQuery()
public MailQuery getQuery()
Gets the query.
Returns: MailQuery - MailQuery that represents search query.
getSentDate()
public final DateComparisonField getSentDate()
Gets the field that allows to find messages by sent date.
Value: The DateComparisonField that represents sent date search field.
Returns: DateComparisonField
getSubject()
public final StringComparisonField getSubject()
Gets the field that allows to find messages that contain the specified string in the envelope structure’s SUBJECT field.
Value: The DateComparisonField that represents subject search field.
Returns: StringComparisonField
getTaskStatus()
public final EnumComparisonField getTaskStatus()
Gets the field that allows to find tasks that contains the specified status. Server compatibility: Exchange 2010 and higher
Returns: EnumComparisonField
getText()
public final StringComparisonField getText()
Gets the field that allows to find the messages that contain the specified string in the headers (subject, from, to, cc) and body of the message.
Value: The DateComparisonField that represents text header or body search fields.
Returns: StringComparisonField
getTo()
public final StringComparisonField getTo()
Gets the field that allows to find messages that contain the specified string in the envelope structure’s TO field.
Value: The DateComparisonField that represents TO search field.
Returns: StringComparisonField
hasFlags(int flags)
public final MailQuery hasFlags(int flags)
Search messages with the specified flags.
Parameters:
Parameter | Type | Description |
---|---|---|
flags | int | The flags. |
Returns: MailQuery - MailQuery that represents search query (one searching criteria).
hasNoFlags(int flags)
public final MailQuery hasNoFlags(int flags)
Search messages with the unspecified flags.
Parameters:
Parameter | Type | Description |
---|---|---|
flags | int | The flags. |
Returns: MailQuery - MailQuery that represents search query (one searching criteria).
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
or(MailQuery query1, MailQuery query2)
public MailQuery or(MailQuery query1, MailQuery query2)
Search messages that match either search key. Provides disjunction between two expressions (OR).
Parameters:
Parameter | Type | Description |
---|---|---|
query1 | MailQuery | The query1. |
query2 | MailQuery | The query2. |
Returns: MailQuery - MailQuery that represents search query (one searching criterion).
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |