Methods Summary |
---|
public Subscription | createSubscription(java.lang.String host)Create and return a new {@link Subscription} associated with this
User, for the specified host name.
|
public Subscription | findSubscription(java.lang.String host)Find and return the {@link Subscription} associated with the specified
host. If none is found, return null .
|
public UserDatabase | getDatabase()Return the {@link UserDatabase} with which we are associated.
|
public java.lang.String | getFromAddress()Return the from address.
|
public java.lang.String | getFullName()Return the full name.
|
public java.lang.String | getPassword()Return the password.
|
public java.lang.String | getReplyToAddress()Return the reply-to address.
|
public Subscription[] | getSubscriptions()Find and return all {@link Subscription}s associated with this user.
If there are none, a zero-length array is returned.
|
public java.lang.String | getUsername()Return the username.
|
public boolean | hasRole(java.lang.String string)
|
public boolean | isCookieAllowed()
|
public void | removeSubscription(Subscription subscription)Remove the specified {@link Subscription} from being associated
with this User.
|
public void | setCookieAllowed(boolean allowCookie)
|
public void | setFromAddress(java.lang.String fromAddress)Set the from address.
|
public void | setFullName(java.lang.String fullName)Set the full name.
|
public void | setPassword(java.lang.String password)Set the password.
|
public void | setReplyToAddress(java.lang.String replyToAddress)Set the reply-to address.
|