|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for objects representing users of an email/ messaging system.
Method Summary | |
java.lang.String |
getAlias()
Get local address to which mail should be delivered. |
boolean |
getAliasing()
Return true if emails should be dlivered 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(java.lang.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 Should we use a MailAddress? |
boolean |
setPassword(java.lang.String pass)
Change password to pass. |
Methods inherited from interface org.apache.james.services.User |
getUserName, verifyPassword |
Method Detail |
public boolean setPassword(java.lang.String pass)
setPassword
in interface User
org.apache.james.services.User
newPass
- the String that is the new password.public void setForwarding(boolean forward)
public boolean getForwarding()
public boolean setForwardingDestination(MailAddress address)
public MailAddress getForwardingDestination()
public void setAliasing(boolean alias)
public boolean getAliasing()
public boolean setAlias(java.lang.String address)
public java.lang.String getAlias()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |