Method Summary |
|
public Subscription | createSubscription(String host) Create and return a new
Subscription associated with this
User, for the specified host name. |
public Subscription | findSubscription(String host) Find and return the
Subscription associated with the specified
host. |
public UserDatabase | getDatabase() Return the
UserDatabase with which we are associated. |
public String | getFromAddress() Return the from address. |
public String | getFullName() Return the full name. |
public String | getPassword() Return the password. |
public String | getReplyToAddress() Return the reply-to address. |
public Subscription[] | getSubscriptions() Find and return all
Subscription s associated with this user. |
public String | getUsername() Return the username. |
public void | removeSubscription(Subscription subscription) Remove the specified
Subscription from being associated
with this User. |
public void | setFromAddress(String fromAddress) Set the from address. |
public void | setFullName(String fullName) Set the full name. |
public void | setPassword(String password) Set the password. |
public void | setReplyToAddress(String replyToAddress) Set the reply-to address. |