com.ibm.commerce.emarketing.beans

Class EmailActivityDataBean

  • 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 EmailActivityDataBean
    extends EmailActivityDataBeanBase
    Used to lookup the data of a specific e-mail activity. This data accessed through the EmailPromotionAccessBean.
    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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Integer getCampaignId()
      Gets the ID of the campaign to which the e-mail activity is associated.
      java.lang.String getCampaignName()
      Gets the name of the campaign to which the activity is associated.
      boolean getCustomerProfileExist()
      Checks whether the customer segment associated with the e-mail activity still exists.
      java.sql.Timestamp getDeliveryDate()
      Gets the time and date the activity will be delivered.
      java.lang.String getDescription()
      Gets the e-mail activity description.
      java.lang.Integer getId()
      Gets the ID of the e-mail activity.
      java.lang.Long getJobNum()
      Gets the scheduler job number associated with this activity.
      java.sql.Timestamp getLastUpdate()
      Gets the e-mail time of the last update to the activity.
      java.lang.Long getMemberGroupId()
      Gets the ID of the Customer Segment assigned to the activity.
      java.lang.String getMemberGroupName()
      Gets the name of the Customer Segment assigned to the activity.
      java.lang.Integer getMessageContentId()
      Gets the ID of the e-mail message assigned to the activity.
      java.lang.String getMessageContentName()
      Gets the name of the e-mail message assigned to the activity.
      java.lang.String getModifiedBy()
      Gets the logon ID of the user who last modified the activity.
      java.lang.String getName()
      Gets the e-mail activity name.
      java.lang.String getReplyTo()
      Gets the reply-to address set for the email activity.
      java.lang.Integer getStatus()
      Gets the e-mail activity status.
      java.lang.String getStatusString()
      Gets the e-mail activity status as a String.
      java.lang.Integer getStoreEntityId()
      Gets the store ID of the store to which the e-mail activity belongs.
      void populate()
      Populate the data bean.
      void setId(java.lang.Integer id)
      Sets the e-mail activity ID.
      • 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

      • EmailActivityDataBean

        public EmailActivityDataBean()
    • Method Detail

      • getCampaignId

        public java.lang.Integer getCampaignId()
        Gets the ID of the campaign to which the e-mail activity is associated.
        Returns:
        The ID of the campaign to which the e-mail activity is associated.
      • getCampaignName

        public java.lang.String getCampaignName()
        Gets the name of the campaign to which the activity is associated.
        Returns:
        The name of the campaign to which the e-mail activity is associated.
      • getCustomerProfileExist

        public boolean getCustomerProfileExist()
        Checks whether the customer segment associated with the e-mail activity still exists.
        Returns:
        Returns true when the customer segment associated with the e-mail activity exists, returns false otherwise.
      • getDeliveryDate

        public java.sql.Timestamp getDeliveryDate()
        Gets the time and date the activity will be delivered.
        Returns:
        The time and date the activity will be delivered.
      • getDescription

        public java.lang.String getDescription()
        Gets the e-mail activity description.
        Returns:
        The description of the e-mail activity.
      • getId

        public java.lang.Integer getId()
        Gets the ID of the e-mail activity.
        Returns:
        The ID of the e-mail activity.
      • getJobNum

        public java.lang.Long getJobNum()
        Gets the scheduler job number associated with this activity.
        Returns:
        The scheduler job number.
      • getLastUpdate

        public java.sql.Timestamp getLastUpdate()
        Gets the e-mail time of the last update to the activity.
        Returns:
        The date of the e-mail activity last updated.
      • getMemberGroupId

        public java.lang.Long getMemberGroupId()
        Gets the ID of the Customer Segment assigned to the activity.
        Returns:
        The ID of the Customer Segment assigned to the activity.
      • getMemberGroupName

        public java.lang.String getMemberGroupName()
        Gets the name of the Customer Segment assigned to the activity.
        Returns:
        The name of the Customer Segment assigned to the activity.
      • getMessageContentId

        public java.lang.Integer getMessageContentId()
        Gets the ID of the e-mail message assigned to the activity.
        Returns:
        The ID of the e-mail message assigned to the activity.
      • getMessageContentName

        public java.lang.String getMessageContentName()
        Gets the name of the e-mail message assigned to the activity.
        Returns:
        The name of the e-mail message assigned to the activity.
      • getModifiedBy

        public java.lang.String getModifiedBy()
        Gets the logon ID of the user who last modified the activity.
        Returns:
        The logon ID of the user who last modified the activity.
      • getName

        public java.lang.String getName()
        Gets the e-mail activity name.
        Returns:
        The name of the e-mail activity.
      • getReplyTo

        public java.lang.String getReplyTo()
        Gets the reply-to address set for the email activity.
        Returns:
        The reply-to address set for the email activity.
      • getStatus

        public java.lang.Integer getStatus()
        Gets the e-mail activity status.
        Returns:
        The status of the e-mail activity.
      • getStatusString

        public java.lang.String getStatusString()
        Gets the e-mail activity status as a String.
        Returns:
        The String representation for the status of the e-mail activity.
      • getStoreEntityId

        public java.lang.Integer getStoreEntityId()
        Gets the store ID of the store to which the e-mail activity belongs.
        Returns:
        The store ID of the store to which the e-mail activity belongs.
      • populate

        public void populate()
                      throws java.lang.Exception
        Populate the data bean.
        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 any of the EmailPromotionMemberGroupRelationAccessBean, MemberGroupAccessBean, SchedulerConfigAccessBean or EmailPromotionAccessBean cannot be successfully called to retreive the data for this e-mail activity.
      • setId

        public void setId(java.lang.Integer id)
        Sets the e-mail activity ID.
        Parameters:
        id - The e-mail activity ID.