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:
java.io.Serializable

public class SingleEmailMessage
extends Email
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
SingleEmailMessage()
           
SingleEmailMessage(java.lang.Boolean bccSender, EmailPriority emailPriority, java.lang.String replyTo, java.lang.Boolean saveAsActivity, java.lang.String senderDisplayName, java.lang.String subject, java.lang.Boolean useSignature, java.lang.String[] bccAddresses, java.lang.String[] ccAddresses, java.lang.String charset, java.lang.String[] documentAttachments, java.lang.String htmlBody, EmailFileAttachment[] fileAttachments, java.lang.String plainTextBody, java.lang.String targetObjectId, java.lang.String templateId, java.lang.String[] toAddresses, java.lang.String whatId)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String[] getBccAddresses()
          Gets the bccAddresses value for this SingleEmailMessage.
 java.lang.String getBccAddresses(int i)
           
 java.lang.String[] getCcAddresses()
          Gets the ccAddresses value for this SingleEmailMessage.
 java.lang.String getCcAddresses(int i)
           
 java.lang.String getCharset()
          Gets the charset value for this SingleEmailMessage.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.String[] getDocumentAttachments()
          Gets the documentAttachments value for this SingleEmailMessage.
 java.lang.String getDocumentAttachments(int i)
           
 EmailFileAttachment[] getFileAttachments()
          Gets the fileAttachments value for this SingleEmailMessage.
 EmailFileAttachment getFileAttachments(int i)
           
 java.lang.String getHtmlBody()
          Gets the htmlBody value for this SingleEmailMessage.
 java.lang.String getPlainTextBody()
          Gets the plainTextBody value for this SingleEmailMessage.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 java.lang.String getTargetObjectId()
          Gets the targetObjectId value for this SingleEmailMessage.
 java.lang.String getTemplateId()
          Gets the templateId value for this SingleEmailMessage.
 java.lang.String[] getToAddresses()
          Gets the toAddresses value for this SingleEmailMessage.
 java.lang.String getToAddresses(int i)
           
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 java.lang.String getWhatId()
          Gets the whatId value for this SingleEmailMessage.
 int hashCode()
           
 void setBccAddresses(int i, java.lang.String _value)
           
 void setBccAddresses(java.lang.String[] bccAddresses)
          Sets the bccAddresses value for this SingleEmailMessage.
 void setCcAddresses(int i, java.lang.String _value)
           
 void setCcAddresses(java.lang.String[] ccAddresses)
          Sets the ccAddresses value for this SingleEmailMessage.
 void setCharset(java.lang.String charset)
          Sets the charset value for this SingleEmailMessage.
 void setDocumentAttachments(int i, java.lang.String _value)
           
 void setDocumentAttachments(java.lang.String[] documentAttachments)
          Sets the documentAttachments value for this SingleEmailMessage.
 void setFileAttachments(EmailFileAttachment[] fileAttachments)
          Sets the fileAttachments value for this SingleEmailMessage.
 void setFileAttachments(int i, EmailFileAttachment _value)
           
 void setHtmlBody(java.lang.String htmlBody)
          Sets the htmlBody value for this SingleEmailMessage.
 void setPlainTextBody(java.lang.String plainTextBody)
          Sets the plainTextBody value for this SingleEmailMessage.
 void setTargetObjectId(java.lang.String targetObjectId)
          Sets the targetObjectId value for this SingleEmailMessage.
 void setTemplateId(java.lang.String templateId)
          Sets the templateId value for this SingleEmailMessage.
 void setToAddresses(int i, java.lang.String _value)
           
 void setToAddresses(java.lang.String[] toAddresses)
          Sets the toAddresses value for this SingleEmailMessage.
 void setWhatId(java.lang.String whatId)
          Sets the whatId value for this SingleEmailMessage.
 
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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleEmailMessage

public SingleEmailMessage()

SingleEmailMessage

public SingleEmailMessage(java.lang.Boolean bccSender,
                          EmailPriority emailPriority,
                          java.lang.String replyTo,
                          java.lang.Boolean saveAsActivity,
                          java.lang.String senderDisplayName,
                          java.lang.String subject,
                          java.lang.Boolean useSignature,
                          java.lang.String[] bccAddresses,
                          java.lang.String[] ccAddresses,
                          java.lang.String charset,
                          java.lang.String[] documentAttachments,
                          java.lang.String htmlBody,
                          EmailFileAttachment[] fileAttachments,
                          java.lang.String plainTextBody,
                          java.lang.String targetObjectId,
                          java.lang.String templateId,
                          java.lang.String[] toAddresses,
                          java.lang.String whatId)
