com.ibm.commerce.emarketing.emailtemplate.databeans

Class EmailTemplateSummaryDatabean

  • java.lang.Object
    • com.ibm.commerce.beans.InputDataBeanImpl
      • com.ibm.commerce.beans.SmartDataBeanImpl
        • com.ibm.commerce.emarketing.emailtemplate.databeans.EmailTemplateSummaryDatabean
  • All Implemented Interfaces:
    com.ibm.commerce.beans.DataBean, com.ibm.commerce.beans.InputDataBean, com.ibm.commerce.beans.SmartDataBean, java.io.Serializable


    public class EmailTemplateSummaryDatabean
    extends com.ibm.commerce.beans.SmartDataBeanImpl
    Used to lookup the summary of a specific e-mail template. This data accessed through the EmailMessageAccessBean and EmailContentAccessBean
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright String...
      • Fields inherited from interface com.ibm.commerce.beans.DataBean

        emptyString
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getContentFormat()
      Returns the content format for this template..HTML or Plain text format
      java.lang.String getContentId()
      Returns the content id for this template
      java.lang.String getDescription()
      Returns the description for this template
      java.lang.String getEmailBody()
      returns the email body specified for this template
      java.lang.String getEmailSubject()
      Returns the email subject for this template
      java.lang.String getJspPath()
      Returns the JSP path for this template.
      java.lang.String getLastModify()
      Returns the time at which this template was last modified.
      java.lang.String getMessageId()
      Returns the message id for this template
      java.lang.String getName()
      Returns the name of this template...
      java.lang.String getRecordOpen()
      Returns the record open flag for this template
      java.lang.String getStatus()
      Returns the status of this template 1 - Active 0 - Deleted
      java.lang.String getStoreId()
      Returns the store id for this template
      java.lang.String getTemplateType()
      Returns the Template type - JSP or Form Filled type.
      void populate() 
      void setContentFormat(java.lang.String newContentFormat)
      Sets the content format for this template...HTML or Plain text
      void setContentId(java.lang.String newContentId)
      Sets the content ID for this template..
      void setDescription(java.lang.String newDesc)
      Sets the description for this template.
      void setEmailBody(java.lang.String newBody)
      Sets the email body for this template
      void setEmailSubject(java.lang.String newSubject)
      Sets the subject for this template
      void setJspPath(java.lang.String newJspPath)
      Sets the JSP path for this template.
      void setLastModify(java.lang.String newLastModify)
      Sets the time at which this template was last modified
      void setMessageId(java.lang.String newMessageId)
      Sets the message id
      void setRecordOpen(java.lang.String newRecordOpen)
      sets the Record open flag for this template 1 - Record 0 - Dont record
      void setStatus(java.lang.String newStatus)
      Sets the status for this template 1 - Active 0 - Deleted
      void setStoreId(java.lang.String newStoreId)
      Sets the store ID for this template..
      • Methods inherited from class com.ibm.commerce.beans.SmartDataBeanImpl

        fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
      • Methods inherited from class com.ibm.commerce.beans.InputDataBeanImpl

        getRequestProperties, setRequestProperties
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.ibm.commerce.beans.InputDataBean

        getRequestProperties, setRequestProperties
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        Copyright String...
        See Also:
        Constant Field Values
    • Constructor Detail

      • EmailTemplateSummaryDatabean

        public EmailTemplateSummaryDatabean()
    • Method Detail

      • getContentFormat

        public java.lang.String getContentFormat()
        Returns the content format for this template..HTML or Plain text format
        Returns:
        content Format - String
      • getContentId

        public java.lang.String getContentId()
        Returns the content id for this template
        Returns:
        contentId - String
      • getDescription

        public java.lang.String getDescription()
        Returns the description for this template
        Returns:
        description String
      • getEmailBody

        public java.lang.String getEmailBody()
        returns the email body specified for this template
        Returns:
        emailBody - the email body of this template
      • getEmailSubject

        public java.lang.String getEmailSubject()
        Returns the email subject for this template
        Returns:
        emailSubject - String
      • getJspPath

        public java.lang.String getJspPath()
        Returns the JSP path for this template. Will be null, if template is form filled type.
        Returns:
        jsppath - String
      • getLastModify

        public java.lang.String getLastModify()
        Returns the time at which this template was last modified.
        Returns:
        lastModify - String
      • getMessageId

        public java.lang.String getMessageId()
        Returns the message id for this template
        Returns:
        messageId - String
      • getName

        public java.lang.String getName()
        Returns the name of this template...
        Returns:
        name String
      • getRecordOpen

        public java.lang.String getRecordOpen()
        Returns the record open flag for this template
        Returns:
        recordOpen String
      • getStatus

        public java.lang.String getStatus()
        Returns the status of this template 1 - Active 0 - Deleted
        Returns:
        status - String
      • getStoreId

        public java.lang.String getStoreId()
        Returns the store id for this template
        Returns:
        storeId - String
      • getTemplateType

        public java.lang.String getTemplateType()
        Returns the Template type - JSP or Form Filled type.
        Returns:
        String templateType
      • populate

        public void populate()
                      throws com.ibm.commerce.exception.ECException
        Specified by:
        populate in interface com.ibm.commerce.beans.SmartDataBean
        Overrides:
        populate in class com.ibm.commerce.beans.SmartDataBeanImpl
        Throws:
        com.ibm.commerce.exception.ECException
        See Also:
        SmartDataBean.populate()
      • setContentFormat

        public void setContentFormat(java.lang.String newContentFormat)
        Sets the content format for this template...HTML or Plain text
        Parameters:
        newContentFormat - - content format to be set...
      • setContentId

        public void setContentId(java.lang.String newContentId)
        Sets the content ID for this template..
        Parameters:
        newContentId - - content id to be set
      • setDescription

        public void setDescription(java.lang.String newDesc)
        Sets the description for this template.
        Parameters:
        newDesc - Description to be set
      • setEmailBody

        public void setEmailBody(java.lang.String newBody)
        Sets the email body for this template
        Parameters:
        newBody - - the new email body to be set
      • setEmailSubject

        public void setEmailSubject(java.lang.String newSubject)
        Sets the subject for this template
        Parameters:
        newSubject - - subject to be set..
      • setJspPath

        public void setJspPath(java.lang.String newJspPath)
        Sets the JSP path for this template. JSP path will be null for Form filled template types.
        Parameters:
        newJspPath - - JSP Path to be used for this template
      • setLastModify

        public void setLastModify(java.lang.String newLastModify)
        Sets the time at which this template was last modified
        Parameters:
        newLastModify - - Last modified time - String
      • setMessageId

        public void setMessageId(java.lang.String newMessageId)
        Sets the message id
        Parameters:
        newMessageId - - new message id to be set
      • setRecordOpen

        public void setRecordOpen(java.lang.String newRecordOpen)
        sets the Record open flag for this template 1 - Record 0 - Dont record
        Parameters:
        newRecordOpen - - New Flag for this template
      • setStatus

        public void setStatus(java.lang.String newStatus)
        Sets the status for this template 1 - Active 0 - Deleted
        Parameters:
        newStatus - - Status to be set
      • setStoreId

        public void setStoreId(java.lang.String newStoreId)
        Sets the store ID for this template..
        Parameters:
        newStoreId - - store id to be set