Jwma

dtw.webmail.model
Interface JwmaMailIdentityImpl

All Superinterfaces:
JwmaMailIdentity
All Known Implementing Classes:
CastorMailIdentity

public interface JwmaMailIdentityImpl
extends JwmaMailIdentity

Interface for JwmaMailIdentity implementations. This is the interface any specialized implementation has to expose internal to controllers and models.

Version:
0.9.7 07/02/2003
Author:
Dieter Wimberger

Method Summary
 void setAutoSigning(boolean b)
          Sets the flag that controls wheter the signature should be appended automatically or not.
 void setFrom(java.lang.String addr)
          Sets the mail address of this JwmaMailIdentity.
 void setName(java.lang.String name)
          Sets the String representing the name of this JwmaMailIdentity.
 void setNote(java.lang.String note)
          Sets the note of this JwmaMailIdentity.
 void setRandomAppendType(java.lang.String type, java.util.Locale loc)
          Sets the random append type of this JwmaMailIdentity.
 void setRelatedContact(java.lang.String uid)
          Sets the unique identifier of the contact related with this MailIdentity.
 void setReplyTo(java.lang.String addr)
          Sets the reply-to mail address of this JwmaMailIdentityImpl.
 void setSignature(java.lang.String sig)
          Sets the signature of this MailIdentity.
 
Methods inherited from interface dtw.webmail.model.JwmaMailIdentity
getFrom, getName, getNote, getRandomAppendType, getRelatedContact, getReplyTo, getSignature, getUID, isAutoSigning, isRandomAppendAllowed
 

Method Detail

setName

public void setName(java.lang.String name)
Sets the String representing the name of this JwmaMailIdentity.

Parameters:
name - the name of this JwmaMailIdentitya as String.

setReplyTo

public void setReplyTo(java.lang.String addr)
Sets the reply-to mail address of this JwmaMailIdentityImpl.

Parameters:
addr - the reply-to mail address as String.

setFrom

public void setFrom(java.lang.String addr)
Sets the mail address of this JwmaMailIdentity.

Parameters:
addr - the mail address as String.

setSignature

public void setSignature(java.lang.String sig)
Sets the signature of this MailIdentity.

Parameters:
sig - the signature as String.

setRelatedContact

public void setRelatedContact(java.lang.String uid)
Sets the unique identifier of the contact related with this MailIdentity.

Parameters:
uid - the unique identifier of related contact as String.

setAutoSigning

public void setAutoSigning(boolean b)
Sets the flag that controls wheter the signature should be appended automatically or not.

Parameters:
b - true if signature should be appended, false otherwise.

setNote

public void setNote(java.lang.String note)
Sets the note of this JwmaMailIdentity.

Parameters:
note - the note describing or commenting this JwmaMailIdentity as String.

setRandomAppendType

public void setRandomAppendType(java.lang.String type,
                                java.util.Locale loc)
Sets the random append type of this JwmaMailIdentity.

This method will check with the plugin, if the type is supported or not. If it is not supported, it will automatically set RandomAppendPlugin.TYPE_NONE. This mechanism is also active when setting the attribute from a persistent instance, preventing problems when changing plugin implementations (and supporting other types).

Parameters:
type - the type as String.
loc - a Locale.

Jwma

Copyright © 2000-2003 jwma team (All Rights Reserved.)