|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.compoze.exchange.webdav.AbstractItem
|
+--com.compoze.exchange.webdav.AbstractMessage
|
+--com.compoze.exchange.webdav.JournalEntry
This class extends AbstractMessage to represent a message that is
a journal entry in the Exchange store. Functionality may be very limited due to the lack of
support by Microsoft for manipulating journal entries in Exchange Server via WebDAV.
The following table contains the properties defined in the Exchange store schema
and mappings to their corresponding Java enumeration and methods:
| Exchange Store Property | Property Enumeration | Java Methods |
http://schemas.microsoft.com/mapi/companies |
MapiProperty.COMPANIES |
getCompanies()setCompanies(String[]) |
http://schemas.microsoft.com/mapi/id/{0006200A-0000-0000-C000-000000000046}/x00008700
http://schemas.microsoft.com/mapi/id/{0006200A-0000-0000-C000-000000000046}/x00008712 |
MapiProperty.JOURNAL_ENTRY
MapiProperty.JOURNAL_ENTRY_TYPE |
getEntryType()setEntryType(JournalEntryType) |
http://schemas.microsoft.com/mapi/id/{0006200A-0000-0000-C000-000000000046}/x00008706 |
MapiProperty.JOURNAL_START_DATE |
getStartDate()setStartDate(Date) |
http://schemas.microsoft.com/mapi/id/{0006200A-0000-0000-C000-000000000046}/x00008707 |
MapiProperty.JOURNAL_DURATION |
getDuration()setDuration(int) |
http://schemas.microsoft.com/mapi/id/{0006200A-0000-0000-C000-000000000046}/x00008708 |
MapiProperty.JOURNAL_END_DATE |
getEndDate()setEndDate(Date) |
http://schemas.microsoft.com/mapi/proptag/x1000001f |
MapiProperty.BODY_WIDE |
getTextDescription()setTextDescription(String) |
| Constructor Summary | |
JournalEntry(java.lang.String sSubject,
JournalEntryType type,
java.util.Date startDate)
Constructor. |
|
| Method Summary | |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
java.util.LinkedList |
getBccAddresses()
Gets the blind carbon copy (Bcc) addresses. |
java.lang.String |
getBccAddressesString()
Gets the string representation of a list of blind carbon copy (Bcc) addresses. |
com.compoze.util.mail.InternetAddress[] |
getBccRecipients()
Gets internet addresses of recipients set in the "Bcc" (blind carbon copy) field. |
java.util.LinkedList |
getCcAddresses()
Gets the carbon copy (Cc) addresses. |
java.lang.String |
getCcAddressesString()
Gets the string representation of a list of carbon copy (Cc) addresses. |
com.compoze.util.mail.InternetAddress[] |
getCcRecipients()
Gets internet addresses of recipients set in the "Cc" (carbon copy) field. |
java.lang.String[] |
getCompanies()
Gets the companies associated with this journal entry. |
static java.util.List |
getDefaultProperties()
Gets a list of default properties pertaining to an jouranl entry. |
int |
getDuration()
Gets the duration (in minutes) for this journal entry. |
java.util.Date |
getEndDate()
Gets the end date for this journal entry. |
JournalEntryType |
getEntryType()
Gets the entry type for this journal entry. |
com.compoze.util.mail.InternetAddress[] |
getFrom()
Gets internet addresses of whom this message was sent. |
java.util.LinkedList |
getFromAddresses()
Gets the addresses from whom the message was sent. |
java.lang.String |
getFromAddressesString()
Gets the string representation of a list of from whom the message was sent. |
static java.util.List |
getProperties()
Gets a list of all properties pertaining to a journal entry. |
java.util.Date |
getStartDate()
Gets the start date for this journal entry. |
java.lang.String |
getTextDescription()
Gets the plain text version of the message. |
java.util.LinkedList |
getToAddresses()
Gets the principal (To) addresses. |
java.lang.String |
getToAddressesString()
Gets the string representation of a list of principal (To) addresses. |
com.compoze.util.mail.InternetAddress[] |
getToRecipients()
Gets internet addresses of recipients set in the "To" (principal) field. |
void |
serverUpdate(boolean bServerRefresh)
Requests the server to update the journal entry of any changed properties. |
void |
setBccAddresses(java.util.List addresses)
Sets the blind carbon copy (Bcc) addresses. |
void |
setBccRecipients(com.compoze.util.mail.InternetAddress[] addressList)
Sets "Bcc" (blind carbon copy) field with recipient's internet addresses. |
void |
setBccRecipients(java.lang.String sAddressList)
Sets "Bcc" (blind carbon copy) field with sequence of recipient's internet addresses. |
void |
setCcAddresses(java.util.List addresses)
Sets the carbon copy (Cc) addresses. |
void |
setCcRecipients(com.compoze.util.mail.InternetAddress[] addressesList)
Sets "Cc" (carbon copy) field with recipient's internet addresses. |
void |
setCcRecipients(java.lang.String sAddressList)
Sets "Cc" (carbon copy) field with sequence of recipient's internet addresses. |
void |
setCompanies(java.util.List companies)
Sets the companies associated with this journal entry. |
void |
setCompanies(java.lang.String[] companies)
Sets the companies associated with this journal entry. |
void |
setDuration(int iDuration)
Sets the duration (in minutes) for this journal entry. |
void |
setEndDate(java.util.Date date)
Sets the end date for this journal entry. |
void |
setEntryType(JournalEntryType type)
Sets the entry type for this journal entry. |
void |
setFrom(com.compoze.util.mail.InternetAddress[] addressesList)
Sets "From" field with internet addresses of whom this message was sent. |
void |
setFrom(java.lang.String sAddressList)
Sets "From" field with sequence of internet addresses of whom this message was sent. |
void |
setFromAddress(java.lang.String sFromAddress)
Sets the address from whom the message was sent. |
void |
setFromAddresses(java.util.List addresses)
Sets the addresses from whom the message was sent. |
void |
setStartDate(java.util.Date date)
Sets the start date for this journal entry. |
void |
setTextDescription(java.lang.String sTextDescription)
Sets the plain text version of the message. |
void |
setToAddresses(java.util.List addresses)
Sets the principal (To) addresses. |
void |
setToRecipients(com.compoze.util.mail.InternetAddress[] addressList)
Sets "To" (principal) field with recipient's internet addresses. |
void |
setToRecipients(java.lang.String sAddressList)
Sets "To" (principal) field with sequence of recipient's internet addresses. |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class com.compoze.exchange.webdav.AbstractMessage |
addAttachment, createFilename, equals, getAttachments, getBody, getCategories, getContactNames, getDateReceived, getFromEmailAddress, getFromName, getImportance, getNormalizedSubject, getSensitivity, getSize, getSubject, getType, hasAttachment, isRead, serverDeleteAttachment, serverGetAttachments, setBody, setCategories, setCategories, setContactNames, setContactNames, setDateReceived, setImportance, setRead, setSensitivity, setSubject, setType |
| Methods inherited from class com.compoze.exchange.webdav.AbstractItem |
copy, copy, copy, createFilename, delete, equals, getComment, 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, setComment, 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 |
| Constructor Detail |
public JournalEntry(java.lang.String sSubject,
JournalEntryType type,
java.util.Date startDate)
sSubject - the subject of the entry.| Method Detail |
public java.lang.String getTextDescription()
getTextDescription in class AbstractMessageExchangeRuntimeException - if this object has been released and can
no longer be usedMapiProperty.BODY_WIDEpublic void setTextDescription(java.lang.String sTextDescription)
setTextDescription in class AbstractMessagesTextDescription - the plain textExchangeRuntimeException - if this object has been released and can
no longer be usedMapiProperty.BODY_WIDEpublic JournalEntryType getEntryType()
MapiProperty.JOURNAL_ENTRYpublic void setEntryType(JournalEntryType type)
type - the entry type for the journal entry.MapiProperty.JOURNAL_ENTRYpublic java.util.Date getStartDate()
MapiProperty.JOURNAL_START_DATEpublic void setStartDate(java.util.Date date)
date - the start date for the journal entry.MapiProperty.JOURNAL_START_DATEpublic java.util.Date getEndDate()
MapiProperty.JOURNAL_END_DATEpublic void setEndDate(java.util.Date date)
date - the end date for the journal entry.MapiProperty.JOURNAL_END_DATEpublic int getDuration()
MapiProperty.JOURNAL_DURATIONpublic void setDuration(int iDuration)
date - the duration for the journal entry.MapiProperty.JOURNAL_DURATIONpublic java.lang.String[] getCompanies()
MapiProperty.COMPANIESpublic void setCompanies(java.util.List companies)
companies - list of companies associated with the journal entry.MapiProperty.COMPANIESpublic void setCompanies(java.lang.String[] companies)
companies - list of companies associated with the journal entry.MapiProperty.COMPANIESpublic java.lang.String getFromAddressesString()
AbstractMessagegetFromAddressesString in class AbstractMessageUnsupportedOperationException - if operation is not supported.public java.util.LinkedList getFromAddresses()
AbstractMessagegetFromAddresses in class AbstractMessageUnsupportedOperationException - if operation is not supported.public void setFromAddress(java.lang.String sFromAddress)
AbstractMessagesetFromAddress in class AbstractMessageUnsupportedOperationException - if operation is not supported.public void setFromAddresses(java.util.List addresses)
AbstractMessagesetFromAddresses in class AbstractMessageUnsupportedOperationException - if operation is not supported.
public com.compoze.util.mail.InternetAddress[] getFrom()
throws com.compoze.util.mail.AddressException
getFrom in class AbstractMessageInternetAddress objects; or null if not setcom.compoze.util.mail.AddressException - if parsing of internet addresses failUnsupportedOperationException - if operation is not supported.MailHeaderProperty.FROM
public void setFrom(java.lang.String sAddressList)
throws com.compoze.util.mail.AddressException
setFrom in class AbstractMessagesAddressList - sequence of internet addressescom.compoze.util.mail.AddressException - if parsing of internet addresses failUnsupportedOperationException - if operation is not supported.MailHeaderProperty.FROMpublic void setFrom(com.compoze.util.mail.InternetAddress[] addressesList)
setFrom in class AbstractMessageaddressesList - array of InternetAddress objectsUnsupportedOperationException - if operation is not supported.MailHeaderProperty.FROMpublic java.lang.String getToAddressesString()
AbstractMessagegetToAddressesString in class AbstractMessageUnsupportedOperationException - if operation is not supported.public java.util.LinkedList getToAddresses()
AbstractMessagegetToAddresses in class AbstractMessageUnsupportedOperationException - if operation is not supported.public void setToAddresses(java.util.List addresses)
AbstractMessagesetToAddresses in class AbstractMessageUnsupportedOperationException - if operation is not supported.
public com.compoze.util.mail.InternetAddress[] getToRecipients()
throws com.compoze.util.mail.AddressException
getToRecipients in class AbstractMessageInternetAddress objects; or null if not setcom.compoze.util.mail.AddressException - if parsing of internet addresses failUnsupportedOperationException - if operation is not supported.MailHeaderProperty.TO
public void setToRecipients(java.lang.String sAddressList)
throws com.compoze.util.mail.AddressException
setToRecipients in class AbstractMessagesAddressList - sequence of internet addressescom.compoze.util.mail.AddressException - if parsing of internet addresses failUnsupportedOperationException - if operation is not supported.MailHeaderProperty.TOpublic void setToRecipients(com.compoze.util.mail.InternetAddress[] addressList)
setToRecipients in class AbstractMessageaddressList - array of InternetAddress objectsUnsupportedOperationException - if operation is not supported.MailHeaderProperty.TOpublic java.lang.String getCcAddressesString()
AbstractMessagegetCcAddressesString in class AbstractMessageUnsupportedOperationException - if operation is not supported.public java.util.LinkedList getCcAddresses()
AbstractMessagegetCcAddresses in class AbstractMessageUnsupportedOperationException - if operation is not supported.public void setCcAddresses(java.util.List addresses)
AbstractMessagesetCcAddresses in class AbstractMessageUnsupportedOperationException - if operation is not supported.
public com.compoze.util.mail.InternetAddress[] getCcRecipients()
throws com.compoze.util.mail.AddressException
getCcRecipients in class AbstractMessageInternetAddress objects; or null if not setcom.compoze.util.mail.AddressException - if parsing of internet addresses failUnsupportedOperationException - if operation is not supported.MailHeaderProperty.CC
public void setCcRecipients(java.lang.String sAddressList)
throws com.compoze.util.mail.AddressException
setCcRecipients in class AbstractMessagesAddressList - sequence of internet addressescom.compoze.util.mail.AddressException - if parsing of internet addresses failUnsupportedOperationException - if operation is not supported.MailHeaderProperty.CCpublic void setCcRecipients(com.compoze.util.mail.InternetAddress[] addressesList)
setCcRecipients in class AbstractMessageaddressesList - array of InternetAddress objectsUnsupportedOperationException - if operation is not supported.MailHeaderProperty.CCpublic java.lang.String getBccAddressesString()
AbstractMessagegetBccAddressesString in class AbstractMessageUnsupportedOperationException - if operation is not supported.public java.util.LinkedList getBccAddresses()
AbstractMessagegetBccAddresses in class AbstractMessageUnsupportedOperationException - if operation is not supported.public void setBccAddresses(java.util.List addresses)
AbstractMessagesetBccAddresses in class AbstractMessageUnsupportedOperationException - if operation is not supported.
public com.compoze.util.mail.InternetAddress[] getBccRecipients()
throws com.compoze.util.mail.AddressException
getBccRecipients in class AbstractMessageInternetAddress objects; or null if not setcom.compoze.util.mail.AddressException - if parsing of internet addresses failUnsupportedOperationException - if operation is not supported.MailHeaderProperty.BCC
public void setBccRecipients(java.lang.String sAddressList)
throws com.compoze.util.mail.AddressException
setBccRecipients in class AbstractMessagesAddressList - sequence of internet addressescom.compoze.util.mail.AddressException - if parsing of internet addresses failUnsupportedOperationException - if operation is not supported.MailHeaderProperty.BCCpublic void setBccRecipients(com.compoze.util.mail.InternetAddress[] addressList)
setBccRecipients in class AbstractMessageaddressList - array of InternetAddress objectsUnsupportedOperationException - if operation is not supported.MailHeaderProperty.BCC
public void serverUpdate(boolean bServerRefresh)
throws ExchangeException
If the journal entry does not exist in the Exchange store, it is created, else the existing journal entry is updated.
An AttachmentException is thrown if any conflicts occur attaching
(uploading) files to the journal entry. The exception will state what files failed
to attach. The journal entry is still updated and can be sent, but will exclude
the failed attachments.
serverUpdate in class AbstractMessagebServerRefresh - true requests the server to refresh
the propertiesAttachmentException - if any files failed to attached to this journal entry.ExchangeException - if a problem occurred while connecting to or interaction with Exchange ServerExchangeRuntimeException - if this object has been released and can no longer be used
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class AbstractMessagejava.lang.CloneNotSupportedException - if the object's class does not support the Cloneable interface.public java.lang.String toString()
toString in class AbstractMessagepublic static java.util.List getDefaultProperties()
MapiProperty.JOURNAL_ENTRYMapiProperty.JOURNAL_ENTRY_TYPEMapiProperty.JOURNAL_END_DATEMapiProperty.JOURNAL_START_DATEMapiProperty.JOURNAL_DURATIONMapiProperty.BODY_WIDEAbstractMessage.getDefaultProperties()public static java.util.List getProperties()
AbstractMessage.getProperties()
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||