Compoze Software, Inc.

com.compoze.exchange.webdav
Class Report


java.lang.Object

  |

  +--com.compoze.exchange.webdav.AbstractItem

        |

        +--com.compoze.exchange.webdav.AbstractMessage

              |

              +--com.compoze.exchange.webdav.Message

                    |

                    +--com.compoze.exchange.webdav.Report

All Implemented Interfaces:
java.lang.Cloneable, IItem, java.io.Serializable
Direct Known Subclasses:
DeliveryStatusNotification, MailDispositionNotification

public class Report
extends Message
implements java.io.Serializable, java.lang.Cloneable

This class extends AbstractMessage to represent a message that is a report.

See Also:
Serialized Form

Fields inherited from class com.compoze.exchange.webdav.Message
FORWARD_PREFIX, REPLY_PREFIX
 
Method Summary
 java.lang.Object clone()
          Creates and returns a copy of this object.
 Message getMessage()
          Deprecated. This method has been deprecated and will be removed by version 3.1. Replaced with serverGetMessage()
 Message getMessage(Folder folder)
          Deprecated. This method has been deprecated and will be removed by version 3.1. Replaced with serverGetMessage(Folder)
 java.lang.String getOriginalDisplayBcc()
          Gets the original display 'Bcc:'.
 java.lang.String getOriginalDisplayCc()
          Gets the original display 'Cc:'.
 java.lang.String getOriginalDisplayTo()
          Gets the original display 'To:'.
 java.util.Date getOriginalSubmitTime()
          Gets the original submit time.
 java.lang.String getOringalSubject()
          Gets the original subject.
static java.util.List getProperties()
          Gets a list of properties pertaining to a message.
 Message serverGetMessage()
          Queries the server for the message embedded within this report to resend.
 Message serverGetMessage(Folder folder)
          Queries the server for the message embedded within this report to resend.
 Message serverReply()
          Requests the server to create a message to reply with.
 Message serverReply(Folder folder, boolean bReplyAll)
          Requests the server to create a message to reply with.
 Message serverReplyAll()
          Requests the server to create a message to reply all with.
 void serverSend()
          Requests the server to send the message using the user's mailbox.
 void serverSend(Mailbox mailbox)
          Requests the server to send the message using the specified user mailbox.
 void serverSend(java.lang.String sMailSubmissionURI)
          Requests the server to send the message using the specified submission URI.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class com.compoze.exchange.webdav.Message
forward, forward, getComment, getContentBase, getContentDescription, getContentDisposition, getContentDispositionType, getContentId, getContentLanguage, getContentLocation, getContentMediaType, getContentTransferEncoding, getContentType, getDateSent, getDefaultProperties, getDisplayCC, getDisplayTo, getDisposition, getDispositionNotificationAddress, getDistribution, getDistributionString, getExpires, getExpiryDate, getFollowupNewsgroups, getFollowupNewsgroupString, getHeaderImportance, getHTMLDescription, getImportance, getInReplyTo, getKeywords, getKeywordsString, getLines, getMessageFlag, getMessageId, getMimeVersion, getModerator, getNewsgroups, getNewsgroupsString, getOrganization, getOriginalRecipient, getPriority, getReceived, getReferences, getRelayVersion, getReplyBy, getReplyToAddresses, getReplyToAddressString, getReturnPath, getReturnReceiptTo, getSaveDestination, getSender, getSenderEmail, getSenderName, getSummary, getThreadIndex, getThreadTopic, getXMailer, isMeetingCancellation, isMeetingRequest, isMeetingResponse, isOutOfOfficeReply, isSaveInSent, isSubmitted, isUndeliverableMessage, reply, reply, replyAll, send, send, send, serverForward, serverForward, serverUpdate, setComment, setContentBase, setContentDescription, setContentDisposition, setContentId, setContentLanguage, setContentLocation, setContentLocation, setContentTransferEncoding, setContentType, setDateSent, setDisposition, setDispositionNotificationAddress, setDistribution, setExpires, setExpiryDate, setFollowupNewsgroups, setHeaderImportance, setHTMLDescription, setImportance, setInReplyTo, setKeywords, setMessageFlag, setMessageId, setMimeVersion, setModerator, setNewsgroups, setOrganization, setOriginalRecipient, setPriority, setReferences, setRelayVersion, setReplyBy, setReplyToAddresses, setReturnPath, setReturnReceiptTo, setSaveDestination, setSaveDestination, setSaveInSent, setSender, setSenderName, setSubmitted, setSummary, setThreadIndex, setThreadTopic, setXMailer
 
Methods inherited from class com.compoze.exchange.webdav.AbstractMessage
addAttachment, createFilename, equals, getAttachments, getBccAddresses, getBccAddressesString, getBccRecipients, getBody, getCategories, getCcAddresses, getCcAddressesString, getCcRecipients, getContactNames, getDateReceived, getFrom, getFromAddresses, getFromAddressesString, getFromEmailAddress, getFromName, getNormalizedSubject, getSensitivity, getSize, getSubject, getTextDescription, getToAddresses, getToAddressesString, getToRecipients, getType, hasAttachment, isRead, serverDeleteAttachment, serverGetAttachments, setBccAddresses, setBccRecipients, setBccRecipients, setBody, setCategories, setCategories, setCcAddresses, setCcRecipients, setCcRecipients, setContactNames, setContactNames, setDateReceived, setFrom, setFrom, setFromAddress, setFromAddresses, setRead, setSensitivity, setSubject, setTextDescription, setToAddresses, setToRecipients, setToRecipients, setType
 
