SortConditions
Inheritance: java.lang.Object, com.aspose.email.BaseSearchConditions
public final class SortConditions extends BaseSearchConditions
Provides the search conditions for the SORT extension. Compatibles with SORT IMAP extension described at https://tools.ietf.org/html/rfc5256
Constructors
Constructor | Description |
---|---|
SortConditions() |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getCharset() | Gets or sets charset. |
getClass() | |
getReverseBy() | Gets or sets reverse sort criteria Followed by another sort criterion, has the effect of that criterion but in reverse(descending) order. |
getSince() | Gets or sets the message date since which the search criteria matches. |
getSortBy() | Gets or sets sort criteria |
getText() | Gets or sets subject text. |
getUseUId() | Gets or sets a value indicating whether the search method returns sequence numbers or UIDs of messages. |
hashCode() | |
notify() | |
notifyAll() | |
setCharset(String value) | Gets or sets charset. |
setReverseBy(int value) | Gets or sets reverse sort criteria Followed by another sort criterion, has the effect of that criterion but in reverse(descending) order. |
setSince(Date value) | Gets or sets the message date since which the search criteria matches. |
setSortBy(int value) | Gets or sets sort criteria |
setText(String value) | Gets or sets subject text. |
setUseUId(boolean value) | Gets or sets a value indicating whether the search method returns sequence numbers or UIDs of messages. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
SortConditions()
public SortConditions()
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getCharset()
public final String getCharset()
Gets or sets charset. Indicates the charset of the strings that appear in the searching criteria.
Returns: java.lang.String
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getReverseBy()
public final int getReverseBy()
Gets or sets reverse sort criteria Followed by another sort criterion, has the effect of that criterion but in reverse(descending) order. Note: REVERSE only reverses a single criterion, and does not affect the implicit “sequence number” sort criterion if all other criteria are identical. Consequently, a sort of REVERSE SUBJECT is not the same as a reverse ordering of a SUBJECT sort. This can be avoided by use of additional criteria, e.g., SUBJECT DATE vs. REVERSE SUBJECT REVERSE DATE. In general, however, it’s better (and faster, if the client has a “reverse current ordering” command) to reverse the results in the client instead of issuing a new SORT.
Returns: int
getSince()
public final Date getSince()
Gets or sets the message date since which the search criteria matches.
Returns: java.util.Date
getSortBy()
public final int getSortBy()
Gets or sets sort criteria
Returns: int
getText()
public final String getText()
Gets or sets subject text.
Returns: java.lang.String
getUseUId()
public final boolean getUseUId()
Gets or sets a value indicating whether the search method returns sequence numbers or UIDs of messages.
Returns: boolean
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setCharset(String value)
public final void setCharset(String value)
Gets or sets charset. Indicates the charset of the strings that appear in the searching criteria.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setReverseBy(int value)
public final void setReverseBy(int value)
Gets or sets reverse sort criteria Followed by another sort criterion, has the effect of that criterion but in reverse(descending) order. Note: REVERSE only reverses a single criterion, and does not affect the implicit “sequence number” sort criterion if all other criteria are identical. Consequently, a sort of REVERSE SUBJECT is not the same as a reverse ordering of a SUBJECT sort. This can be avoided by use of additional criteria, e.g., SUBJECT DATE vs. REVERSE SUBJECT REVERSE DATE. In general, however, it’s better (and faster, if the client has a “reverse current ordering” command) to reverse the results in the client instead of issuing a new SORT.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setSince(Date value)
public final void setSince(Date value)
Gets or sets the message date since which the search criteria matches.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.util.Date |
setSortBy(int value)
public final void setSortBy(int value)
Gets or sets sort criteria
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setText(String value)
public final void setText(String value)
Gets or sets subject text.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setUseUId(boolean value)
public final void setUseUId(boolean value)
Gets or sets a value indicating whether the search method returns sequence numbers or UIDs of messages.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
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 |