|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for JwmaMailIdentity implementations. This is the interface any specialized implementation has to expose internal to controllers and models.
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 |
public void setName(java.lang.String name)
name
- the name of this JwmaMailIdentitya
as String.public void setReplyTo(java.lang.String addr)
addr
- the reply-to mail address as String.public void setFrom(java.lang.String addr)
addr
- the mail address as String.public void setSignature(java.lang.String sig)
sig
- the signature as String.public void setRelatedContact(java.lang.String uid)
uid
- the unique identifier of related contact as String.public void setAutoSigning(boolean b)
b
- true if signature should be appended, false otherwise.public void setNote(java.lang.String note)
note
- the note describing or commenting this
JwmaMailIdentity as String.public void setRandomAppendType(java.lang.String type, java.util.Locale loc)
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).
type
- the type as String.loc
- a Locale.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |