|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JamesUser
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 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(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 TODO: 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 |
---|
boolean setPassword(java.lang.String pass)
setPassword
in interface User
pass
- the new password
void setForwarding(boolean forward)
forward
- whether email for this user should be forwardedboolean getForwarding()
boolean setForwardingDestination(MailAddress address)
Set destination for forwading mail
TODO: Should we use a MailAddress?
address
- the forwarding address for this userMailAddress getForwardingDestination()
void setAliasing(boolean alias)
boolean getAliasing()
boolean setAlias(java.lang.String address)
java.lang.String getAlias()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |