|
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 | +--javax.mail.search.SearchTerm | +--oracle.mail.sdk.esmail.AnnotateTerm
This class implements a AnnotateTerm. With Oracle's Email Server OCS R3, the user has the ability to set annotations or comments on messages. Comments are key-value pairs. Per message, a user can choose to set comments. This specialized search term enables the user to search comments based on a cobination consisting of the key of the comment and either the size of of the value or the value string.
NOTE: ...
Field Summary | |
static int |
ANNOTATE_VALUE |
static int |
ANNOTATE_VALUE_SIZE |
Constructor Summary | |
AnnotateTerm(java.lang.String pattern, int valueSize) Constructor |
|
AnnotateTerm(java.lang.String pattern, int valueType, java.lang.String theValueOrtheSize) |
|
AnnotateTerm(java.lang.String pattern, java.lang.String value) Constructor |
Method Summary | |
java.lang.String |
getPattern() Return the entry name |
int |
getValueSize() Return the size of the annotation value |
java.lang.String |
getValueString() Return the annotation value |
int |
getValueType() Return the type of the annotation value |
static void |
main(java.lang.String[] args) |
boolean |
match(javax.mail.Message msg) Apply the search term to this message |
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
Constructor Detail |
public AnnotateTerm(java.lang.String pattern, int valueType, java.lang.String theValueOrtheSize) throws java.lang.Exception
public AnnotateTerm(java.lang.String pattern, int valueSize)
Constructor
pattern
- - annotation entry namevalueSize
- - size of the value stringpublic AnnotateTerm(java.lang.String pattern, java.lang.String value)
Constructor
pattern
- - annotation entry namevalue
- - the value stringMethod Detail |
public boolean match(javax.mail.Message msg)
Apply the search term to this message
public java.lang.String getPattern()
Return the entry name
public java.lang.String getValueString()
Return the annotation value
public int getValueSize()
Return the size of the annotation value
public int getValueType()
Return the type of the annotation value
public static void main(java.lang.String[] args)
|
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 |