FileDocCategorySizeDatePackage
JamesUser.javaAPI DocApache James 2.3.12873Fri Jan 12 12:56:26 GMT 2007org.apache.james.services

JamesUser

public interface JamesUser implements User
Interface for objects representing users of an email/ messaging system.
version
$Revision: 494012 $

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetAlias()
Get local address to which mail should be delivered.

public booleangetAliasing()
Return true if emails should be delivered locally to an alias.

public booleangetForwarding()
Return true if mail for this user should be forwarded

public org.apache.mailet.MailAddressgetForwardingDestination()
Return the destination to which email should be forwarded

public booleansetAlias(java.lang.String address)
Set local address to which email should be delivered.

return
true if successful

public voidsetAliasing(boolean alias)
Indicate if mail received for this user should be delivered locally to a different address.

public voidsetForwarding(boolean forward)
Indicate if mail for this user should be forwarded to some other mail server.

param
forward whether email for this user should be forwarded

public booleansetForwardingDestination(org.apache.mailet.MailAddress address)

Set destination for forwading mail

TODO: Should we use a MailAddress?

param
address the forwarding address for this user

public booleansetPassword(java.lang.String pass)
Change password to pass. Return true if successful.

param
pass the new password
return
true if successful, false otherwise