Method Detail

getBccAddresses

public java.lang.String[] getBccAddresses()
Gets the bccAddresses value for this SingleEmailMessage.

Returns:
bccAddresses

setBccAddresses

public void setBccAddresses(java.lang.String[] bccAddresses)
Sets the bccAddresses value for this SingleEmailMessage.

Parameters:
bccAddresses -

getBccAddresses

public java.lang.String getBccAddresses(int i)

setBccAddresses

public void setBccAddresses(int i,
                            java.lang.String _value)

getCcAddresses

public java.lang.String[] getCcAddresses()
Gets the ccAddresses value for this SingleEmailMessage.

Returns:
ccAddresses

setCcAddresses

public void setCcAddresses(java.lang.String[] ccAddresses)
Sets the ccAddresses value for this SingleEmailMessage.

Parameters:
ccAddresses -

getCcAddresses

public java.lang.String getCcAddresses(int i)

setCcAddresses

public void setCcAddresses(int i,
                           java.lang.String _value)

getCharset

public java.lang.String getCharset()
Gets the charset value for this SingleEmailMessage.

Returns:
charset

setCharset

public void setCharset(java.lang.String charset)
Sets the charset value for this SingleEmailMessage.

Parameters:
charset -

getDocumentAttachments

public java.lang.String[] getDocumentAttachments()
Gets the documentAttachments value for this SingleEmailMessage.

Returns:
documentAttachments

setDocumentAttachments

public void setDocumentAttachments(java.lang.String[] documentAttachments)
Sets the documentAttachments value for this SingleEmailMessage.

Parameters:
documentAttachments -

getDocumentAttachments

public java.lang.String getDocumentAttachments(int i)

setDocumentAttachments

public void setDocumentAttachments(int i,
                                   java.lang.String _value)

getHtmlBody

public java.lang.String getHtmlBody()
Gets the htmlBody value for this SingleEmailMessage.

Returns:
htmlBody

setHtmlBody

public void setHtmlBody(java.lang.String htmlBody)
Sets the htmlBody value for this SingleEmailMessage.

Parameters:
htmlBody -

getFileAttachments

public EmailFileAttachment[] getFileAttachments()
Gets the fileAttachments value for this SingleEmailMessage.

Returns:
fileAttachments

setFileAttachments

public void setFileAttachments(EmailFileAttachment[] fileAttachments)
Sets the fileAttachments value for this SingleEmailMessage.

Parameters:
fileAttachments -

getFileAttachments

public EmailFileAttachment getFileAttachments(int i)

setFileAttachments

public void setFileAttachments(int i,
                               EmailFileAttachment _value)

getPlainTextBody

public java.lang.String getPlainTextBody()
Gets the plainTextBody value for this SingleEmailMessage.

Returns:
plainTextBody

setPlainTextBody

public void setPlainTextBody(java.lang.String plainTextBody)
Sets the plainTextBody value for this SingleEmailMessage.

Parameters:
plainTextBody -

getTargetObjectId

public java.lang.String getTargetObjectId()
Gets the targetObjectId value for this SingleEmailMessage.

Returns:
targetObjectId

setTargetObjectId

public void setTargetObjectId(java.lang.String targetObjectId)
Sets the targetObjectId value for this SingleEmailMessage.

Parameters:
targetObjectId -

getTemplateId

public java.lang.String getTemplateId()
Gets the templateId value for this SingleEmailMessage.

Returns:
templateId

setTemplateId

public void setTemplateId(java.lang.String templateId)
Sets the templateId value for this SingleEmailMessage.

Parameters:
templateId -

getToAddresses

public java.lang.String[] getToAddresses()
Gets the toAddresses value for this SingleEmailMessage.

Returns:
toAddresses

setToAddresses

public void setToAddresses(java.lang.String[] toAddresses)
Sets the toAddresses value for this SingleEmailMessage.

Parameters:
toAddresses -

getToAddresses

public java.lang.String getToAddresses(int i)

setToAddresses

public void setToAddresses(int i,
                           java.lang.String _value)

getWhatId

public java.lang.String getWhatId()
Gets the whatId value for this SingleEmailMessage.

Returns:
whatId

setWhatId

public void setWhatId(java.lang.String whatId)
Sets the whatId value for this SingleEmailMessage.

Parameters:
whatId -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class Email

hashCode

public int hashCode()
Overrides:
hashCode in class Email

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer



Copyright © 2009. All Rights Reserved.