Method Summary |
|
public void | addMailHost(String name, String host, String login, String password) Add a mailbox to this user's data. |
public boolean | checkPassword(String s) Check the given password against the user's password. |
public String | getDomain() Return the name of the virtual domain this user is in. |
public String | getEmail() Get the email address of the user. |
public String | getFirstLogin() Get a localized string containing the date when the user first logged in. |
public String | getFullName() Return the full name (christian and last name) of the user. |
public String | getLastLogin() Get a localized string containing the date when the user logged in
the last time. |
public String | getLogin() Returns the username concatenated with '@' and the virtual domain. |
public String | getLoginCount() Get a string containing the total count of logins for the user. |
public MailHostData | getMailHost(String name) Return the mailhost data for the mailbox with the given name. |
public int | getMaxLineLength() Break lines at this maximum length.Only applicable if the user configured
to break lines. |
public int | getMaxShowMessages() Return the value that the user configured as maximum number of
messages to display on one page of the message list. |
public String | getPasswordData() Get the password data for this user. |
public Locale | getPreferredLocale() Return the locale that this user configured. |
public String | getSentFolder() Return the id of the folder that should be used to store sent messages. |
public String | getSignature() Return the signature of this user that should be appended to
composed messages. |
public String | getTheme() Return the theme that the user configured. |
public String | getUserName() Return the username without the domain (in contrast to getLogin()). |
public void | login() |
public void | logout() |
public Enumeration | mailHosts() Return the list of mailbox names of the mailboxes this user has. |
public void | removeMailHost(String name) Remove the mailhost with the given name. |
public void | setBreakLines(boolean b) Set whether the user wants to force line breaks or not. |
public void | setDomain(String s) Set the name of the virtual domain this user is in. |
public void | setEmail(String s) Set the email address of the user. |
public void | setFullName(String s) Set the full name (christian and last name) of the user. |
public void | setMaxLineLength(int i) Set the maximum column count for messages. |
public void | setMaxShowMessages(int i) Set the number of maximum messages to display on one page of the
messagelist. |
public void | setPassword(String newpasswd, String verify) Change the users password. |
public void | setPasswordData(String data) Set the password data for a user. |
public void | setPreferredLocale(String newloc) Set the preferred locale for this user
Parameters: newloc - name of the new locale (e.g. |
public void | setSaveSent(boolean b) Set whether the user wants to save sent messages or not. |
public void | setSentFolder(String s) Set the id of the folder that should be used to store sent messages. |
public void | setSetFlags(boolean b) Enable/disable write mode on mailboxes. |
public void | setShowFancy(boolean b) Set whether the user wants some graphical enhancements (image smileys, etc). |
public void | setShowImages(boolean b) Set whether the user wants attached images to be shown inlined in the messages. |
public void | setSignature(String s) Set the signature that should be appended to composed messages. |
public void | setTheme(String theme) Change the theme for this user. |
public boolean | wantsBreakLines() Check whether the user wants to force line breaks. |
public boolean | wantsSaveSent() Check whether the user wants to save sent messages or not. |
public boolean | wantsSetFlags() Check whether write mode is enabled on mailboxes. |
public boolean | wantsShowFancy() Check whether the user wants some graphical enhancements (image smileys, etc). |
public boolean | wantsShowImages() Check whether the user wants attached images to be shown inlined in
the messages or not. |