|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidaddemo.email.AccountData
public final class AccountData
Root bean which stores information and actions related to the email account
| Constructor Summary | |
|---|---|
AccountData()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Frees up resources used by this object. |
protected void |
finalize()
Clean up resources |
FolderData |
getCurrentFolder()
Returns the currently selected folder. |
String |
getDomain()
Returns the domain. |
TreeModel |
getFolderModel()
Get the folder model used in the Trinidad tree component showing folders. |
String |
getPassword()
Returns the password for the current user. |
PreferencesData |
getPreferences()
Returns the current user's preferences |
FolderData[] |
getRootFolders()
Returns the root folders. |
String |
getServer()
Returns the IMAP server. |
String |
getSmtpServer()
Returns the SMTP server. |
javax.mail.Store |
getStore()
Returns the JavaMail Store object. |
String |
getUsername()
Returns the user name. |
String |
login()
Process login. |
String |
logout()
Log out, and close up everything. |
void |
setCurrentFolder(FolderData folderData)
Sets the current folder. |
void |
setDomain(String domain)
Sets the domain for the current user. |
void |
setFolderModel(TreeModel model)
Set the folder model used in the Trinidad tree component showing folders. |
void |
setPassword(String password)
Sets the password for the current user. |
void |
setPreferences(PreferencesData preferences)
Sets the Preferences for the current user. |
void |
setRootFolders(FolderData[] rootFolders)
Sets the root folders. |
void |
setServer(String server)
Sets the IMAP server for the current user. |
void |
setSmtpServer(String smtpServer)
Sets the SMTP server. |
void |
setStore(javax.mail.Store store)
Sets the Store. |
void |
setUsername(String userName)
Sets the user name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccountData()
| Method Detail |
|---|
public String getUsername()
public String getDomain()
public String getServer()
public String getSmtpServer()
public String getPassword()
public javax.mail.Store getStore()
public FolderData getCurrentFolder()
public FolderData[] getRootFolders()
public PreferencesData getPreferences()
public TreeModel getFolderModel()
public void setUsername(String userName)
public void setDomain(String domain)
public void setServer(String server)
public void setSmtpServer(String smtpServer)
public void setPassword(String password)
public void setStore(javax.mail.Store store)
public void setCurrentFolder(FolderData folderData)
public void setRootFolders(FolderData[] rootFolders)
public void setPreferences(PreferencesData preferences)
throws javax.mail.MessagingException
javax.mail.MessagingExceptionpublic void setFolderModel(TreeModel model)
public String login()
public String logout()
public void destroy()
protected void finalize()
throws Throwable
finalize in class ObjectThrowable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||