com.moyosoft.connector.ms.outlook.post
Class OutlookPost

java.lang.Object
  |
  +--com.moyosoft.connector.ms.outlook.item.OutlookItem
        |
        +--com.moyosoft.connector.ms.outlook.post.OutlookPost
All Implemented Interfaces:
IAttachmentsContainer

public class OutlookPost
extends OutlookItem
implements IAttachmentsContainer


Constructor Summary
OutlookPost(com.moyosoft.connector.com.Dispatch dispatch)
           
 
Method Summary
 void clearConversationIndex()
           
 void close(InspectorClose saveMode)
           
 OutlookAttachment createAttachment(java.io.File pAttachmentFile, AttachmentType pType)
           
 OutlookMail forward()
           
 AttachmentsCollection getAttachments()
           
 int getAttachmentsCount()
           
 java.lang.String getBillingInformation()
           
 java.lang.String getBody()
           
 BodyFormat getBodyFormat()
           
 java.lang.String getCategories()
           
 java.lang.String getCompanies()
           
 ConflictsCollection getConflicts()
           
 java.lang.String getConversationIndex()
           
 java.lang.String getConversationTopic()
           
 DownloadState getDownloadState()
           
 java.util.Date getExpiryTime()
           
 FormDescription getFormDescription()
           
 java.lang.String getFrom()
          Returns the address of this e-mail's originator.
 java.lang.String getHTMLBody()
           
 ImportanceType getImportance()
           
 Inspector getInspector()
           
 int getInternetCodepage()
          The 'InternetCodepage' property is only supported by Outlook 2002 or higher.
 ItemPropertiesCollection getItemProperties()
           
 RemoteStatus getMarkForDownload()
           
 java.lang.String getMessageClass()
           
 java.lang.String getMileage()
           
 java.util.Date getReceivedTime()
           
 AddressEntry getSender()
          Returns the originator of this message as an AddressEntry object.
 java.lang.String getSenderAddress()
          Returns the address of this e-mail's originator.
 java.lang.String getSenderEmailAddress()
          Deprecated. Use the method getSenderAddress instead
 java.lang.String getSenderEmailType()
          The 'SenderEmailType' property is only supported by Outlook 2003 or higher.
 java.lang.String getSenderName()
           
 SensitivityType getSensitivity()
           
 java.util.Date getSentOn()
           
 int getSize()
           
 java.lang.String getSubject()
           
 OutlookItemType getType()
           
 UserPropertiesCollection getUserProperties()
           
 boolean isAutoResolvedWinner()
          The 'AutoResolvedWinner' property is only supported by Outlook 2003 or higher.
 boolean isConflict()
           
 boolean isNoAging()
           
 boolean isSaved()
           
 boolean isUnRead()
           
 void post()
           
 OutlookMail reply()
           
 boolean setACLs()
           
 void setBillingInformation(java.lang.String value)
           
 void setBody(java.lang.String value)
           
 void setBodyFormat(BodyFormat value)
           
 void setCategories(java.lang.String value)
           
 void setCompanies(java.lang.String value)
           
 void setExpiryTime(java.util.Date value)
           
 void setHTMLBody(java.lang.String value)
           
 void setImportance(ImportanceType value)
           
 void setInternetCodepage(int value)
          The 'InternetCodepage' property is only supported by Outlook 2002 or higher.
 void setMarkForDownload(RemoteStatus value)
           
 void setMessageClass(java.lang.String value)
           
 void setMileage(java.lang.String value)
           
 void setNoAging(boolean value)
           
 void setSensitivity(SensitivityType value)
           
 void setSubject(java.lang.String value)
           
 void setUnRead(boolean value)
           
 void showCategoriesDialog()
           
 
Methods inherited from class com.moyosoft.connector.ms.outlook.item.OutlookItem
copy, create, delete, deleteMapiProperty, deleteMapiProperty, display, display, dispose, equals, getCreationTime, getDispatch, getEntryId, getItemId, getLastModificationTime, getLinks, getMapiProperty, getMapiProperty, getParentFolder, getPropertyAccessor, move, printOut, save, saveAs, saveAs, saveAs, saveAs, setMapiProperty, setMapiProperty
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutlookPost

public OutlookPost(com.moyosoft.connector.com.Dispatch dispatch)
Method Detail

getType

public OutlookItemType getType()
Specified by:
getType in class OutlookItem

getAttachments

public AttachmentsCollection getAttachments()
Specified by:
getAttachments in interface IAttachmentsContainer

createAttachment

public OutlookAttachment createAttachment(java.io.File pAttachmentFile,
                                          AttachmentType pType)
Specified by:
createAttachment in interface IAttachmentsContainer

getAttachmentsCount

public int getAttachmentsCount()
Specified by:
getAttachmentsCount in interface IAttachmentsContainer

getBillingInformation

public java.lang.String getBillingInformation()

setBillingInformation

public void setBillingInformation(java.lang.String value)

getBody

public java.lang.String getBody()

setBody

public void setBody(java.lang.String value)

getCategories

public java.lang.String getCategories()

setCategories

public void setCategories(java.lang.String value)

getCompanies

public java.lang.String getCompanies()

setCompanies

public void setCompanies(java.lang.String value)

getConversationIndex

public java.lang.String getConversationIndex()

getConversationTopic

public java.lang.String getConversationTopic()

getFormDescription

public FormDescription getFormDescription()

getInspector

public Inspector getInspector()

getImportance

public ImportanceType getImportance()

setImportance

public void setImportance(ImportanceType value)

getMessageClass

public java.lang.String getMessageClass()

setMessageClass

public void setMessageClass(java.lang.String value)

getMileage

public java.lang.String getMileage()

setMileage

public void setMileage(java.lang.String value)

isNoAging

public boolean isNoAging()

setNoAging

public void setNoAging(boolean value)

isSaved

public boolean isSaved()

getSensitivity

public SensitivityType getSensitivity()

setSensitivity

public void setSensitivity(SensitivityType value)

getSize

public int getSize()

getSubject

public java.lang.String getSubject()

setSubject

public void setSubject(java.lang.String value)

isUnRead

public boolean isUnRead()

setUnRead

public void setUnRead(boolean value)

getUserProperties

public UserPropertiesCollection getUserProperties()

close

public void close(InspectorClose saveMode)

getExpiryTime

public java.util.Date getExpiryTime()

setExpiryTime

public void setExpiryTime(java.util.Date value)

getHTMLBody

public java.lang.String getHTMLBody()

setHTMLBody

public void setHTMLBody(java.lang.String value)

getReceivedTime

public java.util.Date getReceivedTime()

getSenderName

public java.lang.String getSenderName()

getSentOn

public java.util.Date getSentOn()

clearConversationIndex

public void clearConversationIndex()

forward

public OutlookMail forward()

post

public void post()

reply

public OutlookMail reply()

getItemProperties

public ItemPropertiesCollection getItemProperties()

getBodyFormat

public BodyFormat getBodyFormat()

setBodyFormat

public void setBodyFormat(BodyFormat value)

getDownloadState

public DownloadState getDownloadState()

showCategoriesDialog

public void showCategoriesDialog()

getInternetCodepage

public int getInternetCodepage()
The 'InternetCodepage' property is only supported by Outlook 2002 or higher. With other versions this method will throw a ComponentObjectModelException.


setInternetCodepage

public void setInternetCodepage(int value)
The 'InternetCodepage' property is only supported by Outlook 2002 or higher. With other versions this method will throw a ComponentObjectModelException.


getMarkForDownload

public RemoteStatus getMarkForDownload()

setMarkForDownload

public void setMarkForDownload(RemoteStatus value)

setACLs

public boolean setACLs()

isConflict

public boolean isConflict()

isAutoResolvedWinner

public boolean isAutoResolvedWinner()
The 'AutoResolvedWinner' property is only supported by Outlook 2003 or higher. With other versions this method will throw a ComponentObjectModelException.


getConflicts

public ConflictsCollection getConflicts()

getSenderEmailAddress

public java.lang.String getSenderEmailAddress()
Deprecated. Use the method getSenderAddress instead

The 'SenderEmailAddress' property is only supported by Outlook 2003 or higher. With other versions this method will throw a ComponentObjectModelException. This method has been replaced with the method getSenderAddress.


getSenderEmailType

public java.lang.String getSenderEmailType()
The 'SenderEmailType' property is only supported by Outlook 2003 or higher. With other versions this method will throw a ComponentObjectModelException.


getFrom

public java.lang.String getFrom()
Returns the address of this e-mail's originator. Returns the same value as the method getSenderAddress.


getSenderAddress

public java.lang.String getSenderAddress()
Returns the address of this e-mail's originator.

With the Professional edition of Java Outlook Connector, this method also translate an Exchange type address (type "EX") to an SMTP e-mail address and returns the SMTP address (Outlook 2002 or later).


getSender

public AddressEntry getSender()
Returns the originator of this message as an AddressEntry object.