Oracle

com.compoze.domino
Class NonDeliveryReport

java.lang.Object
  extended by com.compoze.domino.AbstractItem
      extended by com.compoze.domino.AbstractDocument
          extended by com.compoze.domino.Memo
              extended by com.compoze.domino.NonDeliveryReport
All Implemented Interfaces:
java.io.Serializable

public class NonDeliveryReport
extends Memo
implements java.io.Serializable

This class is a Domino non-delivery report. Non-delivery report 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.

See Also:
Serialized Form

Field Summary
static PropertyKey[] ALL_PROPS
          Contains an array of all of the properties available on a non-delivery report.
 
Fields inherited from class com.compoze.domino.AbstractItem
m_props, m_session
 
Method Summary
 java.lang.String getFailureReason()
          Gets the failure reason.
 java.lang.String getIntendedRecipient()
          Gets the intended recipient.
 java.lang.String getOriginalSubject()
          Gets the original subject.
 java.lang.String getSubject()
          Gets the subject of the non-delivery report.
 java.lang.String getSubject(java.util.Locale locale)
          Gets the subject of the non-delivery report.
 
Methods inherited from class com.compoze.domino.Memo
getBody, getBodyHtml, getBodyHtml, getBodyStoredFormHtml, getBodyStoredFormHtml, getDeliveredDate, getDeliveredDateString, getDeliveryPriority, getDeliveryReportLevel, getFollowUpDate, getFollowUpStatus, getFollowUpText, getImportance, getMemoDate, getMemoDateString, getNormalizedSubject, getPostedDate, getPostedDateString, getPreventCopy, getRecipientInfoArray, getReturnReceipt, getSenderInfo, getSenderName, getSubject, getSubject, getUnread, isEncrypted, serverForward, serverReply, serverSaveAsDraft, serverSaveAsDraft, serverSaveAsDraft, serverSaveAsDraft, serverUpdate, serverUpdate, setBody, setBodyHtml, setDeliveryPriority, setDeliveryReportLevel, setFollowUpDate, setFollowUpStatus, setFollowUpText, setImportance, setPreventCopy, setReturnReceipt, setSubject, setUnread
 
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

ALL_PROPS

public static final PropertyKey[] ALL_PROPS
Contains an array of all of the properties available on a non-delivery report. Although this can be used when specifying property keys to retrieve, it's preferable to only specify the keys that are required as the number of properties that are pulled back from the server has a direct impact on performance.

Method Detail

getFailureReason

public java.lang.String getFailureReason()
                                  throws DominoException
Gets the failure reason.

Returns:
the failure reason
Throws:
DominoException
See Also:
PropertyKey.FAILURE_REASON

getOriginalSubject

public java.lang.String getOriginalSubject()
                                    throws DominoException
Gets the original subject.

Returns:
the original subject
Throws:
DominoException
See Also:
PropertyKey.ORIGINAL_SUBJECT, PropertyKey.SUBJECT

getIntendedRecipient

public java.lang.String getIntendedRecipient()
                                      throws DominoException
Gets the intended recipient.

Returns:
the intended recipient
Throws:
DominoException
See Also:
PropertyKey.INTENDED_RECIPIENT

getSubject

public java.lang.String getSubject()
                            throws DominoException
Gets the subject of the non-delivery report.

Overrides:
getSubject in class Memo
Returns:
the subject of the non-delivery report
Throws:
DominoException
See Also:
PropertyKey.SUBJECT, PropertyKey.FAILURE_REASON

getSubject

public java.lang.String getSubject(java.util.Locale locale)
                            throws DominoException
Gets the subject of the non-delivery report.

Overrides:
getSubject in class Memo
Parameters:
locale - the locale
Returns:
the subject of the non-delivery report
Throws:
DominoException
See Also:
PropertyKey.SUBJECT, PropertyKey.FAILURE_REASON

Oracle

Copyright ©1999-2008 Oracle All rights reserved.