| |
|
| java.lang.Object com.sun.portal.comm.url.URLBuilder com.sun.portal.comm.url.SunMailURLBuilder
Method Summary | |
public boolean | allowsComposeURL() Lets invoking classes know if composing URLs are available
in this URLBuilder. | public boolean | allowsMessageURL() Lets invoking classes know if per-message urls are available
in this URLBuilder. | public String | getComposeURL(String subject, Address[] to, Address[] cc, Address[] bcc) Return URL string to open the client's compose window. | public String | getMessageURL(Message message) Return URL string for specific message to be opened in mail client. | public void | getSession() Authenticate the user to Webmail / Messenger Express. | public String | getSid() | public void | init(SSOAdapter ssoAdapter) | public boolean | isValidSession() Checks whether the current sid for Messenger Express has
timed out. | public void | setSid(String sid) |
allowsComposeURL | public boolean allowsComposeURL()(Code) | | Lets invoking classes know if composing URLs are available
in this URLBuilder.
boolean Are compisition URLs available |
allowsMessageURL | public boolean allowsMessageURL()(Code) | | Lets invoking classes know if per-message urls are available
in this URLBuilder.
boolean Are message URLs available |
getComposeURL | public String getComposeURL(String subject, Address[] to, Address[] cc, Address[] bcc)(Code) | | Return URL string to open the client's compose window.
Parameters: String - Subject of the message javax.mail.Address[] Array of to: addresses javax.mail.Address[] Array of cc: addresses javax.mail.Address[] Array of bcc: addresses String Composition URL string |
getMessageURL | public String getMessageURL(Message message)(Code) | | Return URL string for specific message to be opened in mail client.
On error return the start URL
javax.mail.Message The message to open String Message URL string |
getSession | public void getSession()(Code) | | Authenticate the user to Webmail / Messenger Express. If the return
cookie contains 'sid' then the user is considered authenticated.
Also sets the path to the authenticated location with the sid.
|
getSid | public String getSid()(Code) | | Return the current ME session ID
String The ME session ID |
isValidSession | public boolean isValidSession()(Code) | | Checks whether the current sid for Messenger Express has
timed out. This is done by checking if the page returned by sending a Get
Mail WMAP command to messenger express contains string
"parent.timeoutCB()". If yes, then the webmailSessionId has timed out.
boolean |
setSid | public void setSid(String sid)(Code) | | Return the current session ID
Parameters: String - The session ID |
|
|
|