Package com.sforce.soap.partner
Class SingleEmailMessage
- java.lang.Object
-
- com.sforce.soap.partner.Email
-
- com.sforce.soap.partner.SingleEmailMessage
-
- All Implemented Interfaces:
IEmail,ISingleEmailMessage,XMLizable
public class SingleEmailMessage extends Email implements ISingleEmailMessage
This is a generated class for the SObject Enterprise API. Do not edit this file, as your changes will be lost.
-
-
Constructor Summary
Constructors Constructor Description SingleEmailMessage()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getBccAddresses()element : bccAddresses of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]String[]getCcAddresses()element : ccAddresses of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]StringgetCharset()element : charset of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.StringString[]getDocumentAttachments()element : documentAttachments of type {urn:partner.soap.sforce.com}ID java type: java.lang.String[]String[]getEntityAttachments()element : entityAttachments of type {urn:partner.soap.sforce.com}ID java type: java.lang.String[]EmailFileAttachment[]getFileAttachments()element : fileAttachments of type {urn:partner.soap.sforce.com}EmailFileAttachment java type: com.sforce.soap.partner.EmailFileAttachment[]StringgetHtmlBody()element : htmlBody of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.StringStringgetInReplyTo()element : inReplyTo of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.StringSendEmailOptOutPolicygetOptOutPolicy()element : optOutPolicy of type {urn:partner.soap.sforce.com}SendEmailOptOutPolicy java type: com.sforce.soap.partner.SendEmailOptOutPolicyStringgetOrgWideEmailAddressId()element : orgWideEmailAddressId of type {urn:partner.soap.sforce.com}ID java type: java.lang.StringStringgetPlainTextBody()element : plainTextBody of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.StringStringgetReferences()element : references of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.StringStringgetTargetObjectId()element : targetObjectId of type {urn:partner.soap.sforce.com}ID java type: java.lang.StringStringgetTemplateId()element : templateId of type {urn:partner.soap.sforce.com}ID java type: java.lang.StringStringgetTemplateName()element : templateName of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.StringString[]getToAddresses()element : toAddresses of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]BooleangetTreatBodiesAsTemplate()element : treatBodiesAsTemplate of type {http://www.w3.org/2001/XMLSchema}boolean java type: java.lang.BooleanBooleangetTreatTargetObjectAsRecipient()element : treatTargetObjectAsRecipient of type {http://www.w3.org/2001/XMLSchema}boolean java type: java.lang.BooleanStringgetWhatId()element : whatId of type {urn:partner.soap.sforce.com}ID java type: java.lang.Stringvoidload(XmlInputStream __in, TypeMapper __typeMapper)protected voidloadFields(XmlInputStream __in, TypeMapper __typeMapper)protected voidsetBccAddresses(XmlInputStream __in, TypeMapper __typeMapper)voidsetBccAddresses(String[] bccAddresses)protected voidsetCcAddresses(XmlInputStream __in, TypeMapper __typeMapper)voidsetCcAddresses(String[] ccAddresses)protected voidsetCharset(XmlInputStream __in, TypeMapper __typeMapper)voidsetCharset(String charset)protected voidsetDocumentAttachments(XmlInputStream __in, TypeMapper __typeMapper)voidsetDocumentAttachments(String[] documentAttachments)protected voidsetEntityAttachments(XmlInputStream __in, TypeMapper __typeMapper)voidsetEntityAttachments(String[] entityAttachments)voidsetFileAttachments(IEmailFileAttachment[] fileAttachments)protected voidsetFileAttachments(XmlInputStream __in, TypeMapper __typeMapper)protected voidsetHtmlBody(XmlInputStream __in, TypeMapper __typeMapper)voidsetHtmlBody(String htmlBody)protected voidsetInReplyTo(XmlInputStream __in, TypeMapper __typeMapper)voidsetInReplyTo(String inReplyTo)voidsetOptOutPolicy(SendEmailOptOutPolicy optOutPolicy)protected voidsetOptOutPolicy(XmlInputStream __in, TypeMapper __typeMapper)protected voidsetOrgWideEmailAddressId(XmlInputStream __in, TypeMapper __typeMapper)voidsetOrgWideEmailAddressId(String orgWideEmailAddressId)protected voidsetPlainTextBody(XmlInputStream __in, TypeMapper __typeMapper)voidsetPlainTextBody(String plainTextBody)protected voidsetReferences(XmlInputStream __in, TypeMapper __typeMapper)voidsetReferences(String references)protected voidsetTargetObjectId(XmlInputStream __in, TypeMapper __typeMapper)voidsetTargetObjectId(String targetObjectId)protected voidsetTemplateId(XmlInputStream __in, TypeMapper __typeMapper)voidsetTemplateId(String templateId)protected voidsetTemplateName(XmlInputStream __in, TypeMapper __typeMapper)voidsetTemplateName(String templateName)protected voidsetToAddresses(XmlInputStream __in, TypeMapper __typeMapper)voidsetToAddresses(String[] toAddresses)protected voidsetTreatBodiesAsTemplate(XmlInputStream __in, TypeMapper __typeMapper)voidsetTreatBodiesAsTemplate(Boolean treatBodiesAsTemplate)protected voidsetTreatTargetObjectAsRecipient(XmlInputStream __in, TypeMapper __typeMapper)voidsetTreatTargetObjectAsRecipient(Boolean treatTargetObjectAsRecipient)protected voidsetWhatId(XmlInputStream __in, TypeMapper __typeMapper)voidsetWhatId(String whatId)StringtoString()voidwrite(QName __element, XmlOutputStream __out, TypeMapper __typeMapper)protected voidwriteFields(XmlOutputStream __out, TypeMapper __typeMapper)-
Methods inherited from class com.sforce.soap.partner.Email
getBccSender, getEmailPriority, getReplyTo, getSaveAsActivity, getSenderDisplayName, getSubject, getUseSignature, setBccSender, setBccSender, setEmailPriority, setEmailPriority, setReplyTo, setReplyTo, setSaveAsActivity, setSaveAsActivity, setSenderDisplayName, setSenderDisplayName, setSubject, setSubject, setUseSignature, setUseSignature
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.sforce.soap.partner.IEmail
getBccSender, getEmailPriority, getReplyTo, getSaveAsActivity, getSenderDisplayName, getSubject, getUseSignature, setBccSender, setEmailPriority, setReplyTo, setSaveAsActivity, setSenderDisplayName, setSubject, setUseSignature
-
-
-
-
Method Detail
-
getBccAddresses
public String[] getBccAddresses()
Description copied from interface:ISingleEmailMessageelement : bccAddresses of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]- Specified by:
getBccAddressesin interfaceISingleEmailMessage
-
setBccAddresses
public void setBccAddresses(String[] bccAddresses)
- Specified by:
setBccAddressesin interfaceISingleEmailMessage
-
setBccAddresses
protected void setBccAddresses(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getCcAddresses
public String[] getCcAddresses()
Description copied from interface:ISingleEmailMessageelement : ccAddresses of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]- Specified by:
getCcAddressesin interfaceISingleEmailMessage
-
setCcAddresses
public void setCcAddresses(String[] ccAddresses)
- Specified by:
setCcAddressesin interfaceISingleEmailMessage
-
setCcAddresses
protected void setCcAddresses(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getCharset
public String getCharset()
Description copied from interface:ISingleEmailMessageelement : charset of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String- Specified by:
getCharsetin interfaceISingleEmailMessage
-
setCharset
public void setCharset(String charset)
- Specified by:
setCharsetin interfaceISingleEmailMessage
-
setCharset
protected void setCharset(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getDocumentAttachments
public String[] getDocumentAttachments()
Description copied from interface:ISingleEmailMessageelement : documentAttachments of type {urn:partner.soap.sforce.com}ID java type: java.lang.String[]- Specified by:
getDocumentAttachmentsin interfaceISingleEmailMessage
-
setDocumentAttachments
public void setDocumentAttachments(String[] documentAttachments)
- Specified by:
setDocumentAttachmentsin interfaceISingleEmailMessage
-
setDocumentAttachments
protected void setDocumentAttachments(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getEntityAttachments
public String[] getEntityAttachments()
Description copied from interface:ISingleEmailMessageelement : entityAttachments of type {urn:partner.soap.sforce.com}ID java type: java.lang.String[]- Specified by:
getEntityAttachmentsin interfaceISingleEmailMessage
-
setEntityAttachments
public void setEntityAttachments(String[] entityAttachments)
- Specified by:
setEntityAttachmentsin interfaceISingleEmailMessage
-
setEntityAttachments
protected void setEntityAttachments(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getFileAttachments
public EmailFileAttachment[] getFileAttachments()
Description copied from interface:ISingleEmailMessageelement : fileAttachments of type {urn:partner.soap.sforce.com}EmailFileAttachment java type: com.sforce.soap.partner.EmailFileAttachment[]- Specified by:
getFileAttachmentsin interfaceISingleEmailMessage
-
setFileAttachments
public void setFileAttachments(IEmailFileAttachment[] fileAttachments)
- Specified by:
setFileAttachmentsin interfaceISingleEmailMessage
-
setFileAttachments
protected void setFileAttachments(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getHtmlBody
public String getHtmlBody()
Description copied from interface:ISingleEmailMessageelement : htmlBody of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String- Specified by:
getHtmlBodyin interfaceISingleEmailMessage
-
setHtmlBody
public void setHtmlBody(String htmlBody)
- Specified by:
setHtmlBodyin interfaceISingleEmailMessage
-
setHtmlBody
protected void setHtmlBody(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getInReplyTo
public String getInReplyTo()
Description copied from interface:ISingleEmailMessageelement : inReplyTo of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String- Specified by:
getInReplyToin interfaceISingleEmailMessage
-
setInReplyTo
public void setInReplyTo(String inReplyTo)
- Specified by:
setInReplyToin interfaceISingleEmailMessage
-
setInReplyTo
protected void setInReplyTo(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getOptOutPolicy
public SendEmailOptOutPolicy getOptOutPolicy()
Description copied from interface:ISingleEmailMessageelement : optOutPolicy of type {urn:partner.soap.sforce.com}SendEmailOptOutPolicy java type: com.sforce.soap.partner.SendEmailOptOutPolicy- Specified by:
getOptOutPolicyin interfaceISingleEmailMessage
-
setOptOutPolicy
public void setOptOutPolicy(SendEmailOptOutPolicy optOutPolicy)
- Specified by:
setOptOutPolicyin interfaceISingleEmailMessage
-
setOptOutPolicy
protected void setOptOutPolicy(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getOrgWideEmailAddressId
public String getOrgWideEmailAddressId()
Description copied from interface:ISingleEmailMessageelement : orgWideEmailAddressId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String- Specified by:
getOrgWideEmailAddressIdin interfaceISingleEmailMessage
-
setOrgWideEmailAddressId
public void setOrgWideEmailAddressId(String orgWideEmailAddressId)
- Specified by:
setOrgWideEmailAddressIdin interfaceISingleEmailMessage
-
setOrgWideEmailAddressId
protected void setOrgWideEmailAddressId(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getPlainTextBody
public String getPlainTextBody()
Description copied from interface:ISingleEmailMessageelement : plainTextBody of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String- Specified by:
getPlainTextBodyin interfaceISingleEmailMessage
-
setPlainTextBody
public void setPlainTextBody(String plainTextBody)
- Specified by:
setPlainTextBodyin interfaceISingleEmailMessage
-
setPlainTextBody
protected void setPlainTextBody(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getReferences
public String getReferences()
Description copied from interface:ISingleEmailMessageelement : references of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String- Specified by:
getReferencesin interfaceISingleEmailMessage
-
setReferences
public void setReferences(String references)
- Specified by:
setReferencesin interfaceISingleEmailMessage
-
setReferences
protected void setReferences(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getTargetObjectId
public String getTargetObjectId()
Description copied from interface:ISingleEmailMessageelement : targetObjectId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String- Specified by:
getTargetObjectIdin interfaceISingleEmailMessage
-
setTargetObjectId
public void setTargetObjectId(String targetObjectId)
- Specified by:
setTargetObjectIdin interfaceISingleEmailMessage
-
setTargetObjectId
protected void setTargetObjectId(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getTemplateId
public String getTemplateId()
Description copied from interface:ISingleEmailMessageelement : templateId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String- Specified by:
getTemplateIdin interfaceISingleEmailMessage
-
setTemplateId
public void setTemplateId(String templateId)
- Specified by:
setTemplateIdin interfaceISingleEmailMessage
-
setTemplateId
protected void setTemplateId(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getTemplateName
public String getTemplateName()
Description copied from interface:ISingleEmailMessageelement : templateName of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String- Specified by:
getTemplateNamein interfaceISingleEmailMessage
-
setTemplateName
public void setTemplateName(String templateName)
- Specified by:
setTemplateNamein interfaceISingleEmailMessage
-
setTemplateName
protected void setTemplateName(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getToAddresses
public String[] getToAddresses()
Description copied from interface:ISingleEmailMessageelement : toAddresses of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]- Specified by:
getToAddressesin interfaceISingleEmailMessage
-
setToAddresses
public void setToAddresses(String[] toAddresses)
- Specified by:
setToAddressesin interfaceISingleEmailMessage
-
setToAddresses
protected void setToAddresses(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getTreatBodiesAsTemplate
public Boolean getTreatBodiesAsTemplate()
Description copied from interface:ISingleEmailMessageelement : treatBodiesAsTemplate of type {http://www.w3.org/2001/XMLSchema}boolean java type: java.lang.Boolean- Specified by:
getTreatBodiesAsTemplatein interfaceISingleEmailMessage
-
setTreatBodiesAsTemplate
public void setTreatBodiesAsTemplate(Boolean treatBodiesAsTemplate)
- Specified by:
setTreatBodiesAsTemplatein interfaceISingleEmailMessage
-
setTreatBodiesAsTemplate
protected void setTreatBodiesAsTemplate(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getTreatTargetObjectAsRecipient
public Boolean getTreatTargetObjectAsRecipient()
Description copied from interface:ISingleEmailMessageelement : treatTargetObjectAsRecipient of type {http://www.w3.org/2001/XMLSchema}boolean java type: java.lang.Boolean- Specified by:
getTreatTargetObjectAsRecipientin interfaceISingleEmailMessage
-
setTreatTargetObjectAsRecipient
public void setTreatTargetObjectAsRecipient(Boolean treatTargetObjectAsRecipient)
- Specified by:
setTreatTargetObjectAsRecipientin interfaceISingleEmailMessage
-
setTreatTargetObjectAsRecipient
protected void setTreatTargetObjectAsRecipient(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getWhatId
public String getWhatId()
Description copied from interface:ISingleEmailMessageelement : whatId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String- Specified by:
getWhatIdin interfaceISingleEmailMessage
-
setWhatId
public void setWhatId(String whatId)
- Specified by:
setWhatIdin interfaceISingleEmailMessage
-
setWhatId
protected void setWhatId(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
write
public void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
- Specified by:
writein interfaceXMLizable- Overrides:
writein classEmail- Throws:
IOException
-
writeFields
protected void writeFields(XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
- Overrides:
writeFieldsin classEmail- Throws:
IOException
-
load
public void load(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Specified by:
loadin interfaceXMLizable- Overrides:
loadin classEmail- Throws:
IOExceptionConnectionException
-
loadFields
protected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Overrides:
loadFieldsin classEmail- Throws:
IOExceptionConnectionException
-
-