public class

SingleEmailMessage

extends Email
java.lang.Object
   ↳ com.sforce.soap.partner.Email
     ↳ com.sforce.soap.partner.SingleEmailMessage

Class Overview

Generated class, please do not edit.

Summary

Fields
private String[] bccAddresses
private boolean bccAddresses__is_set
private static final TypeInfo bccAddresses__typeInfo element : bccAddresses of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]
private String[] ccAddresses
private boolean ccAddresses__is_set
private static final TypeInfo ccAddresses__typeInfo element : ccAddresses of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]
private String charset
private boolean charset__is_set
private static final TypeInfo charset__typeInfo element : charset of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String
private String[] documentAttachments
private boolean documentAttachments__is_set
private static final TypeInfo documentAttachments__typeInfo element : documentAttachments of type {urn:partner.soap.sforce.com}ID java type: java.lang.String[]
private EmailFileAttachment[] fileAttachments
private boolean fileAttachments__is_set
private static final TypeInfo fileAttachments__typeInfo element : fileAttachments of type {urn:partner.soap.sforce.com}EmailFileAttachment java type: com.sforce.soap.partner.EmailFileAttachment[]
private String htmlBody
private boolean htmlBody__is_set
private static final TypeInfo htmlBody__typeInfo element : htmlBody of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String
private String inReplyTo
private boolean inReplyTo__is_set
private static final TypeInfo inReplyTo__typeInfo element : inReplyTo of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String
private String orgWideEmailAddressId
private boolean orgWideEmailAddressId__is_set
private static final TypeInfo orgWideEmailAddressId__typeInfo element : orgWideEmailAddressId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String
private String plainTextBody
private boolean plainTextBody__is_set
private static final TypeInfo plainTextBody__typeInfo element : plainTextBody of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String
private String references
private boolean references__is_set
private static final TypeInfo references__typeInfo element : references of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String
private String targetObjectId
private boolean targetObjectId__is_set
private static final TypeInfo targetObjectId__typeInfo element : targetObjectId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String
private String templateId
private boolean templateId__is_set
private static final TypeInfo templateId__typeInfo element : templateId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String
private String[] toAddresses
private boolean toAddresses__is_set
private static final TypeInfo toAddresses__typeInfo element : toAddresses of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]
private String whatId
private boolean whatId__is_set
private static final TypeInfo whatId__typeInfo element : whatId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String
[Expand]
Inherited Fields
From class com.sforce.soap.partner.Email
Public Constructors
SingleEmailMessage()
Constructor
Public Methods
String[] getBccAddresses()
String[] getCcAddresses()
String getCharset()
String[] getDocumentAttachments()
EmailFileAttachment[] getFileAttachments()
String getHtmlBody()
String getInReplyTo()
String getOrgWideEmailAddressId()
String getPlainTextBody()
String getReferences()
String getTargetObjectId()
String getTemplateId()
String[] getToAddresses()
String getWhatId()
void load(XmlInputStream __in, TypeMapper __typeMapper)
load the fileds/children from the specified xml stream
void setBccAddresses(String[] bccAddresses)
void setCcAddresses(String[] ccAddresses)
void setCharset(String charset)
void setDocumentAttachments(String[] documentAttachments)
void setFileAttachments(EmailFileAttachment[] fileAttachments)
void setHtmlBody(String htmlBody)
void setInReplyTo(String inReplyTo)
void setOrgWideEmailAddressId(String orgWideEmailAddressId)
void setPlainTextBody(String plainTextBody)
void setReferences(String references)
void setTargetObjectId(String targetObjectId)
void setTemplateId(String templateId)
void setToAddresses(String[] toAddresses)
void setWhatId(String whatId)
String toString()
void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper)
write this instace as xml.
Protected Methods
void loadFields(XmlInputStream __in, TypeMapper __typeMapper)
void writeFields(XmlOutputStream __out, TypeMapper __typeMapper)
[Expand]
Inherited Methods
From class com.sforce.soap.partner.Email
From class java.lang.Object
From interface com.sforce.ws.bind.XMLizable

Fields

private String[] bccAddresses

private boolean bccAddresses__is_set

private static final TypeInfo bccAddresses__typeInfo

element : bccAddresses of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]

private String[] ccAddresses

private boolean ccAddresses__is_set

private static final TypeInfo ccAddresses__typeInfo

