com.sforce.soap.partner
Class SingleEmailMessage

java.lang.Object
  extended by com.sforce.soap.partner.Email
      extended by com.sforce.soap.partner.SingleEmailMessage
All Implemented Interfaces:
XMLizable

public class SingleEmailMessage
extends Email

Generated class, please do not edit.


Constructor Summary
SingleEmailMessage()
          Constructor
 
Method Summary
 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
protected  void loadFields(XmlInputStream __in, TypeMapper __typeMapper)
           
 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  void writeFields(XmlOutputStream __out, TypeMapper __typeMapper)
           
 
Methods inherited from class com.sforce.soap.partner.Email
getBccSender, getEmailPriority, getReplyTo, getSaveAsActivity, getSenderDisplayName, getSubject, getUseSignature, setBccSender, setEmailPriority, setReplyTo, setSaveAsActivity, setSenderDisplayName, setSubject, setUseSignature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SingleEmailMessage

public SingleEmailMessage()
Constructor

Method Detail

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.