com.ibm.commerce.tools.campaigns

Class CampaignCollateralListDataBean

  • 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 CampaignCollateralListDataBean
    extends CampaignCollateralListDataBeanBase
    implements CampaignConstants
    This class extends the SmartDataBeanImpl class to create the campaign collateral list data bean.
    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

      • CampaignCollateralListDataBean

        public CampaignCollateralListDataBean()
    • Method Detail

      • getCollateralList

        public CampaignCollateralDataBean[] getCollateralList()
        Gets an array of CampaignCollateralDataBean objects.
        Returns:
        An array of CampaignCollateralDataBean objects.
      • getLocalSearch

        public boolean getLocalSearch()
        Gets the value of the local search flag.
        Returns:
        true if search on current store only; false otherwise.
      • populate

        public void populate()
                      throws java.lang.Exception
        Populate the data bean that includes all the collateral found.
        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.
      • setLocalSearch

        public void setLocalSearch(boolean newLocalSearch)
        Sets the local search flag, a true value will instruct the data bean to search for collaterals in the current store only; a false value will instruct the data bean to go up the store path and find all collaterals own by stores on the store path.
        Parameters:
        newLocalSearch - true if search on current store only; false otherwise.