Package com.sforce.soap.metadata
Class EmailTemplate
- java.lang.Object
-
- com.sforce.soap.metadata.Metadata
-
- com.sforce.soap.metadata.MetadataWithContent
-
- com.sforce.soap.metadata.EmailTemplate
-
- All Implemented Interfaces:
XMLizable
public class EmailTemplate extends MetadataWithContent
This is a generated class for the SObject Enterprise API. Do not edit this file, as your changes will be lost.
-
-
Constructor Summary
Constructors Constructor Description EmailTemplate()Constructor
-
Method Summary
-
Methods inherited from class com.sforce.soap.metadata.MetadataWithContent
getContent, setContent, setContent
-
Methods inherited from class com.sforce.soap.metadata.Metadata
getFullName, setFullName, setFullName
-
-
-
-
Method Detail
-
getApiVersion
public double getApiVersion()
-
setApiVersion
public void setApiVersion(double apiVersion)
-
setApiVersion
protected void setApiVersion(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getAttachedDocuments
public String[] getAttachedDocuments()
-
setAttachedDocuments
public void setAttachedDocuments(String[] attachedDocuments)
-
setAttachedDocuments
protected void setAttachedDocuments(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getAttachments
public Attachment[] getAttachments()
-
setAttachments
public void setAttachments(Attachment[] attachments)
-
setAttachments
protected void setAttachments(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getAvailable
public boolean getAvailable()
-
isAvailable
public boolean isAvailable()
-
setAvailable
public void setAvailable(boolean available)
-
setAvailable
protected void setAvailable(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
setDescription
protected void setDescription(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getEncodingKey
public Encoding getEncodingKey()
-
setEncodingKey
public void setEncodingKey(Encoding encodingKey)
-
setEncodingKey
protected void setEncodingKey(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getLetterhead
public String getLetterhead()
-
setLetterhead
public void setLetterhead(String letterhead)
-
setLetterhead
protected void setLetterhead(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getName
public String getName()
-
setName
public void setName(String name)
-
setName
protected void setName(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getPackageVersions
public PackageVersion[] getPackageVersions()
-
setPackageVersions
public void setPackageVersions(PackageVersion[] packageVersions)
-
setPackageVersions
protected void setPackageVersions(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getPageDevName
public String getPageDevName()
-
setPageDevName
public void setPageDevName(String pageDevName)
-
setPageDevName
protected void setPageDevName(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getRelatedEntityType
public String getRelatedEntityType()
-
setRelatedEntityType
public void setRelatedEntityType(String relatedEntityType)
-
setRelatedEntityType
protected void setRelatedEntityType(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getStyle
public EmailTemplateStyle getStyle()
-
setStyle
public void setStyle(EmailTemplateStyle style)
-
setStyle
protected void setStyle(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getSubject
public String getSubject()
-
setSubject
public void setSubject(String subject)
-
setSubject
protected void setSubject(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getTextOnly
public String getTextOnly()
-
setTextOnly
public void setTextOnly(String textOnly)
-
setTextOnly
protected void setTextOnly(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getType
public EmailTemplateType getType()
-
setType
public void setType(EmailTemplateType type)
-
setType
protected void setType(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getUiType
public EmailTemplateUiType getUiType()
-
setUiType
public void setUiType(EmailTemplateUiType uiType)
-
setUiType
protected void setUiType(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
write
public void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
- Specified by:
writein interfaceXMLizable- Overrides:
writein classMetadataWithContent- Throws:
IOException
-
writeFields
protected void writeFields(XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
- Overrides:
writeFieldsin classMetadataWithContent- Throws:
IOException
-
load
public void load(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Specified by:
loadin interfaceXMLizable- Overrides:
loadin classMetadataWithContent- Throws:
IOExceptionConnectionException
-
loadFields
protected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Overrides:
loadFieldsin classMetadataWithContent- Throws:
IOExceptionConnectionException
-
toString
public String toString()
- Overrides:
toStringin classMetadataWithContent
-
-