ContactQueryBuilder
Inheritance: java.lang.Object, com.aspose.email.MailQueryBuilder
public final class ContactQueryBuilder extends MailQueryBuilder
Represents the builder of search expression that used by Exchange protocol.
Constructors
Constructor | Description |
---|---|
ContactQueryBuilder() | Initializes a new instance of the ContactQueryBuilder class. |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
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() | |
getContactCreationTime() | Gets the field that allows to find items with a specified CreationTime. |
getContactDisplayName() | Gets the field that allows to find Contact that contain the specified string in the DisplayName field. |
getCreationTime() | Gets the field that allows to find items with a specified CreationTime. |
getDefaultEncoding() | Gets default encoding (charset) for query builder |
getDisplayName() | Gets the field that allows to find Contact that contain the specified string in the DisplayName field. |
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. |
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. |
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. |
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) |
ContactQueryBuilder()
public ContactQueryBuilder()
Initializes a new instance of the ContactQueryBuilder class.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
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
getContactCreationTime()
public DateComparisonField getContactCreationTime()
Gets the field that allows to find items with a specified CreationTime.
Returns: DateComparisonField
getContactDisplayName()
public StringComparisonField getContactDisplayName()
Gets the field that allows to find Contact that contain the specified string in the DisplayName field.
Returns: StringComparisonField
getCreationTime()
public final DateComparisonField getCreationTime()
Gets the field that allows to find items with a specified CreationTime.
Returns: DateComparisonField
getDefaultEncoding()
public final Charset getDefaultEncoding()
Gets default encoding (charset) for query builder
Returns: java.nio.charset.Charset
getDisplayName()
public final StringComparisonField getDisplayName()
Gets the field that allows to find Contact that contain the specified string in the DisplayName field.
Returns: StringComparisonField
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
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
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
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 |