|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for objects representing users of an email/ messaging system.
Method Summary | |
String |
getAlias()
Get local address to which mail should be delivered. |
boolean |
getAliasing()
Return true if emails should be delivered locally to an alias. |
boolean |
getForwarding()
Return true if mail for this user should be forwarded |
MailAddress |
getForwardingDestination()
Return the destination to which email should be forwarded |
boolean |
setAlias(String address)
Set local address to which email should be delivered. |
void |
setAliasing(boolean alias)
Indicate if mail received for this user should be delivered locally to a different address. |
void |
setForwarding(boolean forward)
Indicate if mail for this user should be forwarded to some other mail server. |
boolean |
setForwardingDestination(MailAddress address)
Set destination for forwading mail TODO: Should we use a MailAddress? |
boolean |
setPassword(String pass)
Change password to pass. |
Methods inherited from interface org.apache.james.services.User |
getUserName, verifyPassword |
Method Detail |
public boolean setPassword(String pass)
setPassword
in interface User
pass
- the new password
public void setForwarding(boolean forward)
forward
- whether email for this user should be forwardedpublic boolean getForwarding()
public boolean setForwardingDestination(MailAddress address)
Set destination for forwading mail
TODO: Should we use a MailAddress?
address
- the forwarding address for this userpublic MailAddress getForwardingDestination()
public void setAliasing(boolean alias)
public boolean getAliasing()
public boolean setAlias(String address)
public String getAlias()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |