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

targetObjectIds

protected List<String> targetObjectIds

templateId

protected String templateId

whatIds

protected List<String> whatIds
Constructor Detail

MassEmailMessage

public MassEmailMessage()
Method Detail

getDescription

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

Returns:
possible object is String

setDescription

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

Parameters:
value - allowed object is String

getTargetObjectIds

public List<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 String getTemplateId()
Gets the value of the templateId property.

Returns:
possible object is String

setTemplateId

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

Parameters:
value - allowed object is String

getWhatIds

public List<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 © 2012. All Rights Reserved.