com.ibm.commerce.emarketing.beans
Class EmailMessageDataBean

java.lang.Object
  com.ibm.commerce.beans.InputDataBeanImpl
      com.ibm.commerce.beans.SmartDataBeanImpl
          com.ibm.commerce.emarketing.beans.EmailMessageDataBeanBase
              com.ibm.commerce.emarketing.beans.EmailMessageDataBean
All Implemented Interfaces:
DataBean, Delegator, InputDataBean, Protectable, java.io.Serializable, SmartDataBean

public class EmailMessageDataBean
extends EmailMessageDataBeanBase

Used to look up an e-mail message template.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
Copyright.
Fields inherited from class com.ibm.commerce.beans.SmartDataBeanImpl
commandContext
Fields inherited from class com.ibm.commerce.beans.InputDataBeanImpl
requestProperties
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
Constructor Summary
EmailMessageDataBean()
Default Constructor.
Method Summary
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 templete 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.emarketing.beans.EmailMessageDataBeanBase
getDelegate, getOwner
Methods inherited from class com.ibm.commerce.beans.SmartDataBeanImpl
fulfills, getCommandContext, getResources, setCommandContext
Methods inherited from class com.ibm.commerce.beans.InputDataBeanImpl
getRequestProperties, setRequestProperties
Methods inherited from class java.lang.Object
clone, equals, finalize, 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

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright.
See Also:
Constant Field Values
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.

setId

public void setId(java.lang.Integer id)
Sets the e-mail message templete 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.

populate

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

Feedback