|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.domino.AbstractItem
com.compoze.domino.AbstractDocument
com.compoze.domino.Memo
public class Memo
This class is a Domino memo. Memo instances are obtained
from the Documents
class. Methods that access properites on the class require that the
properties were loaded beforehand, when the message was initially retrieved.
Any methods in this class that begin with the string server
make a query to the server, and require that the
PropertyKey.DOCUMENT_ID
and PropertyKey.DOCUMENT_TYPE
properties to be loaded beforehand. Any additional
property requirements are indicated on each individual method.
Field Summary | |
---|---|
static PropertyKey[] |
ALL_PROPS
Contains an array of all of the properties available on a memo. |
Fields inherited from class com.compoze.domino.AbstractItem |
---|
m_props, m_session |
Method Summary | |
---|---|
java.lang.String |
getBody()
Gets the body of the memo. |
java.lang.String |
getBodyHtml()
Gets the body as html of the memo. |
java.lang.String |
getBodyHtml(IEmbeddedImageListener imageListener)
Gets the body as html of the memo. |
java.lang.String |
getBodyStoredFormHtml()
Gets the body stored form as html of the memo. |
java.lang.String |
getBodyStoredFormHtml(IEmbeddedImageListener imageListener)
Gets the body stored form as html of the memo. |
java.util.Date |
getDeliveredDate()
Gets the delivered date for the document. |
java.lang.String |
getDeliveredDateString(java.text.DateFormat dateFormat)
Gets the delivered date for the document formatted with the specified date format. |
Importance |
getDeliveryPriority()
Gets the delivery priority of the memo. |
DeliveryReportLevel |
getDeliveryReportLevel()
Gets the delivery report level of the memo. |
java.util.Date |
getFollowUpDate()
Gets the follow up date of the memo. |
FollowUpStatus |
getFollowUpStatus()
Gets the follow up status of the memo. |
java.lang.String |
getFollowUpText()
Gets the follow up text of the memo. |
Importance |
getImportance()
Gets the importance of the memo. |
java.util.Date |
getMemoDate()
Gets the memo date for the document. |
java.lang.String |
getMemoDateString(java.text.DateFormat dateFormat)
Gets the memo date for display formatted with the specified date format. |
java.lang.String |
getNormalizedSubject()
Gets the normalized subject of the memo. |
java.util.Date |
getPostedDate()
Gets the posted date for the document. |
java.lang.String |
getPostedDateString(java.text.DateFormat dateFormat)
Gets the posted date for the document formatted with the specified date format. |
boolean |
getPreventCopy()
Gets the flag which indicates if this document can be copied. |
RecipientInfo[] |
getRecipientInfoArray()
Gets information about the recipients of the memo. |
boolean |
getReturnReceipt()
Gets the return receipt flag of the memo. |
SenderInfo |
getSenderInfo()
Gets the sender info for the memo. |
java.lang.String |
getSenderName()
Gets the sender name for the memo. |
java.lang.String |
getSubject()
Gets the subject of the memo. |
java.lang.String |
getSubject(int iLength)
Deprecated. Specifying Locale does nothing, replaced with getSubject(int) |
java.lang.String |
getSubject(int iLength,
java.util.Locale locale)
Deprecated. Specifying Locale does nothing, replaced with getSubject(int) |
java.lang.String |
getSubject(java.util.Locale locale)
Deprecated. Specifying Locale does nothing, replaced with getSubject() |
boolean |
getUnread()
Gets the unread status of the memo. |
boolean |
isEncrypted()
Checks if the memo is encrypted. |
Memo |
serverForward()
Hits the server to prepare a forward document. |
Memo |
serverReply(boolean bReplyAll)
Hits the server to prepare a reply document. |
void |
serverSaveAsDraft()
Hits the server to update any changed properties and save the memo as a draft. |
void |
serverSaveAsDraft(boolean bNoRecipients)
Hits the server to update any changed properties and save the memo as a draft. |
void |
serverSaveAsDraft(Recipient[] recipients)
Hits the server to update any changed properties and save the memo as a draft. |
void |
serverSaveAsDraft(Recipient[] recipients,
boolean bNoRecipients)
Hits the server to update any changed properties and save the memo as a draft. |
void |
serverUpdate()
Hits the server to update any changed properties. |
void |
serverUpdate(Recipient[] recipients,
boolean bSaveInSent)
Hits the server to update any changed properties. |
void |
setBody(java.lang.String sBody)
Sets the body of the memo. |
void |
setBodyHtml(java.lang.String sBody)
Sets the body as html of the memo. |
void |
setDeliveryPriority(Importance importance)
Sets the delivery priority of the memo. |
void |
setDeliveryReportLevel(DeliveryReportLevel level)
Sets the delivery report level of the memo. |
void |
setFollowUpDate(java.util.Date followUpDate)
Sets the follow up date of the memo. |
void |
setFollowUpStatus(FollowUpStatus status)
Sets the follow up status of the memo. |
void |
setFollowUpText(java.lang.String sFollowUpText)
Sets the follow up text of the memo. |
void |
setImportance(Importance importance)
Sets the importance of the memo. |
void |
setPreventCopy(boolean bPreventCopy)
Sets the flag to indicate if this document can be copied. |
void |
setReturnReceipt(boolean bFlag)
Sets the return receipt flag of the memo. |
void |
setSubject(java.lang.String sSubject)
Sets the subject of the memo. |
void |
setUnread(boolean bFlag)
Sets the unread status of the memo. |
Methods inherited from class com.compoze.domino.AbstractDocument |
---|
getAttachmentCount, getAttachmentInfo, getAttachmentInfoArray, getDateCreated, getDateCreatedString, getDateModified, getDateModifiedString, getDocumentType, getEmbeddedImageCount, getEmbeddedImageInfo, getEmbeddedImageInfoArray, getID, getParentID, getSize, getSizeInKilos, hasAttachment, serverAddAttachment, serverCopyTo, serverDeleteAttachment, serverMoveTo |
Methods inherited from class com.compoze.domino.AbstractItem |
---|
get, getBoolean, getDate, getDateArray, getDouble, getInt, getPropertyKeys, getString, getStringArray, getUpdatedPropertyValues, set, setBoolean, setDate, setDouble, setInt, setString, setStringArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PropertyKey[] ALL_PROPS
Method Detail |
---|
public FollowUpStatus getFollowUpStatus() throws DominoException
DominoException
PropertyKey.FOLLOW_UP_STATUS
public void setFollowUpStatus(FollowUpStatus status) throws DominoException
status
- the follow up status (may not be null
)
DominoException
PropertyKey.FOLLOW_UP_STATUS
public java.lang.String getFollowUpText() throws DominoException
DominoException
PropertyKey.FOLLOW_UP_TEXT
public void setFollowUpText(java.lang.String sFollowUpText) throws DominoException
sFollowUpText
- the follow up text
DominoException
PropertyKey.FOLLOW_UP_TEXT
public java.util.Date getFollowUpDate() throws DominoException
DominoException
PropertyKey.FOLLOW_UP_DATE
public void setFollowUpDate(java.util.Date followUpDate) throws DominoException
followUpDate
- the follow up date
DominoException
PropertyKey.FOLLOW_UP_DATE
public boolean getPreventCopy() throws DominoException
DominoException
PropertyKey.PREVENT_COPY
public void setPreventCopy(boolean bPreventCopy) throws DominoException
bPreventCopy
- true
to indicate no copying allowed false
otherwise
DominoException
PropertyKey.PREVENT_COPY
public java.lang.String getSubject() throws DominoException
DominoException
PropertyKey.SUBJECT
public java.lang.String getNormalizedSubject() throws DominoException
DominoException
PropertyKey.SUBJECT
public java.lang.String getSubject(java.util.Locale locale) throws DominoException
getSubject()
locale
- the locale
DominoException
PropertyKey.SUBJECT
public boolean getUnread() throws DominoException
true
if this memo is unread; false
otherwise
DominoException
PropertyKey.UNREAD
public void setUnread(boolean bFlag) throws DominoException
bFlag
- true
if this memo is unread; false
otherwise
DominoException
PropertyKey.UNREAD
public void setBodyHtml(java.lang.String sBody) throws DominoException
sBody
- the body as html of the memo (must be UTF-8
encoded)
DominoException
public java.lang.String getBodyHtml() throws DominoException
DominoException
PropertyKey.BODY_HTML
public java.lang.String getBodyHtml(IEmbeddedImageListener imageListener) throws DominoException
imageListener
- the image listener (may not be null
)
DominoException
PropertyKey.BODY_HTML
public java.lang.String getBodyStoredFormHtml() throws DominoException
DominoException
PropertyKey.BODY_HTML
public java.lang.String getBodyStoredFormHtml(IEmbeddedImageListener imageListener) throws DominoException
imageListener
- the image listener (may not be null
)
DominoException
PropertyKey.BODY_STORED_FORM
public java.lang.String getBody() throws DominoException
DominoException
PropertyKey.BODY
public void setBody(java.lang.String sBody) throws DominoException
sBody
- the body of the memo
DominoException
PropertyKey.BODY
public void setSubject(java.lang.String sSubject) throws DominoException
sSubject
- the subject of the memo
DominoException
PropertyKey.SUBJECT
public void setDeliveryReportLevel(DeliveryReportLevel level) throws DominoException
level
- the delivery report level of the memo
DominoException
PropertyKey.DELIVERY_REPORT
public DeliveryReportLevel getDeliveryReportLevel() throws DominoException
DominoException
PropertyKey.DELIVERY_REPORT
public void setDeliveryPriority(Importance importance) throws DominoException
importance
- the delivery priority of the memo (may not be null
)
DominoException
PropertyKey.DELIVERY_PRIORITY
public Importance getDeliveryPriority() throws DominoException
DominoException
PropertyKey.DELIVERY_PRIORITY
public void setImportance(Importance importance) throws DominoException
importance
- the importance of the memo (may not be null
)
DominoException
PropertyKey.IMPORTANCE
public void setReturnReceipt(boolean bFlag) throws DominoException
bFlag
- true
for a return receipt; false
otherwise
DominoException
PropertyKey.RETURN_RECEIPT
public boolean getReturnReceipt() throws DominoException
true
for a return receipt; false
otherwise
DominoException
PropertyKey.RETURN_RECEIPT
public java.lang.String getSubject(int iLength) throws DominoException
getSubject(int)
iLength
- the maximum length of the result (string plus "...")
null
if for no subject
DominoException
PropertyKey.SUBJECT
public java.lang.String getSubject(int iLength, java.util.Locale locale) throws DominoException
getSubject(int)
iLength
- the maximum length of the result (string plus "...")locale
- the locale
null
if for no subject
DominoException
PropertyKey.SUBJECT
public Importance getImportance() throws DominoException
DominoException
PropertyKey.IMPORTANCE
public java.util.Date getDeliveredDate() throws DominoException
DominoException
PropertyKey.DELIVERED_DATE
public java.lang.String getDeliveredDateString(java.text.DateFormat dateFormat) throws DominoException
dateFormat
- the date format (may not be null
)
null
DominoException
PropertyKey.DELIVERED_DATE
public java.util.Date getPostedDate() throws DominoException
DominoException
PropertyKey.POSTED_DATE
public java.lang.String getPostedDateString(java.text.DateFormat dateFormat) throws DominoException
dateFormat
- the date format (may not be null
)
null
DominoException
PropertyKey.POSTED_DATE
public java.util.Date getMemoDate() throws DominoException
DominoException
PropertyKey.MEMO_DATE
public java.lang.String getMemoDateString(java.text.DateFormat dateFormat) throws DominoException
dateFormat
- the date format (may not be null
)
null
DominoException
PropertyKey.MEMO_DATE
public java.lang.String getSenderName() throws DominoException
DominoException
PropertyKey.SENDER_NAME
public SenderInfo getSenderInfo() throws DominoException
DominoException
PropertyKey.SENDER_INFO
public RecipientInfo[] getRecipientInfoArray() throws DominoException
RecipientInfo
objects, or an empty array if there are no recipients
DominoException
PropertyKey.RECIPIENT_INFO
public boolean isEncrypted() throws DominoException
true
for an encrypted memo; false
otherwise
DominoException
PropertyKey.ENCRYPT
public void serverUpdate() throws DominoException
serverUpdate
in class AbstractDocument
DominoException
public void serverSaveAsDraft() throws DominoException
DominoException
public void serverSaveAsDraft(boolean bNoRecipients) throws DominoException
bNoRecipients
- true
if this draft has an empty set
of recipients or false
otherwise.
DominoException
public void serverSaveAsDraft(Recipient[] recipients) throws DominoException
recipients
is null then
no updates will occur to the recipient fields.
recipients
- the recipients to add to the memo draft
DominoException
public void serverSaveAsDraft(Recipient[] recipients, boolean bNoRecipients) throws DominoException
recipients
- the recipients to add to the memo draftbNoRecipients
- if recipients is null
and bRecipients
true
then this draft has an empty set
of recipients. If recipients is null
and
bRecipients is false
then don't update
the recipients for this draft message. bNoRecipients
is ignored if recipients is not null
DominoException
public void serverUpdate(Recipient[] recipients, boolean bSaveInSent) throws DominoException
recipients
- the recipients to add to the memobSaveInSent
- if true
and sending the memo,
save the memo in the Sent Items
folder
DominoException
public Memo serverForward() throws DominoException
null
if not possible
DominoException
public Memo serverReply(boolean bReplyAll) throws DominoException
bReplyAll
- true
to reply to all otherwise false
null
if not possible
DominoException
|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |