com.ibm.commerce.emarketing.beans
Class EmailActivityListDataBean

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

public class EmailActivityListDataBean
extends EmailActivityListDataBeanBase

Used to find all e-mail activities for a given store.

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
EmailActivityListDataBean()
          Null argument constructor.
 
Method Summary
  EmailActivityDataBean getEmailActivity(java.lang.String emailActivityId)
          Gets an e-mail activity for the given store as an EmailActivityDataBean.
 EmailActivityListEntry[] getEmailActivityList()
          Gets all e-mail activities for the given store as an array of EmailActivityEntry objects.
 void populate()
          Populates the databean.
 
Methods inherited from class com.ibm.commerce.emarketing.beans. EmailActivityListDataBeanBase
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

EmailActivityListDataBean

public EmailActivityListDataBean()
Null argument constructor.
Method Detail

getEmailActivityList

public EmailActivityListEntry[] getEmailActivityList()
Gets all e-mail activities for the given store as an array of EmailActivityEntry objects.
Returns:
all e-mail activites for the given store.

getEmailActivity

public EmailActivityDataBean getEmailActivity(java.lang.String emailActivityId)
                                       throws java.lang.Exception
Gets an e-mail activity for the given store as an EmailActivityDataBean.
Parameters:
emailActivityId - The ID of the desired e-mail activity.
Returns:
The EmailActivityDataBean representation of the e-mail activity.
Throws:
java.lang.Exception - thrown when the EmailActivityDataBean cannot be populated.

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 the corresponding finder method in EmailPromotionAccessBean cannot successfully find the e-mail activities for the store.