com.ibm.commerce.tools.campaigns

Class CampaignInitiativeContext

  • java.lang.Object
    • com.ibm.commerce.tools.campaigns.CampaignInitiativeContext
  • All Implemented Interfaces:
    java.io.Serializable

    Deprecated. 
    All Blaze related functions are replaced by Commerce rule engine.

    public class CampaignInitiativeContext
    extends java.lang.Object
    implements java.io.Serializable
    This class is used to map contextual information into Blaze projects.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • CampaignInitiativeContext

        public CampaignInitiativeContext()
        Deprecated. 
    • Method Detail

      • getBigDecimalParameterValue

        public java.math.BigDecimal getBigDecimalParameterValue(java.lang.String parameterName)
        Deprecated. 
        Gets the specified BigDecimal parameter.
        Parameters:
        parameterName - The name of the parameter.
        Returns:
        The parameter value converted to BigDecimal.
      • getIntegerParameterValue

        public java.lang.Integer getIntegerParameterValue(java.lang.String parameterName)
        Deprecated. 
        Gets the specified Integer parameter.
        Parameters:
        parameterName - The name of the parameter.
        Returns:
        The parameter value converted to Integer.
      • getLongParameterValue

        public java.lang.Long getLongParameterValue(java.lang.String parameterName)
        Deprecated. 
        Gets the specified Long parameter.
        Parameters:
        parameterName - The name of the parameter.
        Returns:
        The parameter value converted to Long.
      • getCommandContext

        public CommandContext getCommandContext()
        Deprecated. 
        Gets the command context.
        Returns:
        The command context.
      • getConditionName

        public java.lang.String getConditionName()
        Deprecated. 
        Gets the open condition name.
        Returns:
        The open condition name.
      • getParameters

        public OpenCondition.Parameter[] getParameters()
        Deprecated. 
        Gets the open condition parameters.
        Returns:
        The array of open condition parameters.
      • getParameterValue

        public java.lang.String getParameterValue(java.lang.String parameterName)
        Deprecated. 
        Gets the parameter value
        Parameters:
        parameterName - The name of the parameter.
        Returns:
        The parameter value.
      • getPurchaseHistoryCatalogGroups

        public com.ibm.commerce.rules.helpers.CatalogGroupResultBean[][] getPurchaseHistoryCatalogGroups(java.lang.String language)
        Deprecated. 
        Gets the purchase history catalog groups for the specified language.
        Parameters:
        language - A specified language identifier.
        Returns:
        An array of CatalogGroupResultBean objects.
      • getPurchaseHistoryCategories

        public java.lang.String[] getPurchaseHistoryCategories(java.lang.String language)
        Deprecated. 
        Gets the purchase history categories for a specified language.
        Parameters:
        language - A specified language identifier.
        Returns:
        An array of purchase history categories.
      • getPurchaseHistoryOrderItems

        public OrderItemAccessBean[] getPurchaseHistoryOrderItems()
        Deprecated. 
        Gets the purchase history order items.
        Returns:
        An array of OrderItemAccessBean objects.
      • getResult

        public boolean getResult()
        Deprecated. 
        Gets the result.
        Returns:
        The result from the rules project.
      • getShoppingCartOrderAccessBean

        public OrderAccessBean getShoppingCartOrderAccessBean()
        Deprecated. 
        Gets the shopping cart.
        Returns:
        The OrderAccessBean for the shopping cart.
      • getShoppingCartOrderItems

        public OrderItemAccessBean[] getShoppingCartOrderItems()
        Deprecated. 
        Gets the order items for the shopping cart.
        Returns:
        An array of OrderItemAccessBean objects.
      • getShoppingCartTotal

        public java.math.BigDecimal getShoppingCartTotal(java.lang.String currency)
        Deprecated. 
        Gets the shopping cart total in the specified currency.
        Parameters:
        currency - The desired currency.
        Returns:
        The shopping cart total.
      • log

        public void log(java.lang.String text)
        Deprecated. 
        Logs a string to System.out.
        Parameters:
        text - The text that you want to log.
      • setCommandContext

        public void setCommandContext(CommandContext commandContext)
        Deprecated. 
        Sets the command context.
        Parameters:
        commandContext - The command context.
      • setConditionName

        public void setConditionName(java.lang.String conditionName)
        Deprecated. 
        Sets the open condition name.
        Parameters:
        conditionName - The open condition name.
      • setParameters

        public void setParameters(OpenCondition.Parameter[] parameters)
        Deprecated. 
        Sets the open condition parameters.
        Parameters:
        parameters - An array of Parameter objects.
      • setResult

        public void setResult(boolean result)
        Deprecated. 
        Sets the open condition result.
        Parameters:
        result - The result.