PersonalStorageQueryBuilder

Inheritance: java.lang.Object, com.aspose.email.MailQueryBuilder

public final class PersonalStorageQueryBuilder extends MailQueryBuilder

Represents the builder of search expression that used by pst.

Constructors

ConstructorDescription
PersonalStorageQueryBuilder()Initializes a new instance of the PersonalStorageQueryBuilder class.

Methods

MethodDescription
equals(Object arg0)
findConversationThread(MessageInfo relatedMessage)Finds the conversation thread.
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()
getContainerClass()Gets folders with an specified message class.
getContentsCount()Search folders with an specified contents count.
getDefaultEncoding()Gets default encoding (charset) for query builder
getFolderName()Search folders with an specified display name.
getFrom()Gets the field that allows to find messages that contain the specified string in the envelope structure’s FROM field.
getImportance()Search messages with an specified importance.
getInternalDate()Gets the field that allows to find messages by internal date.
getMessageClass()Gets messages with an specified message class.
getMessageId()Gets the field that allows to find messages that contain the specified string in the envelope structure’s MessageId field.
getMessageSize()Search messages with an specified size.
getOnlyFoldersCreatedByUser()Gets folders that created by user, i.e.
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.
getUnreadContentsCount()Search folders with an specified unread contents count.
hasFlags(long flags)Search messages with the specified flags.
hasNoFlags(long flags)Search messages with the unspecified flags.
hasNoSubfolders()Search folders which does not contains subfolders.
hasSubfolders()Search folders which contains subfolders.
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)

PersonalStorageQueryBuilder()

public PersonalStorageQueryBuilder()

Initializes a new instance of the PersonalStorageQueryBuilder class.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

findConversationThread(MessageInfo relatedMessage)

public final MailQuery findConversationThread(MessageInfo relatedMessage)

Finds the conversation thread.

Parameters:

ParameterTypeDescription
relatedMessageMessageInfoThe related message.

Returns: MailQuery -

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

getContainerClass()

public final StringComparisonField getContainerClass()

Gets folders with an specified message class.

Value: The StringComparisonField that represents a container class.

Returns: StringComparisonField

getContentsCount()

public final IntComparisonField getContentsCount()

Search folders with an specified contents count.

Returns: IntComparisonField

getDefaultEncoding()

public final Charset getDefaultEncoding()

Gets default encoding (charset) for query builder

Returns: java.nio.charset.Charset

getFolderName()

public final StringComparisonField getFolderName()

Search folders with an specified display name.

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

getImportance()

public final IntComparisonField getImportance()

Search messages with an specified importance.

Returns: IntComparisonField

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

getMessageClass()

public final StringComparisonField getMessageClass()

Gets messages with an specified message class.

Value: The StringComparisonField that represents a message class.

Returns: StringComparisonField

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

getMessageSize()

public final IntComparisonField getMessageSize()

Search messages with an specified size.

Returns: IntComparisonField

getOnlyFoldersCreatedByUser()

public final BoolComparisonField getOnlyFoldersCreatedByUser()

Gets folders that created by user, i.e. excludes all standard IPM folders.

Value: TheBoolComparisonField that represents search field.

Returns: BoolComparisonField

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

getUnreadContentsCount()

public final IntComparisonField getUnreadContentsCount()

Search folders with an specified unread contents count.

Returns: IntComparisonField

hasFlags(long flags)

public final MailQuery hasFlags(long flags)

Search messages with the specified flags.

Parameters:

ParameterTypeDescription
flagslongThe flags.

Returns: MailQuery - MailQuery that represents search query (one searching criteria).

hasNoFlags(long flags)

public final MailQuery hasNoFlags(long flags)

Search messages with the unspecified flags.

Parameters:

ParameterTypeDescription
flagslongThe flags.

Returns: MailQuery - MailQuery that represents search query (one searching criteria).

hasNoSubfolders()

public final MailQuery hasNoSubfolders()

Search folders which does not contains subfolders.

Returns: MailQuery - MailQuery that represents search query (one searching criteria).

hasSubfolders()

public final MailQuery hasSubfolders()

Search folders which contains subfolders.

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:

ParameterTypeDescription
query1MailQueryThe query1.
query2MailQueryThe 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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int