Java Doc for MessageDO.java in  » Groupware » ivatagroupware » com » ivata » groupware » business » mail » message » 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 » Groupware » ivatagroupware » com.ivata.groupware.business.mail.message 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.ivata.groupware.container.persistence.BaseDO
      com.ivata.groupware.business.mail.message.MessageDO

MessageDO
public class MessageDO extends BaseDO (Code)

This is a dependent value class, used to pass data back from the

com.ivata.groupware.business.mail.MailBean MailBean to a client application.


since:
   2002-08-26
author:
   Peter Illes
author:
   Colin MacLeod
author:
   colin.macleod@ivata.com
version:
   $Revision: 1.6 $
See Also:   MailBean




Method Summary
public  ListgetAttachments()
    

Get all of the identifiers for message attachments.

final public  StringgetFolderName()
    
final public  intgetFormat()
    
final public  StringgetMessageID()
    

This is the JavaMail message id.

final public  GregorianCalendargetReceived()
    
public  ListgetRecipients()
    
public  ListgetRecipientsBCC()
    

Get "Blind carbon copy" recipients as List of strings.

public  ListgetRecipientsCC()
    

Get "Carbon copy" recipients of the message.

public  ListgetSenders()
    
final public  GregorianCalendargetSent()
    
final public  IntegergetSize()
    
final public  StringgetSubject()
    
final public  StringgetText()
    
final public  voidsetAttachments(List attachments)
    

Set all of the identifiers for message attachments.

final public  voidsetFolderName(String folderName)
    

Set the mail folder where this message is located.

final public  voidsetFormat(int format)
    
final public  voidsetMessageID(String messageID)
    

This is the JavaMail message id.

final public  voidsetReceived(GregorianCalendar received)
    
final public  voidsetRecipients(List recipients)
    
final public  voidsetRecipientsBCC(List recipientsBCC)
    

Set "Blind carbon copy" recipients as List of strings.

final public  voidsetRecipientsCC(List recipientsCC)
    

Set "Carbon copy" recipients of the message.

final public  voidsetSenders(List senders)
    
final public  voidsetSent(GregorianCalendar sent)
    
final public  voidsetSize(Integer size)
    
final public  voidsetSubject(String subject)
    
final public  voidsetText(String text)
    



Method Detail
getAttachments
public List getAttachments()(Code)

Get all of the identifiers for message attachments. This method retrieves the ids, content types, sizes so they can be used to identify and download the message attachments.

Vector of FileDOs. These can be used to identify theattachmentfor later downloading.




getFolderName
final public String getFolderName()(Code)

Get the mail folder where this message is located.

name of the mail folder where this message is located.



getFormat
final public int getFormat()(Code)

Get the format of the text.

one of the formats incom.ivata.mask.web.format.FormatConstantsFormatConstants.




getMessageID
final public String getMessageID()(Code)

This is the JavaMail message id.

Returns the messageID.



getReceived
final public GregorianCalendar getReceived()(Code)

Get the time the message was received.

time the message was received, or null if thishas notbeen set for this message.



getRecipients
public List getRecipients()(Code)

Get recipients of the message.

recipients of the message, as a Listof String instances, each one formatted according toRFC822.



getRecipientsBCC
public List getRecipientsBCC()(Code)

Get "Blind carbon copy" recipients as List of strings. These are additional recipients whose identity is not made known to any other recipients.

recipients of the message, as a Listof String instances, each one formatted according toRFC822.



getRecipientsCC
public List getRecipientsCC()(Code)

Get "Carbon copy" recipients of the message. These are additional recipients whose identity is made known to all other recipients.

recipients of the message, as a Listof String instances, each one formatted according toRFC822.



getSenders
public List getSenders()(Code)

Get senders of the message.

senders of the message, as a Listof String instances, each one formatted according toRFC822.



getSent
final public GregorianCalendar getSent()(Code)

Get the time the message was sent.

time the message was sent, or null if this hasnotbeen set for this message.



getSize
final public Integer getSize()(Code)

Get the size of the message, including attachments.

total size of the message and attachments, in bytes.



getSubject
final public String getSubject()(Code)

Get the subject of this message.

the subject of the mail, in plain text withoutHTML code or character entities.



getText
final public String getText()(Code)

Get the textual content of the message.

either be HTML formatted or plain-text,depending onthe value of the format field.
See Also:   MessageDO.setFormat



setAttachments
final public void setAttachments(List attachments)(Code)

Set all of the identifiers for message attachments. This method will only every be called server-side to set up the atachment list the client can later locate the correct attachments.


Parameters:
  attachments - List of FileDOs.



setFolderName
final public void setFolderName(String folderName)(Code)

Set the mail folder where this message is located. Note: this method is not enough to actually move the folder. The messageDO merely records information about the message.


Parameters:
  folderName - new value of folder where this message is located.



setFormat
final public void setFormat(int format)(Code)

Set the format of the text.


Parameters:
  format - one of the formats incom.ivata.mask.web.format.FormatConstantsFormatConstants.




setMessageID
final public void setMessageID(String messageID)(Code)

This is the JavaMail message id.


Parameters:
  messageID - The messageID to set.



setReceived
final public void setReceived(GregorianCalendar received)(Code)

Set the time the message was received.


Parameters:
  received - valid date and time the message was received.



setRecipients
final public void setRecipients(List recipients)(Code)

Set recipients of the message.


Parameters:
  recipients - recipients of the message, as a Listof String instances, each one formatted according toRFC822.



setRecipientsBCC
final public void setRecipientsBCC(List recipientsBCC)(Code)

Set "Blind carbon copy" recipients as List of strings. These are additional recipients whose identity is not made known to any other recipients.


Parameters:
  recipientsBCC - recipients of the message, as aListof String instances, each one formatted according toRFC822.



setRecipientsCC
final public void setRecipientsCC(List recipientsCC)(Code)

Set "Carbon copy" recipients of the message. These are additional recipients whose identity is made known to all other recipients.


Parameters:
  recipientsCC - recipients of the message, as aListof String instances, each one formatted according toRFC822.



setSenders
final public void setSenders(List senders)(Code)

Set senders of the message.


Parameters:
  senders - senders of the message, as a Listof String instances, each one formatted according toRFC822.



setSent
final public void setSent(GregorianCalendar sent)(Code)

Set the time the message was sent.


Parameters:
  sent - valid date and time the message was sent.



setSize
final public void setSize(Integer size)(Code)

Set the size of the message, including attachments.


Parameters:
  size - total size of the message and attachments, in bytes.



setSubject
final public void setSubject(String subject)(Code)

Set the subject of this message.


Parameters:
  subject - the subject of the mail, in plain text withoutHTML code or character entities.



setText
final public void setText(String text)(Code)

Set the textual content of the message.


Parameters:
  text - this can either be HTML formatted orplain-text,depending on the value of the format field.
See Also:   MessageDO.setFormat



Methods inherited from com.ivata.groupware.container.persistence.BaseDO
protected void checkSetter()(Code)(Java Doc)
public boolean equals(Object compare)(Code)(Java Doc)
public String getDisplayValue()(Code)(Java Doc)
public Integer getId()(Code)(Java Doc)
final public String getIdString()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isReadOnly()(Code)(Java Doc)
final public void setId(Integer idParam)(Code)(Java Doc)
final public void setIdString(String idString)(Code)(Java Doc)
public void setReadOnly(boolean readOnlyParam)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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