element : ccAddresses of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]

private String charset

private boolean charset__is_set

private static final TypeInfo charset__typeInfo

element : charset of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String

private String[] documentAttachments

private boolean documentAttachments__is_set

private static final TypeInfo documentAttachments__typeInfo

element : documentAttachments of type {urn:partner.soap.sforce.com}ID java type: java.lang.String[]

private EmailFileAttachment[] fileAttachments

private boolean fileAttachments__is_set

private static final TypeInfo fileAttachments__typeInfo

element : fileAttachments of type {urn:partner.soap.sforce.com}EmailFileAttachment java type: com.sforce.soap.partner.EmailFileAttachment[]

private String htmlBody

private boolean htmlBody__is_set

private static final TypeInfo htmlBody__typeInfo

element : htmlBody of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String

private String inReplyTo

private boolean inReplyTo__is_set

private static final TypeInfo inReplyTo__typeInfo

element : inReplyTo of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String

private String orgWideEmailAddressId

private boolean orgWideEmailAddressId__is_set

private static final TypeInfo orgWideEmailAddressId__typeInfo

element : orgWideEmailAddressId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String

private String plainTextBody

private boolean plainTextBody__is_set

private static final TypeInfo plainTextBody__typeInfo

element : plainTextBody of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String

private String references

private boolean references__is_set

private static final TypeInfo references__typeInfo

element : references of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String

private String targetObjectId

private boolean targetObjectId__is_set

private static final TypeInfo targetObjectId__typeInfo

element : targetObjectId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String

private String templateId

private boolean templateId__is_set

private static final TypeInfo templateId__typeInfo

element : templateId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String

private String[] toAddresses

private boolean toAddresses__is_set

private static final TypeInfo toAddresses__typeInfo

element : toAddresses of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]

private String whatId

private boolean whatId__is_set

private static final TypeInfo whatId__typeInfo

element : whatId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String

Public Constructors

public SingleEmailMessage ()

Constructor

Public Methods

public String[] getBccAddresses ()

public String[] getCcAddresses ()

public String getCharset ()

public String[] getDocumentAttachments ()

public EmailFileAttachment[] getFileAttachments ()

public String getHtmlBody ()

public String getInReplyTo ()

public String getOrgWideEmailAddressId ()

public String getPlainTextBody ()

public String getReferences ()

public String getTargetObjectId ()

public String getTemplateId ()

public String[] getToAddresses ()

public String getWhatId ()

public void load (XmlInputStream __in, TypeMapper __typeMapper)

load the fileds/children from the specified xml stream

Parameters
__in Xml input stream from which the data is read
__typeMapper Type mapper to be used
Throws
IOException
ConnectionException

public void setBccAddresses (String[] bccAddresses)

Parameters
bccAddresses

public void setCcAddresses (String[] ccAddresses)

Parameters
ccAddresses

public void setCharset (String charset)

Parameters
charset

public void setDocumentAttachments (String[] documentAttachments)

Parameters
documentAttachments

public void setFileAttachments (EmailFileAttachment[] fileAttachments)

Parameters
fileAttachments

public void setHtmlBody (String htmlBody)

Parameters
htmlBody

public void setInReplyTo (String inReplyTo)

Parameters
inReplyTo

public void setOrgWideEmailAddressId (String orgWideEmailAddressId)

Parameters
orgWideEmailAddressId

public void setPlainTextBody (String plainTextBody)

Parameters
plainTextBody

public void setReferences (String references)

Parameters
references

public void setTargetObjectId (String targetObjectId)

Parameters
targetObjectId

public void setTemplateId (String templateId)

Parameters
templateId

public void setToAddresses (String[] toAddresses)

Parameters
toAddresses

public void setWhatId (String whatId)

Parameters
whatId

public String toString ()

public void write (QName __element, XmlOutputStream __out, TypeMapper __typeMapper)

write this instace as xml.

Parameters
__element Xml element name
__out Xml output stream
__typeMapper Type mapper to be used
Throws
IOException

Protected Methods

protected void loadFields (XmlInputStream __in, TypeMapper __typeMapper)

Parameters
__in
__typeMapper
Throws
IOException
ConnectionException

protected void writeFields (XmlOutputStream __out, TypeMapper __typeMapper)

Parameters
__out
__typeMapper
Throws
IOException