Class EmailTemplate

  • All Implemented Interfaces:
    com.sforce.ws.bind.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 Detail

      • EmailTemplate

        public EmailTemplate()
        Constructor
    • Method Detail

      • getApiVersion

        public double getApiVersion()
      • setApiVersion

        public void setApiVersion​(double apiVersion)
      • setApiVersion

        protected void setApiVersion​(com.sforce.ws.parser.XmlInputStream __in,
                                     com.sforce.ws.bind.TypeMapper __typeMapper)
                              throws java.io.IOException,
                                     com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getAttachedDocuments

        public java.lang.String[] getAttachedDocuments()
      • setAttachedDocuments

        public void setAttachedDocuments​(java.lang.String[] attachedDocuments)
      • setAttachedDocuments

        protected void setAttachedDocuments​(com.sforce.ws.parser.XmlInputStream __in,
                                            com.sforce.ws.bind.TypeMapper __typeMapper)
                                     throws java.io.IOException,
                                            com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getAttachments

        public Attachment[] getAttachments()
      • setAttachments

        public void setAttachments​(Attachment[] attachments)
      • setAttachments

        protected void setAttachments​(com.sforce.ws.parser.XmlInputStream __in,
                                      com.sforce.ws.bind.TypeMapper __typeMapper)
                               throws java.io.IOException,
                                      com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getAvailable

        public boolean getAvailable()
      • isAvailable

        public boolean isAvailable()
      • setAvailable

        public void setAvailable​(boolean available)
      • setAvailable

        protected void setAvailable​(com.sforce.ws.parser.XmlInputStream __in,
                                    com.sforce.ws.bind.TypeMapper __typeMapper)
                             throws java.io.IOException,
                                    com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public void setDescription​(java.lang.String description)
      • setDescription

        protected void setDescription​(com.sforce.ws.parser.XmlInputStream __in,
                                      com.sforce.ws.bind.TypeMapper __typeMapper)
                               throws java.io.IOException,
                                      com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getEncodingKey

        public Encoding getEncodingKey()
      • setEncodingKey

        public void setEncodingKey​(Encoding encodingKey)
      • setEncodingKey

        protected void setEncodingKey​(com.sforce.ws.parser.XmlInputStream __in,
                                      com.sforce.ws.bind.TypeMapper __typeMapper)
                               throws java.io.IOException,
                                      com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getLetterhead

        public java.lang.String getLetterhead()
      • setLetterhead

        public void setLetterhead​(java.lang.String letterhead)
      • setLetterhead

        protected void setLetterhead​(com.sforce.ws.parser.XmlInputStream __in,
                                     com.sforce.ws.bind.TypeMapper __typeMapper)
                              throws java.io.IOException,
                                     com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • setName

        protected void setName​(com.sforce.ws.parser.XmlInputStream __in,
                               com.sforce.ws.bind.TypeMapper __typeMapper)
                        throws java.io.IOException,
                               com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • setPackageVersions

        public void setPackageVersions​(PackageVersion[] packageVersions)
      • setPackageVersions

        protected void setPackageVersions​(com.sforce.ws.parser.XmlInputStream __in,
                                          com.sforce.ws.bind.TypeMapper __typeMapper)
                                   throws java.io.IOException,
                                          com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getRelatedEntityType

        public java.lang.String getRelatedEntityType()
      • setRelatedEntityType

        public void setRelatedEntityType​(java.lang.String relatedEntityType)
      • setRelatedEntityType

        protected void setRelatedEntityType​(com.sforce.ws.parser.XmlInputStream __in,
                                            com.sforce.ws.bind.TypeMapper __typeMapper)
                                     throws java.io.IOException,
                                            com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • setStyle

        protected void setStyle​(com.sforce.ws.parser.XmlInputStream __in,
                                com.sforce.ws.bind.TypeMapper __typeMapper)
                         throws java.io.IOException,
                                com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getSubject

        public java.lang.String getSubject()
      • setSubject

        public void setSubject​(java.lang.String subject)
      • setSubject

        protected void setSubject​(com.sforce.ws.parser.XmlInputStream __in,
                                  com.sforce.ws.bind.TypeMapper __typeMapper)
                           throws java.io.IOException,
                                  com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getTextOnly

        public java.lang.String getTextOnly()
      • setTextOnly

        public void setTextOnly​(java.lang.String textOnly)
      • setTextOnly

        protected void setTextOnly​(com.sforce.ws.parser.XmlInputStream __in,
                                   com.sforce.ws.bind.TypeMapper __typeMapper)
                            throws java.io.IOException,
                                   com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • setType

        protected void setType​(com.sforce.ws.parser.XmlInputStream __in,
                               com.sforce.ws.bind.TypeMapper __typeMapper)
                        throws java.io.IOException,
                               com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • setUiType

        protected void setUiType​(com.sforce.ws.parser.XmlInputStream __in,
                                 com.sforce.ws.bind.TypeMapper __typeMapper)
                          throws java.io.IOException,
                                 com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • write

        public void write​(javax.xml.namespace.QName __element,
                          com.sforce.ws.parser.XmlOutputStream __out,
                          com.sforce.ws.bind.TypeMapper __typeMapper)
                   throws java.io.IOException
        Specified by:
        write in interface com.sforce.ws.bind.XMLizable
        Overrides:
        write in class MetadataWithContent
        Throws:
        java.io.IOException
      • writeFields

        protected void writeFields​(com.sforce.ws.parser.XmlOutputStream __out,
                                   com.sforce.ws.bind.TypeMapper __typeMapper)
                            throws java.io.IOException
        Overrides:
        writeFields in class MetadataWithContent
        Throws:
        java.io.IOException
      • load

        public void load​(com.sforce.ws.parser.XmlInputStream __in,
                         com.sforce.ws.bind.TypeMapper __typeMapper)
                  throws java.io.IOException,
                         com.sforce.ws.ConnectionException
        Specified by:
        load in interface com.sforce.ws.bind.XMLizable
        Overrides:
        load in class MetadataWithContent
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • loadFields

        protected void loadFields​(com.sforce.ws.parser.XmlInputStream __in,
                                  com.sforce.ws.bind.TypeMapper __typeMapper)
                           throws java.io.IOException,
                                  com.sforce.ws.ConnectionException
        Overrides:
        loadFields in class MetadataWithContent
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException