|
Oracle Email Java API Reference Release 2(9.0.4) B10724-01 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.mail.sdk.esmail.OracleUtility
An utility class that provides a number of mail utility functionality, such as portlet functionality and auth send
Constructor Summary | |
OracleUtility() |
Method Summary | |
static void |
auth_sendMessage(oracle.mail.sdk.esmail.Store store, javax.mail.Message message) |
static void |
auth_sendMessage(oracle.mail.sdk.esmail.Store store, javax.mail.Message message, oracle.mail.sdk.esmail.Address[] addresses) |
static java.lang.String |
convertACL(java.lang.String aACLString) Convert V1 style ACLs to V2 style. |
static int[] |
getInboxCounts(java.lang.String aUsername, oracle.mail.DBConnectInfo aConnectInfo) |
static javax.mail.search.SearchTerm |
parse(java.lang.String command) Utility method to parse an IMAP search command string and return a SearchTerm object. |
static java.lang.String |
serialize(javax.mail.search.SearchTerm st) Convert a SearchTerm object into IMAP style search command |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OracleUtility()
Method Detail |
public static void auth_sendMessage(oracle.mail.sdk.esmail.Store store, javax.mail.Message message) throws oracle.mail.sdk.esmail.MessagingException
public static void auth_sendMessage(oracle.mail.sdk.esmail.Store store, javax.mail.Message message, oracle.mail.sdk.esmail.Address[] addresses) throws oracle.mail.sdk.esmail.MessagingException
public static int[] getInboxCounts(java.lang.String aUsername, oracle.mail.DBConnectInfo aConnectInfo)
public static javax.mail.search.SearchTerm parse(java.lang.String command) throws java.lang.Exception
command
- The IMAP search commandpublic static java.lang.String serialize(javax.mail.search.SearchTerm st) throws oracle.mail.sdk.esmail.MessagingException, java.io.IOException
st
- The SearchTerm object to be serializedpublic static java.lang.String convertACL(java.lang.String aACLString)
In OCS v1, no grouping of acis was done. The only supported acis were i(write) and r(read). If you had r, you also got the privilige to list(l) and set seen flag(s). If you had i, you also got the privilige to set other flags(w), list(l) and delete/expunge(d). This method takes in a V1 style acl string and returns a V2 style ACL string.
aACLString
- V1-style ACL string
|
Oracle Email Java API Reference Release 2(9.0.4) B10724-01 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |