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
This is a generated class for the SObject Enterprise API.
Do not edit this file, as your changes will be lost.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]element : bccAddresses of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]String[]element : ccAddresses of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]element : charset of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.StringString[]element : documentAttachments of type {urn:partner.soap.sforce.com}ID java type: java.lang.String[]String[]element : entityAttachments of type {urn:partner.soap.sforce.com}ID java type: java.lang.String[]element : fileAttachments of type {urn:partner.soap.sforce.com}EmailFileAttachment java type: com.sforce.soap.partner.EmailFileAttachment[]element : htmlBody of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.Stringelement : inReplyTo of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.Stringelement : oneClickPost of type {http://www.w3.org/2001/XMLSchema}boolean java type: java.lang.Booleanelement : optOutPolicy of type {urn:partner.soap.sforce.com}SendEmailOptOutPolicy java type: com.sforce.soap.partner.SendEmailOptOutPolicyelement : orgWideEmailAddressId of type {urn:partner.soap.sforce.com}ID java type: java.lang.Stringelement : plainTextBody of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.Stringelement : references of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.Stringelement : targetObjectId of type {urn:partner.soap.sforce.com}ID java type: java.lang.Stringelement : templateId of type {urn:partner.soap.sforce.com}ID java type: java.lang.Stringelement : templateName of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.StringString[]element : toAddresses of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]element : treatBodiesAsTemplate of type {http://www.w3.org/2001/XMLSchema}boolean java type: java.lang.Booleanelement : treatTargetObjectAsRecipient of type {http://www.w3.org/2001/XMLSchema}boolean java type: java.lang.Booleanelement : unsubscribeComment of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.StringString[]element : unsubscribeUrls of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]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) protected voidsetOneClickPost(XmlInputStream __in, TypeMapper __typeMapper) voidsetOneClickPost(Boolean oneClickPost) 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 voidsetUnsubscribeComment(XmlInputStream __in, TypeMapper __typeMapper) voidsetUnsubscribeComment(String unsubscribeComment) protected voidsetUnsubscribeUrls(XmlInputStream __in, TypeMapper __typeMapper) voidsetUnsubscribeUrls(String[] unsubscribeUrls) protected voidsetWhatId(XmlInputStream __in, TypeMapper __typeMapper) voidtoString()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, setUseSignatureMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sforce.soap.partner.IEmail
getBccSender, getEmailPriority, getReplyTo, getSaveAsActivity, getSenderDisplayName, getSubject, getUseSignature, setBccSender, setEmailPriority, setReplyTo, setSaveAsActivity, setSenderDisplayName, setSubject, setUseSignature
-
Constructor Details
-
SingleEmailMessage
public SingleEmailMessage()Constructor
-
-
Method Details
-
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
- Specified by:
setBccAddressesin interfaceISingleEmailMessage
-
setBccAddresses
protected void setBccAddresses(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setCcAddressesin interfaceISingleEmailMessage
-
setCcAddresses
protected void setCcAddresses(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setCharsetin interfaceISingleEmailMessage
-
setCharset
protected void setCharset(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setDocumentAttachmentsin interfaceISingleEmailMessage
-
setDocumentAttachments
protected void setDocumentAttachments(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setEntityAttachmentsin interfaceISingleEmailMessage
-
setEntityAttachments
protected void setEntityAttachments(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setFileAttachmentsin interfaceISingleEmailMessage
-
setFileAttachments
protected void setFileAttachments(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setHtmlBodyin interfaceISingleEmailMessage
-
setHtmlBody
protected void setHtmlBody(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setInReplyToin interfaceISingleEmailMessage
-
setInReplyTo
protected void setInReplyTo(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
getOneClickPost
Description copied from interface:ISingleEmailMessageelement : oneClickPost of type {http://www.w3.org/2001/XMLSchema}boolean java type: java.lang.Boolean- Specified by:
getOneClickPostin interfaceISingleEmailMessage
-
setOneClickPost
- Specified by:
setOneClickPostin interfaceISingleEmailMessage
-
setOneClickPost
protected void setOneClickPost(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setOptOutPolicyin interfaceISingleEmailMessage
-
setOptOutPolicy
protected void setOptOutPolicy(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setOrgWideEmailAddressIdin interfaceISingleEmailMessage
-
setOrgWideEmailAddressId
protected void setOrgWideEmailAddressId(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setPlainTextBodyin interfaceISingleEmailMessage
-
setPlainTextBody
protected void setPlainTextBody(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setReferencesin interfaceISingleEmailMessage
-
setReferences
protected void setReferences(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setTargetObjectIdin interfaceISingleEmailMessage
-
setTargetObjectId
protected void setTargetObjectId(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setTemplateIdin interfaceISingleEmailMessage
-
setTemplateId
protected void setTemplateId(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setTemplateNamein interfaceISingleEmailMessage
-
setTemplateName
protected void setTemplateName(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setToAddressesin interfaceISingleEmailMessage
-
setToAddresses
protected void setToAddresses(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setTreatBodiesAsTemplatein interfaceISingleEmailMessage
-
setTreatBodiesAsTemplate
protected void setTreatBodiesAsTemplate(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setTreatTargetObjectAsRecipientin interfaceISingleEmailMessage
-
setTreatTargetObjectAsRecipient
protected void setTreatTargetObjectAsRecipient(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
getUnsubscribeComment
Description copied from interface:ISingleEmailMessageelement : unsubscribeComment of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String- Specified by:
getUnsubscribeCommentin interfaceISingleEmailMessage
-
setUnsubscribeComment
- Specified by:
setUnsubscribeCommentin interfaceISingleEmailMessage
-
setUnsubscribeComment
protected void setUnsubscribeComment(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
getUnsubscribeUrls
Description copied from interface:ISingleEmailMessageelement : unsubscribeUrls of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]- Specified by:
getUnsubscribeUrlsin interfaceISingleEmailMessage
-
setUnsubscribeUrls
- Specified by:
setUnsubscribeUrlsin interfaceISingleEmailMessage
-
setUnsubscribeUrls
protected void setUnsubscribeUrls(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- 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
- 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
-
toString
-