|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sforce.soap.partner.Email
com.sforce.soap.partner.SingleEmailMessage
public class SingleEmailMessage
Java class for SingleEmailMessage complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SingleEmailMessage"> <complexContent> <extension base="{urn:partner.soap.sforce.com}Email"> <sequence> <element name="bccAddresses" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="25" minOccurs="0"/> <element name="ccAddresses" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="25" minOccurs="0"/> <element name="charset" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="documentAttachments" type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded" minOccurs="0"/> <element name="htmlBody" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="inReplyTo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="fileAttachments" type="{urn:partner.soap.sforce.com}EmailFileAttachment" maxOccurs="unbounded" minOccurs="0"/> <element name="orgWideEmailAddressId" type="{urn:partner.soap.sforce.com}ID" minOccurs="0"/> <element name="plainTextBody" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="references" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="targetObjectId" type="{urn:partner.soap.sforce.com}ID"/> <element name="templateId" type="{urn:partner.soap.sforce.com}ID"/> <element name="toAddresses" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="100" minOccurs="0"/> <element name="whatId" type="{urn:partner.soap.sforce.com}ID"/> </sequence> </extension> </complexContent> </complexType>
Field Summary | |
---|---|
protected java.util.List<java.lang.String> |
bccAddresses
|
protected java.util.List<java.lang.String> |
ccAddresses
|
protected java.lang.String |
charset
|
protected java.util.List<java.lang.String> |
documentAttachments
|
protected java.util.List<EmailFileAttachment> |
fileAttachments
|
protected java.lang.String |
htmlBody
|
protected javax.xml.bind.JAXBElement<java.lang.String> |
inReplyTo
|
protected javax.xml.bind.JAXBElement<java.lang.String> |
orgWideEmailAddressId
|
protected java.lang.String |
plainTextBody
|
protected javax.xml.bind.JAXBElement<java.lang.String> |
references
|
protected java.lang.String |
targetObjectId
|
protected java.lang.String |
templateId
|
protected java.util.List<java.lang.String> |
toAddresses
|
protected java.lang.String |
whatId
|
Fields inherited from class com.sforce.soap.partner.Email |
---|
bccSender, emailPriority, replyTo, saveAsActivity, senderDisplayName, subject, useSignature |
Constructor Summary | |
---|---|
SingleEmailMessage()
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getBccAddresses()
Gets the value of the bccAddresses property. |
java.util.List<java.lang.String> |
getCcAddresses()
Gets the value of the ccAddresses property. |
java.lang.String |
getCharset()
Gets the value of the charset property. |
java.util.List<java.lang.String> |
getDocumentAttachments()
Gets the value of the documentAttachments property. |
java.util.List<EmailFileAttachment> |
getFileAttachments()
Gets the value of the fileAttachments property. |
java.lang.String |
getHtmlBody()
Gets the value of the htmlBody property. |
javax.xml.bind.JAXBElement<java.lang.String> |
getInReplyTo()
Gets the value of the inReplyTo property. |
javax.xml.bind.JAXBElement<java.lang.String> |
getOrgWideEmailAddressId()
Gets the value of the orgWideEmailAddressId property. |
java.lang.String |
getPlainTextBody()
Gets the value of the plainTextBody property. |
javax.xml.bind.JAXBElement<java.lang.String> |
getReferences()
Gets the value of the references property. |
java.lang.String |
getTargetObjectId()
Gets the value of the targetObjectId property. |
java.lang.String |
getTemplateId()
Gets the value of the templateId property. |
java.util.List<java.lang.String> |
getToAddresses()
Gets the value of the toAddresses property. |
java.lang.String |
getWhatId()
Gets the value of the whatId property. |
void |
setCharset(java.lang.String value)
Sets the value of the charset property. |
void |
setHtmlBody(java.lang.String value)
Sets the value of the htmlBody property. |
void |
setInReplyTo(javax.xml.bind.JAXBElement<java.lang.String> value)
Sets the value of the inReplyTo property. |
void |
setOrgWideEmailAddressId(javax.xml.bind.JAXBElement<java.lang.String> value)
Sets the value of the orgWideEmailAddressId property. |
void |
setPlainTextBody(java.lang.String value)
Sets the value of the plainTextBody property. |
void |
setReferences(javax.xml.bind.JAXBElement<java.lang.String> value)
Sets the value of the references property. |
void |
setTargetObjectId(java.lang.String value)
Sets the value of the targetObjectId property. |
void |
setTemplateId(java.lang.String value)
Sets the value of the templateId property. |
void |
setWhatId(java.lang.String value)
Sets the value of the whatId property. |
Methods inherited from class com.sforce.soap.partner.Email |
---|
getEmailPriority, getReplyTo, getSenderDisplayName, getSubject, isBccSender, isSaveAsActivity, isUseSignature, setBccSender, setEmailPriority, setReplyTo, setSaveAsActivity, setSenderDisplayName, setSubject, setUseSignature |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<java.lang.String> bccAddresses
protected java.util.List<java.lang.String> ccAddresses
protected java.lang.String charset
protected java.util.List<java.lang.String> documentAttachments
protected java.lang.String htmlBody
protected javax.xml.bind.JAXBElement<java.lang.String> inReplyTo
protected java.util.List<EmailFileAttachment> fileAttachments
protected javax.xml.bind.JAXBElement<java.lang.String> orgWideEmailAddressId
protected java.lang.String plainTextBody
protected javax.xml.bind.JAXBElement<java.lang.String> references
protected java.lang.String targetObjectId
protected java.lang.String templateId
protected java.util.List<java.lang.String> toAddresses
protected java.lang.String whatId
Constructor Detail |
---|
public SingleEmailMessage()
Method Detail |
---|
public java.util.List<java.lang.String> getBccAddresses()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the bccAddresses property.
For example, to add a new item, do as follows:
getBccAddresses().add(newItem);
Objects of the following type(s) are allowed in the list
String
public java.util.List<java.lang.String> getCcAddresses()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the ccAddresses property.
For example, to add a new item, do as follows:
getCcAddresses().add(newItem);
Objects of the following type(s) are allowed in the list
String
public java.lang.String getCharset()
String
public void setCharset(java.lang.String value)
value
- allowed object is
String
public java.util.List<java.lang.String> getDocumentAttachments()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the documentAttachments property.
For example, to add a new item, do as follows:
getDocumentAttachments().add(newItem);
Objects of the following type(s) are allowed in the list
String
public java.lang.String getHtmlBody()
String
public void setHtmlBody(java.lang.String value)
value
- allowed object is
String
public javax.xml.bind.JAXBElement<java.lang.String> getInReplyTo()
JAXBElement
<
String
>
public void setInReplyTo(javax.xml.bind.JAXBElement<java.lang.String> value)
value
- allowed object is
JAXBElement
<
String
>
public java.util.List<EmailFileAttachment> getFileAttachments()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the fileAttachments property.
For example, to add a new item, do as follows:
getFileAttachments().add(newItem);
Objects of the following type(s) are allowed in the list
EmailFileAttachment
public javax.xml.bind.JAXBElement<java.lang.String> getOrgWideEmailAddressId()
JAXBElement
<
String
>
public void setOrgWideEmailAddressId(javax.xml.bind.JAXBElement<java.lang.String> value)
value
- allowed object is
JAXBElement
<
String
>
public java.lang.String getPlainTextBody()
String
public void setPlainTextBody(java.lang.String value)
value
- allowed object is
String
public javax.xml.bind.JAXBElement<java.lang.String> getReferences()
JAXBElement
<
String
>
public void setReferences(javax.xml.bind.JAXBElement<java.lang.String> value)
value
- allowed object is
JAXBElement
<
String
>
public java.lang.String getTargetObjectId()
String
public void setTargetObjectId(java.lang.String value)
value
- allowed object is
String
public java.lang.String getTemplateId()
String
public void setTemplateId(java.lang.String value)
value
- allowed object is
String
public java.util.List<java.lang.String> getToAddresses()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the toAddresses property.
For example, to add a new item, do as follows:
getToAddresses().add(newItem);
Objects of the following type(s) are allowed in the list
String
public java.lang.String getWhatId()
String
public void setWhatId(java.lang.String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |