| 
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  |
  +--portlets.compoze.groupware.AbstractItem
        |
        +--portlets.compoze.groupware.mail.Message
This class represents a message.
| Constructor Summary | |
Message(java.lang.String sID)
Constructor.  | 
|
| Method Summary | |
 int | 
getEmbeddedMessageIndex()
Gets the number of attachments for the item.  | 
 Flag | 
getFlag()
Gets the flag from the message.  | 
 java.lang.String | 
getFolderID()
Gets the folder ID of the folder to which this message belongs.  | 
 java.lang.String | 
getFolderName()
Gets the name of the folder to which this message belongs.  | 
 java.lang.String | 
getParentMessageID()
Gets the parent message ID if the message is embedded.  | 
 RecipientInfo | 
getRecipientInfo()
Gets the reciepient info of the message.  | 
 SenderInfo | 
getSenderInfo()
Gets the sender info.  | 
 Sensitivity | 
getSensitivity()
Gets the sensitivity of this Message.  | 
 java.util.Date | 
getTimeReceived()
Gets the time the message was received.  | 
 java.lang.String | 
getToRecipientsDisplay(java.lang.String sPostfix,
                       int iMaxLength)
Gets the to recipients display string with the maximum length.  | 
 boolean | 
isEmbedded()
Gets the message embedded flag.  | 
 boolean | 
isPreventForward()
Gets the prevent forward flag.  | 
 boolean | 
isRead()
Gets the message read flag.  | 
 boolean | 
isReplySentFlag()
Gets the reply sent flag of this message.  | 
 void | 
setEmbeddedMessageIndex(int iEmbeddedMessageIndex)
Sets the number of attachments for the item.  | 
 void | 
setFlag(Flag flag)
Sets the flag from the message.  | 
 void | 
setFolderID(java.lang.String sFolderID)
Sets the folder ID on this message.  | 
 void | 
setFolderName(java.lang.String sFolderName)
Sets the folder name of the message.  | 
 void | 
setIsEmbedded(boolean bIsEmbedded)
Sets the message embedded flag.  | 
 void | 
setIsPreventForward(boolean bIsPreventForward)
Sets the prevent forward flag.  | 
 void | 
setIsRead(boolean bIsRead)
Sets the message read flag.  | 
 void | 
setIsReplySentFlag(boolean bIsReplySentFlag)
Sets the reply sent flag for this message.  | 
 void | 
setParentMessageID(java.lang.String sParentMessageID)
Sets the parent message ID.  | 
 void | 
setRecipientInfo(RecipientInfo recipientInfo)
Sets the reciepient info of the message.  | 
 void | 
setSenderInfo(SenderInfo info)
Sets the sender info of the message.  | 
 void | 
setSensitivity(Sensitivity sensitivity)
Sets the sensitivity of the message.  | 
 void | 
setTimeReceived(java.util.Date timeReceived)
Sets the time the message was received.  | 
 void | 
setToRecipientsDisplay(java.lang.String sToRecipientsDisplay)
Sets the to recipients display.  | 
| Methods inherited from class portlets.compoze.groupware.AbstractItem | 
getAttachmentCount, getAttachmentInfoArray, getBodyHtml, getBodyText, getBodyTextAsHtml, getDateCreated, getID, getImportance, getIndex, getItemType, getSize, getSizeInKilobytes, getSubject, getSubject, hasAttachment, prettyTruncate, setAttachmentCount, setAttachmentInfoArray, setBodyHtml, setBodyText, setDateCreated, setHasAttachment, setID, setImportance, setIndex, setItemType, setSize, setSubject | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public Message(java.lang.String sID)
sID - the message ID| Method Detail | 
public void setFlag(Flag flag)
flag - the flag (may not be null)public Flag getFlag()
public RecipientInfo getRecipientInfo()
public void setRecipientInfo(RecipientInfo recipientInfo)
recipientInfo - the recipient info (may not be null)public SenderInfo getSenderInfo()
null for nonepublic void setSenderInfo(SenderInfo info)
senderInfo - the sender info (may not be null)public boolean isEmbedded()
true if the message is embedded into another message and false otherwisepublic void setIsEmbedded(boolean bIsEmbedded)
bIsEmbedded - true if the message is embedded into another message and false otherwisepublic boolean isRead()
true if the message is read and false otherwisepublic void setIsRead(boolean bIsRead)
bIsRead - true if the message is read and false otherwisepublic boolean isReplySentFlag()
true if the reply to this message is sent and false otherwisepublic void setIsReplySentFlag(boolean bIsReplySentFlag)
bIsReplySentFlag - true if the reply to this message is sent and false otherwisepublic int getEmbeddedMessageIndex()
isEmbedded()public void setEmbeddedMessageIndex(int iEmbeddedMessageIndex)
iEmbeddedMessageIndex - the attachment index of the message (-1 if not embedded)public java.util.Date getTimeReceived()
null for nonepublic void setTimeReceived(java.util.Date timeReceived)
timeReceived - time message was receivedpublic Sensitivity getSensitivity()
public void setSensitivity(Sensitivity sensitivity)
sensitivity - the message sensitivity (may not be null)public java.lang.String getFolderID()
null for nonepublic void setFolderID(java.lang.String sFolderID)
sFolderID - the folder IDpublic java.lang.String getFolderName()
null for nonepublic void setFolderName(java.lang.String sFolderName)
sFolderName - the folder namepublic java.lang.String getParentMessageID()
null if the message is not embeddedpublic void setParentMessageID(java.lang.String sParentMessageID)
sParentMessageID - the parent message ID or null for no parent messagepublic void setToRecipientsDisplay(java.lang.String sToRecipientsDisplay)
sToRecipientsDisplay - the to recipients display to set
public java.lang.String getToRecipientsDisplay(java.lang.String sPostfix,
                                               int iMaxLength)
sPostfix - the string to put at the end of the original string (may not be null)iMaxLength - the maximum length of the result (string plus postfix) (must be positive)public boolean isPreventForward()
true if forwarding has been disabled for this message and false otherwisepublic void setIsPreventForward(boolean bIsPreventForward)
bIsRead - true if forwarding has been disabled for this message and false otherwise
  | 
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||