|
Oracle® Mail Java API Reference 10g Release 1 (10.1.1) B14492-01 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.mail.sdk.esmail.OracleSortCriteria | +--oracle.mail.sdk.esmail.AnnotateSortCriteria
This class supports sorting based on annotations/comments and is an extension to the Standard JMA functionality. A user can construct the AnnotateSortCriteria based on a combination of the entry_name and value string OR entry_name and size of the value string.
Field Summary | |
static java.lang.String |
ANNOTATE |
static int |
ANNOTATE_VALUE |
static int |
ANNOTATE_VALUE_SIZE |
Fields inherited from class oracle.mail.sdk.esmail.OracleSortCriteria |
ASC, CC, DESC, FROM, INTERNAL_DATE, MSG_SIZE, SENT_DATE, SUBJECT, TO |
Constructor Summary | |
AnnotateSortCriteria(java.lang.String key, int valueSize, int sortOrder) Constructor |
|
AnnotateSortCriteria(java.lang.String key, int valueType, java.lang.String theValueOrtheSize, int sortOrder) Constructor |
|
AnnotateSortCriteria(java.lang.String key, java.lang.String value, int sortOrder) Constructor |
Method Summary | |
int |
getType() getType - value or size of value. |
int |
getValueSize() getValueSize - getter for the size of the annotation value. |
java.lang.String |
getValueString() getValueString - Use this method to get the string representing the annotation value. |
void |
print() |
Methods inherited from class oracle.mail.sdk.esmail.OracleSortCriteria |
getHeader, getOrder, setHeader, setOrder |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ANNOTATE_VALUE
public static final int ANNOTATE_VALUE_SIZE
public static final java.lang.String ANNOTATE
Constructor Detail |
public AnnotateSortCriteria(java.lang.String key, int valueType, java.lang.String theValueOrtheSize, int sortOrder) throws java.lang.Exception
Constructor
key
- - annotation entry namevalueType
- - ANNOTATE_VALUE(value string) or ANNOTATE_VALUE_SIZE(value size)theValueOrtheSize
- - string representation of value or value sizesortOrder
- - OracleSortCriteria.ASC, OracleSortCriteria.DESCpublic AnnotateSortCriteria(java.lang.String key, java.lang.String value, int sortOrder) throws java.lang.Exception
Constructor
key
- - annotation entry namevalue
- - value stringsortOrder
- - OracleSortCriteria.ASC, OracleSortCriteria.DESCpublic AnnotateSortCriteria(java.lang.String key, int valueSize, int sortOrder) throws java.lang.Exception
Constructor
key
- - annotation entry namevalueSize
- - Size of the annotate valuesortOrder
- - OracleSortCriteria.ASC, OracleSortCriteria.DESCMethod Detail |
public java.lang.String getValueString()
getValueString - Use this method to get the string representing the annotation value.
public int getValueSize()
getValueSize - getter for the size of the annotation value.
public int getType()
getType - value or size of value.
public void print()
|
Oracle® Mail Java API Reference 10g Release 1 (10.1.1) B14492-01 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |