com.ibm.commerce.emarketing.beans
Class EmailActivityDataBean

java.lang.Object
  |
  +--com.ibm.commerce.beans.InputDataBeanImpl
        |
        +--com.ibm.commerce.beans.SmartDataBeanImpl
              |
              +--com.ibm.commerce.emarketing.beans.EmailActivityDataBeanBase
                    |
                    +--com.ibm.commerce.emarketing.beans.EmailActivityDataBean
All Implemented Interfaces:
DataBean, InputDataBean, java.io.Serializable, SmartDataBean

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
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
EmailActivityDataBean()
           
 
Method Summary
 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 Profile assigned to the activity.
 java.lang.String getMemberGroupName()
          Gets the name of the Customer Profile 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.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.
 boolean isCustomerProfileExist()
          If the customer profile associated with the e-mail activity still exists.
 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.emarketing.beans. EmailActivityDataBeanBase
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.beans. InputDataBean
getRequestProperties, setRequestProperties
 

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

EmailActivityDataBean

public EmailActivityDataBean()
Method Detail

getId

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

getName

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

getDescription

public java.lang.String getDescription()
Gets the e-mail activity description.
Returns:
the description 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.

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.

getStatus

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

isCustomerProfileExist

public boolean isCustomerProfileExist()
If the customer profile associated with the e-mail activity still exists.
Returns:
returns yes when the customer profile associated with the e-mail activity exists, returns false otherwise.

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.

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.

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.

populate

public void populate()
              throws java.lang.Exception
populate the data bean.
Specified by:
populate in interface SmartDataBean
Overrides:
populate in class 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.

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.

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.

getMemberGroupName

public java.lang.String getMemberGroupName()
Gets the name of the Customer Profile assigned to the activity.
Returns:
the name of the Customer Profile assigned to the activity.

getMemberGroupId

public java.lang.Long getMemberGroupId()
Gets the ID of the Customer Profile assigned to the activity.
Returns:
the ID of the Customer Profile assigned to the activity.

getDeliveryDate

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