com.ibm.commerce.tools.campaigns

Class CampaignEmsDataBean

  • 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, CampaignConstants, java.io.Serializable


    public class CampaignEmsDataBean
    extends CampaignEmsDataBeanBase
    implements CampaignConstants
    This class extends the SmartDataBeanImpl class to create a data bean for an e-Marketing Spot.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CampaignEmsDataBean

        public CampaignEmsDataBean()
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Gets the e-Marketing Spot description.
        Returns:
        The description of the e-Marketing Spot.
      • getEmsName

        public java.lang.String getEmsName()
        Gets the e-Marketing Spot name.
        Returns:
        The name of the e-Marketing Spot.
      • getId

        public java.lang.Integer getId()
        Gets the e-Marketing Spot ID.
        Returns:
        The ID of the e-Marketing Spot.
      • getInitiativeSchedule

        public CampaignEmsDataBean.InitiativeSchedule[] getInitiativeSchedule()
        Gets an array of all scheduled initiatives or collaterals to this e-Marketing Spot, represented by the InitiativeSchedule inner class.
        Returns:
        An array of all scheduled initiatives or collaterals to this e-Marketing Spot.
      • getNumberOfSchedule

        public java.lang.Integer getNumberOfSchedule()
        Gets the number of initiatives and collaterals scheduled to this e-Marketing Spot.
        Returns:
        The number of initiatives and collaterals scheduled to this e-Marketing Spot.
      • getStoreId

        public java.lang.Integer getStoreId()
        Gets the ID of the store which this e-Marketing Spot belongs to.
        Returns:
        The ID of the store which this e-Marketing Spot belongs to.
      • getSupportedTypes

        public java.lang.String getSupportedTypes()
        Gets the e-Marketing Spot supported types.
        Returns:
        The supported types of the e-Marketing Spot.
      • getUsageType

        public java.lang.String getUsageType()
        Gets the e-Marketing Spot usage type.
        Returns:
        The usage type of the e-Marketing Spot.
      • populate

        public void populate()
                      throws java.lang.Exception
        Populate the data bean that includes all the data related to this e-Marketing Spot.
        Specified by:
        populate in interface com.ibm.commerce.beans.SmartDataBean
        Overrides:
        populate in class com.ibm.commerce.beans.SmartDataBeanImpl
        Throws:
        java.lang.Exception - Thrown whenever an exception is encountered.
      • setDescription

        public void setDescription(java.lang.String description)
        Sets the e-Marketing Spot description.
        Parameters:
        description - The description of the e-Marketing Spot.
      • setEmsName

        public void setEmsName(java.lang.String emsName)
        Sets the e-Marketing Spot name.
        Parameters:
        emsName - The name of the e-Marketing Spot.
      • setId

        public void setId(java.lang.Integer id)
        Sets the e-Marketing Spot ID.
        Parameters:
        id - The e-Marketing Spot ID.
      • setStoreId

        public void setStoreId(java.lang.Integer storeId)
        Sets the ID of the store which this e-Marketing Spot belongs to.
        Parameters:
        storeId - The ID of the store which this e-Marketing Spot belongs to.
      • setSupportedTypes

        public void setSupportedTypes(java.lang.String supportedTypes)
        Sets the e-Marketing Spot supported types.
        Parameters:
        supportedTypes - The supported types of the e-Marketing Spot.
      • setUsageType

        public void setUsageType(java.lang.String usageType)
        Sets the e-Marketing Spot usage type.
        Parameters:
        usageType - The usage type of the e-Marketing Spot.
      • setXML

        public void setXML(java.util.Hashtable xml)
        Sets the XML.
        Parameters:
        xml - The XML that describes this e-Marketing Spot.