com.sforce.soap.partner
Class MassEmailMessage

java.lang.Object
  extended by com.sforce.soap.partner.Email
      extended by com.sforce.soap.partner.MassEmailMessage

public class MassEmailMessage
extends Email

Java class for MassEmailMessage complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="MassEmailMessage">
   <complexContent>
     <extension base="{urn:partner.soap.sforce.com}Email">
       <sequence>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="targetObjectIds" type="{urn:partner.soap.sforce.com}ID" maxOccurs="250" minOccurs="0"/>
         <element name="templateId" type="{urn:partner.soap.sforce.com}ID"/>
         <element name="whatIds" type="{urn:partner.soap.sforce.com}ID" maxOccurs="250" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String description
           
protected  java.util.List<java.lang.String> targetObjectIds
           
protected  java.lang.String templateId
           
protected  java.util.List<java.lang.String> whatIds
           
 
Fields inherited from class com.sforce.soap.partner.Email
bccSender, emailPriority, replyTo, saveAsActivity, senderDisplayName, subject, useSignature
 
Constructor Summary
MassEmailMessage()
           
 
Method Summary
 java.lang.String getDescription()
          Gets the value of the description property.
 java.util.List<java.lang.String> getTargetObjectIds()
          Gets the value of the targetObjectIds property.
 java.lang.String getTemplateId()
          Gets the value of the templateId property.
 java.util.List<java.lang.String> getWhatIds()
          Gets the value of the whatIds property.
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setTemplateId(java.lang.String value)
          Sets the value of the templateId 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

description

protected java.lang.String description

targetObjectIds

protected java.util.List<java.lang.String> targetObjectIds

templateId

protected java.lang.String templateId

whatIds

protected java.util.List<java.lang.String> whatIds
Constructor Detail

MassEmailMessage

public MassEmailMessage()
Method Detail

getDescription

public java.lang.String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(java.lang.String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getTargetObjectIds

public java.util.List<java.lang.String> getTargetObjectIds()
Gets the value of the targetObjectIds property.

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 targetObjectIds property.

For example, to add a new item, do as follows:

    getTargetObjectIds().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getTemplateId

public java.lang.String getTemplateId()
Gets the value of the templateId property.

Returns:
possible object is String

setTemplateId

public void setTemplateId(java.lang.String value)
Sets the value of the templateId property.

Parameters:
value - allowed object is String

getWhatIds

public java.util.List<java.lang.String> getWhatIds()
Gets the value of the whatIds property.

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 whatIds property.

For example, to add a new item, do as follows:

    getWhatIds().add(newItem);
 

Objects of the following type(s) are allowed in the list String



Copyright © 2010. All Rights Reserved.