|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--dtw.webmail.util.AbstractIdentifiable
|
+--dtw.webmail.util.AssociatedAbstractIdentifiable
|
+--dtw.webmail.plugin.std.CastorMailIdentity
Class implementing a specialized JwmaMailIdentityImpl for being persisted with the Castor Plugins.
| Field Summary |
| Fields inherited from interface org.exolab.castor.jdo.TimeStampable |
NO_TIMESTAMP |
| Constructor Summary | |
CastorMailIdentity()
Constructs a CastorMailIdentity instance. |
|
| Method Summary | |
java.lang.String |
getFrom()
Returns a String representing the mail address of this JwmaMailIdentity. |
java.lang.String |
getName()
Returns a String representing the name of this JwmaMailIdentity. |
java.lang.String |
getNote()
Returns a String representing the note of this JwmaMailIdentity. |
java.lang.String |
getRandomAppendType()
Returns a String representing the random append type of this JwmaMailIdentity. |
java.lang.String |
getRelatedContact()
Returns the unique identifier of the contact related with this MailIdentity. |
java.lang.String |
getReplyTo()
Returns a String representing the reply-to mail address of this JwmaMailIdentity. |
java.lang.String |
getSignature()
Returns a String representing the signature of this JwmaMailIdentity. |
boolean |
isAutoSigning()
Tests if the signature should be appended automatically for this JwmaMailIdentity. |
boolean |
isRandomAppendAllowed()
Tests if this JwmaMailIdentity want's a random string to be appended to a message. |
long |
jdoGetTimeStamp()
|
void |
jdoSetTimeStamp(long timeStamp)
|
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)
|
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 class dtw.webmail.util.AssociatedAbstractIdentifiable |
getAssociatorUID, isAssociated, resetAssociatorUID, setAssociatorUID |
| Methods inherited from class dtw.webmail.util.AbstractIdentifiable |
equals, getUID, setUID |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface dtw.webmail.model.JwmaMailIdentity |
getUID |
| Constructor Detail |
public CastorMailIdentity()
| Method Detail |
public java.lang.String getName()
JwmaMailIdentity
getName in interface JwmaMailIdentitypublic void setName(java.lang.String name)
JwmaMailIdentityImpl
setName in interface JwmaMailIdentityImplname - the name of this JwmaMailIdentitya
as String.public java.lang.String getReplyTo()
JwmaMailIdentity
getReplyTo in interface JwmaMailIdentitypublic void setReplyTo(java.lang.String addr)
JwmaMailIdentityImpl
setReplyTo in interface JwmaMailIdentityImpladdr - the reply-to mail address as String.public java.lang.String getFrom()
JwmaMailIdentity
getFrom in interface JwmaMailIdentitypublic void setFrom(java.lang.String addr)
JwmaMailIdentityImpl
setFrom in interface JwmaMailIdentityImpladdr - the mail address as String.public java.lang.String getSignature()
JwmaMailIdentity
getSignature in interface JwmaMailIdentitypublic void setSignature(java.lang.String sig)
JwmaMailIdentityImpl
setSignature in interface JwmaMailIdentityImplsig - the signature as String.public java.lang.String getRelatedContact()
JwmaMailIdentity
getRelatedContact in interface JwmaMailIdentitypublic void setRelatedContact(java.lang.String uid)
JwmaMailIdentityImpl
setRelatedContact in interface JwmaMailIdentityImpluid - the unique identifier of related contact as String.public boolean isAutoSigning()
JwmaMailIdentity
isAutoSigning in interface JwmaMailIdentitypublic void setAutoSigning(boolean b)
JwmaMailIdentityImpl
setAutoSigning in interface JwmaMailIdentityImplb - true if signature should be appended, false otherwise.public java.lang.String getNote()
JwmaMailIdentity
getNote in interface JwmaMailIdentitypublic void setNote(java.lang.String note)
JwmaMailIdentityImpl
setNote in interface JwmaMailIdentityImplnote - the note describing or commenting this
JwmaMailIdentity as String.public java.lang.String getRandomAppendType()
JwmaMailIdentity
getRandomAppendType in interface JwmaMailIdentitypublic void setRandomAppendType(java.lang.String type)
public void setRandomAppendType(java.lang.String type,
java.util.Locale loc)
JwmaMailIdentityImplThis 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).
setRandomAppendType in interface JwmaMailIdentityImpltype - the type as String.loc - a Locale.public boolean isRandomAppendAllowed()
JwmaMailIdentity
isRandomAppendAllowed in interface JwmaMailIdentitypublic long jdoGetTimeStamp()
jdoGetTimeStamp in interface org.exolab.castor.jdo.TimeStampablepublic void jdoSetTimeStamp(long timeStamp)
jdoSetTimeStamp in interface org.exolab.castor.jdo.TimeStampable
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||