com.ibm.commerce.tools.campaigns

Class CampaignInitiativeDataBean

    • Field Detail

      • COPYRIGHT

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

      • CampaignInitiativeDataBean

        public CampaignInitiativeDataBean()
    • Method Detail

      • getCampaignId

        public java.lang.Integer getCampaignId()
        Gets the campaign ID of the initiative.
        Returns:
        The campaign ID of the initiative.
      • getCampaignName

        public java.lang.String getCampaignName()
        Gets the campaign name of the initiative.
        Returns:
        The campaign name of the initiative.
      • getConflictScheduleEmsId

        public java.util.Vector getConflictScheduleEmsId()
        Gets the list of e-Marketing Spot IDs of all schedules that are conflicting in the same e-Marketing Spot with this initiative.
        Returns:
        List of all conflicting schedules' e-Marketing Spot ID.
      • getConflictScheduleId

        public java.util.Vector getConflictScheduleId()
        Gets the list of IDs of all schedules that are conflicting in the same e-Marketing Spot with this initiative.
        Returns:
        List of all conflicting schedules' ID.
      • getConflictSchedulePriority

        public java.util.Vector getConflictSchedulePriority()
        Gets the list of priorities of all schedules that are conflicting in the same e-Marketing Spot with this initiative.
        Returns:
        List of all conflicting schedules' priority.
      • getContentType

        public java.lang.String getContentType()
        Gets the campaign initiative content type.
        Returns:
        The content type of the campaign initiative.
      • getDescription

        public java.lang.String getDescription()
        Gets the campaign initiative description.
        Returns:
        The description of the campaign initiative.
      • getDisabled

        public boolean getDisabled()
        Gets the campaign initiative disable flag.
        Returns:
        The disable flag of the campaign initiative.
      • getEmsSchedule

        public CampaignInitiativeDataBean.EmsSchedule[] getEmsSchedule()
        Gets an array of all e-Marketing Spots that this initiative has been scheduled to, represented by the EmsSchedule inner class.
        Returns:
        An array of all e-Marketing Spots that this initiative has been scheduled to.
      • getId

        public java.lang.Integer getId()
        Gets the campaign initiative ID.
        Returns:
        The ID of the campaign initiative.
      • getInitiativeName

        public java.lang.String getInitiativeName()
        Gets the campaign initiative name.
        Returns:
        The name of the campaign initiative.
      • getLastUpdateDate

        public java.lang.Long getLastUpdateDate()
        Gets the campaign initiative last updated date.
        Returns:
        The last updated date of the campaign initiative.
      • getLastUpdatedBy

        public java.lang.String getLastUpdatedBy()
        Gets the campaign initiative last updated user.
        Returns:
        The last updated user of the campaign initiative.
      • getSellType

        public java.lang.Integer getSellType()
        Gets the campaign initiative sell type.
        Returns:
        The sell type of the campaign initiative.
      • getStatus

        public java.lang.String getStatus()
        Gets the campaign initiative status.
        Returns:
        The status of the campaign initiative.
      • getStoreId

        public java.lang.Integer getStoreId()
        Gets the ID of the store which this initiative belongs to.
        Returns:
        The ID of the store which this initiative belongs to.
      • populate

        public void populate()
                      throws java.lang.Exception
        Populate the data bean that includes all the data related to this campaign initiative.
        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.
      • setCampaignId

        public void setCampaignId(java.lang.Integer aCampaignId)
        Set the Campaign Id related to the Initiative
        Parameters:
        aCampaignId - Campaign Id
      • setCampaignName

        public void setCampaignName(java.lang.String name)
        Sets the campaign name
        Parameters:
        name - The campaign name
      • setContentType

        public void setContentType(java.lang.String type)
        Sets the content type of the Initiative
        Parameters:
        type - The content type
      • setDescription

        public void setDescription(java.lang.String aDescription)
        Sets the description of the Initiative
        Parameters:
        aDescription - The description
      • setId

        public void setId(java.lang.Integer initiativeId)
        Sets the campaign initiative ID.
        Parameters:
        initiativeId - The campaign initiative ID.
      • setInitiativeName

        public void setInitiativeName(java.lang.String name)
        Sets the name of the Initiative
        Parameters:
        name - The initiative name
      • setLastUpdateDate

        public void setLastUpdateDate(java.lang.Long aLastUpdateDate)
        Set the Last Update Date of the Initiative
        Parameters:
        aLastUpdateDate - Last Update Date
      • setLastUpdatedBy

        public void setLastUpdatedBy(java.lang.String aLastUpdatedBy)
        Sets the Last Update by value of the Initiative
        Parameters:
        aLastUpdatedBy - Last Update By
      • setRuleXML

        public void setRuleXML(java.lang.String iniRuleXML)
        Sets the Rule XML of the Initiative
        Parameters:
        iniRuleXML - Initiative Rule XML
      • setSellType

        public void setSellType(java.lang.Integer aSellType)
        Sets the Sell Type of the Initiative
        Parameters:
        aSellType - Sell Type
      • setStatus

        public void setStatus(java.lang.String iniStatus)
        The Sets the status of the Initiative
        Parameters:
        iniStatus - Initiative Status
      • setStoreId

        public void setStoreId(java.lang.Integer aStoreId)
        Sets the Store Id
        Parameters:
        aStoreId - Store Id
      • setXML

        public void setXML(java.util.Hashtable aXml)
        Sets the XML.
        Parameters:
        aXml - The XML that describes this campaign initiative.