Methods inherited from class com.compoze.exchange.webdav.AbstractItem
copy, copy, copy, createFilename, delete, equals, getContentClass, getCreationDate, getDateLastModified, getDisplayName, getFile, getHRef, getID, getParentFolder, getPermanentURL, getUID, isFolder, isHidden, isReadOnly, isRoot, move, move, move, serverCopyTo, serverCopyTo, serverCopyTo, serverCopyTo, serverDelete, serverGetParentFolder, serverMoveTo, serverMoveTo, serverMoveTo, serverMoveTo, serverUpdate, setContentClass, setContentClass, setHidden, setReadOnly, setReleased, setType, setUID, update, update, validate
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getOriginalDisplayTo


public java.lang.String getOriginalDisplayTo()
Gets the original display 'To:'.
Returns:
the original display 'To:'

getOriginalDisplayCc


public java.lang.String getOriginalDisplayCc()
Gets the original display 'Cc:'.
Returns:
the original display 'Cc:'

getOriginalDisplayBcc


public java.lang.String getOriginalDisplayBcc()
Gets the original display 'Bcc:'.
Returns:
the original display 'Bcc:'

getOringalSubject


public java.lang.String getOringalSubject()
Gets the original subject.
Returns:
the original subject

getOriginalSubmitTime


public java.util.Date getOriginalSubmitTime()
Gets the original submit time.
Returns:
the original submit time

getMessage


public Message getMessage()
                   throws ExchangeException
Deprecated. This method has been deprecated and will be removed by version 3.1. Replaced with serverGetMessage()

Queries the server for the message embedded within this report to resend.
Returns:
the embedded message to resend, or null if not present
Throws:
ExchangeException - if a problem occurred while interacting with the Exchange store
ExchangeRuntimeException - if this object has been released and can no longer be used

serverGetMessage


public Message serverGetMessage()
                         throws ExchangeException
Queries the server for the message embedded within this report to resend.
Returns:
the embedded message to resend, or null if not present
Throws:
ExchangeException - if a problem occurred while interacting with the Exchange store
ExchangeRuntimeException - if this object has been released and can no longer be used

getMessage


public Message getMessage(Folder folder)
                   throws ExchangeException
Deprecated. This method has been deprecated and will be removed by version 3.1. Replaced with serverGetMessage(Folder)

Queries the server for the message embedded within this report to resend.
Parameters:
folder - folder to create message in.
Returns:
the embedded message to resend, or null if not present
Throws:
ExchangeException - if a problem occurred while interacting with the Exchange store
ExchangeRuntimeException - if this object has been released and can no longer be used

serverGetMessage


public Message serverGetMessage(Folder folder)
                         throws ExchangeException
Queries the server for the message embedded within this report to resend.
Parameters:
folder - folder to create message in.
Returns:
the embedded message to resend, or null if not present
Throws:
ExchangeException - if a problem occurred while interacting with the Exchange store
ExchangeRuntimeException - if this object has been released and can no longer be used

serverSend


public void serverSend()
                throws ExchangeException
Description copied from class: Message
Requests the server to send the message using the user's mailbox. A list of recipients, either in the to, cc, or bcc fields, must be set.
Overrides:
serverSend in class Message
Throws:
UnsupportedOperationException - if the send operation is not supported by this report.

serverSend


public void serverSend(Mailbox mailbox)
                throws ExchangeException
Description copied from class: Message
Requests the server to send the message using the specified user mailbox. A list of recipients, either in the to, cc, or bcc fields, must be set.
Overrides:
serverSend in class Message
Throws:
UnsupportedOperationException - if the send operation is not supported by this report.

serverSend


public void serverSend(java.lang.String sMailSubmissionURI)
                throws ExchangeException
Description copied from class: Message
Requests the server to send the message using the specified submission URI. A list of recipients, either in the to, cc, or bcc fields, must be set.
Overrides:
serverSend in class Message
Throws:
UnsupportedOperationException - if the send operation is not supported by this report.

serverReply


public Message serverReply()
                    throws ExchangeException
Description copied from class: Message
Requests the server to create a message to reply with.
Overrides:
serverReply in class Message
Throws:
UnsupportedOperationException - if the reply operation is not supported by this report.

serverReplyAll


public Message serverReplyAll()
                       throws ExchangeException
Description copied from class: Message
Requests the server to create a message to reply all with.
Overrides:
serverReplyAll in class Message
Throws:
UnsupportedOperationException - if the replyAll operation is not supported by this report.

serverReply


public Message serverReply(Folder folder,
                           boolean bReplyAll)
                    throws ExchangeException
Description copied from class: Message
Requests the server to create a message to reply with.
Overrides:
serverReply in class Message
Throws:
UnsupportedOperationException - if the reply operation is not supported by this report.

clone


public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Creates and returns a copy of this object.
Overrides:
clone in class Message
Returns:
a clone of this instance.
Throws:
java.lang.CloneNotSupportedException - if the object's class does not support the Cloneable interface.

toString


public java.lang.String toString()
Returns a string representation of the object.
Overrides:
toString in class Message
Returns:
the string representation of the object.

getProperties


public static java.util.List getProperties()
Gets a list of properties pertaining to a message.
Returns:
a list (unmodifiable) of properties.
See Also:
Message.getProperties()

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.