com.ibm.commerce.emarketing.beans

Class EmailMessageDataBean

  • All Implemented Interfaces:
    com.ibm.commerce.beans.DataBean, com.ibm.commerce.beans.InputDataBean, com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.security.Delegator, com.ibm.commerce.security.Protectable, java.io.Serializable


    public class EmailMessageDataBean
    extends EmailMessageDataBeanBase
    Used to look up an e-mail message template.
    See Also:
    Serialized Form
    • Field Summary

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

        emptyString
    • Constructor Summary

      Constructors 
      Constructor and Description
      EmailMessageDataBean()
      Default Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Integer getId()
      Gets the ID of the e-mail message template.
      java.lang.String getName()
      Gets the name of the e-mail message template.
      void populate()
      Populates the databean.
      void setId(java.lang.Integer id)
      Sets the e-mail message template ID to lookup.
      void setName(java.lang.String name)
      Sets the name of the e-mail message 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.security.Protectable

        fulfills
      • Methods inherited from interface com.ibm.commerce.beans.InputDataBean

        getRequestProperties, setRequestProperties
    • Field Detail

    • Constructor Detail

      • EmailMessageDataBean

        public EmailMessageDataBean()
        Default Constructor.
    • Method Detail

      • getId

        public java.lang.Integer getId()
        Gets the ID of the e-mail message template.
        Returns:
        The ID of the e-mail message template.
      • getName

        public java.lang.String getName()
        Gets the name of the e-mail message template.
        Returns:
        The name of the e-mail message template.
      • populate

        public void populate()
                      throws java.lang.Exception
        Populates the databean.
        Specified by:
        populate in interface com.ibm.commerce.beans.SmartDataBean
        Overrides:
        populate in class com.ibm.commerce.beans.SmartDataBeanImpl
        Throws:
        java.lang.Exception - Thrown when EmailMessageAccessBean cannot lookup the e-mail message template.
      • setId

        public void setId(java.lang.Integer id)
        Sets the e-mail message template ID to lookup.
        Parameters:
        id - The e-mail message template ID.
      • setName

        public void setName(java.lang.String name)
        Sets the name of the e-mail message template.
        Parameters:
        name - The name of the message.