| java.lang.Object com.ivata.groupware.container.persistence.BaseDO com.ivata.groupware.business.mail.message.MessageDO
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 FileDO s. 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 List of 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 List of 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 List of String instances, each one formatted according toRFC822. |
getSenders | public List getSenders()(Code) | | Get senders of the message.
senders of the message, as a List of 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 FileDO s. |
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 List of 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 aList of 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 aList of 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 List of 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 |
|
|