|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for JwmaPreferences implementations. This is the interface any specialized implementation has to expose internal to controllers and models.
Method Summary | |
void |
addMailIdentity(JwmaMailIdentity identity)
Adds the given JwmaMailIdentity to this JwmaPreferences. |
JwmaMailIdentityImpl |
createMailIdentity()
Factory method for an implementation specific JwmaMailIdentityImpl. |
boolean |
existsMailIdentity(java.lang.String uid)
Tests if a JwmaMailIdentity with the given index exists. |
java.lang.String |
getContactDatabaseID()
Returns a String representing the user's contact database UID. |
int |
getMailIdentityCount()
Returns the count of JwmaMailIdentity instances that are associated with this JwmaPreferences. |
void |
removeMailIdentity(java.lang.String uid)
Removes the JwmaMailIdentity with the given id from this JwmaPreferences. |
void |
setAutoArchiveSent(boolean doarchive)
Sets the flag that controls wheter messages should be automatically archived when sent. |
void |
setAutoEmpty(boolean b)
Sets the flag that controls wheter messages should be automatically deleted from the trash on logout. |
void |
setAutoMoveRead(boolean domoveread)
Sets the flag that controls wheter messages should be automatically moved when read. |
void |
setAutoQuote(boolean doquote)
Sets the flag that controls wheter messages should be automatically quoted on reply. |
void |
setContactDatabaseID(java.lang.String dbid)
Sets a String representing the user's contact database UID. |
void |
setDateFormat(java.text.SimpleDateFormat dateformat)
Sets the DateFormat representing the user's preferred date format. |
void |
setDefaultMailIdentity(java.lang.String uid)
Sets the user's default identity JwmaMailIdentity instance. |
void |
setDisplayingInlined(boolean b)
Sets the flag that controls whether known mime message content is displayed inline. |
void |
setDraftFolder(java.lang.String path)
Sets the path of the draft folder. |
void |
setExpert(boolean b)
Sets the flag that shows wheter the owner of this JwmaPreferences considers to be an xpert. |
void |
setFirstname(java.lang.String firstname)
Sets the firstname of the owner of this JwmaPreferences. |
void |
setLanguage(java.lang.String language)
Sets a String representing the language. |
void |
setLastLogin(java.lang.String lastlogin)
Sets the the user's last login date and originating host. |
void |
setLastname(java.lang.String lastname)
Sets the lastname of the owner of this JwmaPreferences. |
void |
setLocale(java.util.Locale locale)
Sets the Locale associated with this JwmaPreferences. |
void |
setMessageProcessor(net.wimpi.text.Processor processor)
Sets the Processor representing the users preferred message processor for processing plain/text messages. |
void |
setMessageProcessorName(java.lang.String name)
Sets the Processor representing the users preferred message processor for processing plain/text messages by its name. |
void |
setQuoteChar(java.lang.String qc)
Sets the quoting character. |
void |
setReadMailArchive(java.lang.String path)
Sets the path of the read-mail-archive. |
void |
setRootFolder(java.lang.String path)
Sets the path of the mail root folder. |
void |
setSentMailArchive(java.lang.String path)
Sets the path of the sent-mail-archive. |
void |
setStyle(java.lang.String style)
Sets a String representing the users preferred style. |
void |
setTrashFolder(java.lang.String path)
Sets the path of the trashfolder. |
void |
setUserIdentity(java.lang.String userid)
Sets the identity of this JwmaPreferences. |
Methods inherited from interface dtw.webmail.model.JwmaPreferences |
getDateFormat, getDraftFolder, getFirstname, getLanguage, getLastLogin, getLastname, getLocale, getMailIdentity, getMailIdentity, getMessageProcessor, getMessageProcessorName, getMessageSortCriteria, getQuoteChar, getReadMailArchive, getRootFolder, getSentMailArchive, getStyle, getTrashFolder, getUserIdentity, isAutoArchiveSent, isAutoEmpty, isAutoMoveRead, isAutoQuote, isDisplayingInlined, isExpert, listMailIdentities, setMessageSortCriteria |
Method Detail |
public void setUserIdentity(java.lang.String userid)
Note:
The format of the string has to be
<username>@<postofficehost>.
public void setFirstname(java.lang.String firstname)
firstname
- the owner's firstname.public void setLastname(java.lang.String lastname)
lastname
- the owner's lastname.public void setLastLogin(java.lang.String lastlogin)
public void setLanguage(java.lang.String language)
Note that this method is a shortcut for
getLocale().setLanguage().
language
- the standard ISO639 identifier as String.public void setLocale(java.util.Locale locale)
locale
- the Locale to be set.public void setQuoteChar(java.lang.String qc)
Note: only the first character is taken from the String.
public void setAutoQuote(boolean doquote)
doquote
- true if messages being replied to should be automatically
quoted, false otherwise.public void setRootFolder(java.lang.String path)
path
- the path of root mail folder as
String.public void setSentMailArchive(java.lang.String path)
path
- the path of the sent-mail-archive as String.public void setReadMailArchive(java.lang.String path)
path
- the path of the read-mail-archive as String.public void setTrashFolder(java.lang.String path)
path
- the path of the trashfolder as String.public void setDraftFolder(java.lang.String path)
path
- the path of the draft folder as String.public void setAutoArchiveSent(boolean doarchive)
doarchive
- true if messages being sent should be automatically
archived, false otherwise.public void setAutoMoveRead(boolean domoveread)
domoveread
- true if read messages should be automatically
moved, false otherwise.public void setAutoEmpty(boolean b)
b
- true if messages in trash should be automatically
deleted on logout, false otherwise.public java.lang.String getContactDatabaseID()
public void setContactDatabaseID(java.lang.String dbid)
public void setMessageProcessorName(java.lang.String name)
Note that this method is a shortcut for
setMessageProcessor( JwmaKernel.getReference().getMessageProcessor(String name) );
name
- the Processor's identifier as String.public void setMessageProcessor(net.wimpi.text.Processor processor)
processor
- the preferred message processor.public void setDateFormat(java.text.SimpleDateFormat dateformat)
dateformat
- the user's preferred SimpleDateFormat.public void setDefaultMailIdentity(java.lang.String uid)
uid
- the identifier of the JwmaMailIdentity
to be set as default.public void addMailIdentity(JwmaMailIdentity identity)
identity
- the JwmaMailIdentity to be added.public void removeMailIdentity(java.lang.String uid)
uid
- the identifier of the JwmaMailIdentity
to be removed.public boolean existsMailIdentity(java.lang.String uid)
uid
- the identifier of the JwmaMailIdentity.public int getMailIdentityCount()
public void setExpert(boolean b)
b
- true if expert, false otherwise.public void setStyle(java.lang.String style)
style
- the style as String.public void setDisplayingInlined(boolean b)
public JwmaMailIdentityImpl createMailIdentity()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |