com.sforce.soap.partner
Class SingleEmailMessage
java.lang.Object
com.sforce.soap.partner.Email
com.sforce.soap.partner.SingleEmailMessage
- All Implemented Interfaces:
- XMLizable
public class SingleEmailMessage
- extends Email
Generated class, please do not edit.
| Methods inherited from class com.sforce.soap.partner.Email |
getBccSender, getEmailPriority, getReplyTo, getSaveAsActivity, getSenderDisplayName, getSubject, getUseSignature, setBccSender, setEmailPriority, setReplyTo, setSaveAsActivity, setSenderDisplayName, setSubject, setUseSignature |
SingleEmailMessage
public SingleEmailMessage()
- Constructor
getBccAddresses
public String[] getBccAddresses()
setBccAddresses
public void setBccAddresses(String[] bccAddresses)
getCcAddresses
public String[] getCcAddresses()
setCcAddresses
public void setCcAddresses(String[] ccAddresses)
getCharset
public String getCharset()
setCharset
public void setCharset(String charset)
getDocumentAttachments
public String[] getDocumentAttachments()
setDocumentAttachments
public void setDocumentAttachments(String[] documentAttachments)
getHtmlBody
public String getHtmlBody()
setHtmlBody
public void setHtmlBody(String htmlBody)
getInReplyTo
public String getInReplyTo()
setInReplyTo
public void setInReplyTo(String inReplyTo)
getFileAttachments
public EmailFileAttachment[] getFileAttachments()
setFileAttachments
public void setFileAttachments(EmailFileAttachment[] fileAttachments)
getOrgWideEmailAddressId
public String getOrgWideEmailAddressId()
setOrgWideEmailAddressId
public void setOrgWideEmailAddressId(String orgWideEmailAddressId)
getPlainTextBody
public String getPlainTextBody()
setPlainTextBody
public void setPlainTextBody(String plainTextBody)
getReferences
public String getReferences()
setReferences
public void setReferences(String references)
getTargetObjectId
public String getTargetObjectId()
setTargetObjectId
public void setTargetObjectId(String targetObjectId)
getTemplateId
public String getTemplateId()
setTemplateId
public void setTemplateId(String templateId)
getToAddresses
public String[] getToAddresses()
setToAddresses
public void setToAddresses(String[] toAddresses)
getWhatId
public String getWhatId()
setWhatId
public void setWhatId(String whatId)
write
public void write(QName __element,
XmlOutputStream __out,
TypeMapper __typeMapper)
throws IOException
- Description copied from interface:
XMLizable
- write this instace as xml.
- Specified by:
write in interface XMLizable- Overrides:
write in class Email
- Parameters:
__element - xml element name__out - xml output stream__typeMapper - type mapper to be used
- Throws:
IOException - failed to write xml
writeFields
protected void writeFields(XmlOutputStream __out,
TypeMapper __typeMapper)
throws IOException
- Overrides:
writeFields in class Email
- Throws:
IOException
load
public void load(XmlInputStream __in,
TypeMapper __typeMapper)
throws IOException,
ConnectionException
- Description copied from interface:
XMLizable
- load the fileds/children from the specified xml stream
- Specified by:
load in interface XMLizable- Overrides:
load in class Email
- Parameters:
__in - xml input stream from which the data is read__typeMapper - type mapper to be used
- Throws:
IOException - failed to read xml
ConnectionException - failed to read/parser/bind xml
loadFields
protected void loadFields(XmlInputStream __in,
TypeMapper __typeMapper)
throws IOException,
ConnectionException
- Overrides:
loadFields in class Email
- Throws:
IOException
ConnectionException
toString
public String toString()
- Overrides:
toString in class Email
Copyright © 2012. All Rights Reserved.