Java Doc for JwmaPreferences.java in  » Web-Mail » Jwma » dtw » webmail » model » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Mail » Jwma » dtw.webmail.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


dtw.webmail.model.JwmaPreferences

JwmaPreferences
public interface JwmaPreferences (Code)
An interface defining the contract for interaction with the JwmaPreferences model.

JwmaPreferences allows a view programmer to obtain information about the users preferences to display them for reading or editing.
author:
   Dieter Wimberger
version:
   0.9.7 07/02/2003





Method Summary
public  DateFormatgetDateFormat()
     Returns a DateFormat representing the user's preferred date format.
public  StringgetDraftFolder()
     Returns a String representing the full name of the draft folder.
public  StringgetFirstname()
     Returns a String representing the firstname of the owner of this JwmaPreferences.
public  StringgetLanguage()
     Returns a String representing the language.
public  StringgetLastLogin()
     Returns a String representing the user's last login date and originating host.
public  StringgetLastname()
     Returns a String representing the lastname of the owner of this JwmaPreferences.
public  LocalegetLocale()
     Returns the Locale associated with this JwmaPreferences.
public  JwmaMailIdentitygetMailIdentity()
     Returns the user's default JwmaMailIdentity.
public  JwmaMailIdentitygetMailIdentity(String uid)
     Returns the JwmaMailIdentity with the given unique identifier.
public  ProcessorgetMessageProcessor()
     Returns a Processor representing the users preferred message processor for processing text/plain messages.
public  StringgetMessageProcessorName()
     Convenience method that returns a String representing the users preferred message processor name.
public  intgetMessageSortCriteria()
     Returns the sort criteria preference for messages.
public  StringgetQuoteChar()
     Returns a String representing the quote character.
public  StringgetReadMailArchive()
     Returns a String representing the path of the read-mail-archive.
public  StringgetRootFolder()
     Returns a String representing the path of the mail root folder.
public  StringgetSentMailArchive()
     Returns a String representing the path of the sent-mail-archive.
public  StringgetStyle()
     Returns a String representing the users preferred style.
public  StringgetTrashFolder()
     Returns a String representing the path of the read-mail-archive.
public  StringgetUserIdentity()
     Returns a String representing identity of the owner of this JwmaPreferences.
public  booleanisAutoArchiveSent()
     Tests if messages should be automatically archived when sent.
public  booleanisAutoEmpty()
     Tests if the trash should be emptied automatically when logging out.
public  booleanisAutoMoveRead()
     Tests if messages should be automatically moved when read.
public  booleanisAutoQuote()
     Tests if messages should be quoted automatically when replying.
public  booleanisDisplayingInlined()
     Tests if known mime message content should be inlined when displaying the message.
public  booleanisExpert()
     Tests if the user considers to be an xpert.
public  JwmaMailIdentity[]listMailIdentities()
     Returns a JwmaMailIdentities[] that contains all JwmaMailIdentity instances of this JwmaPreferences.
public  voidsetMessageSortCriteria(int crit)
     Sets the sort criteria preference for messages.



Method Detail
getDateFormat
public DateFormat getDateFormat()(Code)
Returns a DateFormat representing the user's preferred date format. the user's preferred DateFormat.



getDraftFolder
public String getDraftFolder()(Code)
Returns a String representing the full name of the draft folder. the full name of the draft folder as String.



getFirstname
public String getFirstname()(Code)
Returns a String representing the firstname of the owner of this JwmaPreferences. the firstname of this preferences owner.



getLanguage
public String getLanguage()(Code)
Returns a String representing the language.

Note that this method is a shortcut for getLocale().getLanguage().
the language locale as String.




getLastLogin
public String getLastLogin()(Code)
Returns a String representing the user's last login date and originating host. the last login with date and originatinghost as String.



getLastname
public String getLastname()(Code)
Returns a String representing the lastname of the owner of this JwmaPreferences. the lastname of this preferences owner.



getLocale
public Locale getLocale()(Code)
Returns the Locale associated with this JwmaPreferences. the associated Locale.



getMailIdentity
public JwmaMailIdentity getMailIdentity()(Code)
Returns the user's default JwmaMailIdentity. a the preferred or default JwmaMailIdentity.



getMailIdentity
public JwmaMailIdentity getMailIdentity(String uid)(Code)
Returns the JwmaMailIdentity with the given unique identifier. If the identifier is invalid, the method will return the default mail identity.
Parameters:
  uid - a unique identifier of a mail identity. the JwmaMailIdentity with the given uid.



getMessageProcessor
public Processor getMessageProcessor()(Code)
Returns a Processor representing the users preferred message processor for processing text/plain messages. the message processor as Processor.



getMessageProcessorName
public String getMessageProcessorName()(Code)
Convenience method that returns a String representing the users preferred message processor name. the name of the message processor as String.



getMessageSortCriteria
public int getMessageSortCriteria()(Code)
Returns the sort criteria preference for messages. the sort criteria as int.



getQuoteChar
public String getQuoteChar()(Code)
Returns a String representing the quote character. Note: it always contains only one character. the quote character as String.



getReadMailArchive
public String getReadMailArchive()(Code)
Returns a String representing the path of the read-mail-archive. the path of the read-mail-archive as String.



getRootFolder
public String getRootFolder()(Code)
Returns a String representing the path of the mail root folder.

Note: This setting varies for different IMAP implementations. the mail root folder as String.




getSentMailArchive
public String getSentMailArchive()(Code)
Returns a String representing the path of the sent-mail-archive. the path of the sent-mail-archive as String.



getStyle
public String getStyle()(Code)
Returns a String representing the users preferred style. the style as String.



getTrashFolder
public String getTrashFolder()(Code)
Returns a String representing the path of the read-mail-archive. the path of the read-mail-archive as String.



getUserIdentity
public String getUserIdentity()(Code)
Returns a String representing identity of the owner of this JwmaPreferences.

Note:
The format of the string has to be <username>@<postofficehost>.
the firstname of this preferences owner.




isAutoArchiveSent
public boolean isAutoArchiveSent()(Code)
Tests if messages should be automatically archived when sent. true if messages should be archivedautomatically, false otherwise.



isAutoEmpty
public boolean isAutoEmpty()(Code)
Tests if the trash should be emptied automatically when logging out. true if the trash should be emptiedautomatically, false otherwise.



isAutoMoveRead
public boolean isAutoMoveRead()(Code)
Tests if messages should be automatically moved when read. true if messages should be movedautomatically, false otherwise.



isAutoQuote
public boolean isAutoQuote()(Code)
Tests if messages should be quoted automatically when replying. true if messages should be quotedautomatically, false otherwise.



isDisplayingInlined
public boolean isDisplayingInlined()(Code)
Tests if known mime message content should be inlined when displaying the message. true if inlining is enabled, false otherwise.



isExpert
public boolean isExpert()(Code)
Tests if the user considers to be an xpert. true if expert, false otherwise.



listMailIdentities
public JwmaMailIdentity[] listMailIdentities()(Code)
Returns a JwmaMailIdentities[] that contains all JwmaMailIdentity instances of this JwmaPreferences. the user's mail identities as JwmaMailIdentity[].



setMessageSortCriteria
public void setMessageSortCriteria(int crit)(Code)
Sets the sort criteria preference for messages.
Parameters:
  crit - the sort criteria as int.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.