public class CampaignInitiativeContext
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated.
IBM copyright notice field.
|
Constructor and Description |
---|
CampaignInitiativeContext()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getBigDecimalParameterValue(java.lang.String parameterName)
Deprecated.
Gets the specified
BigDecimal parameter. |
CommandContext |
getCommandContext()
Deprecated.
Gets the command context.
|
java.lang.String |
getConditionName()
Deprecated.
Gets the open condition name.
|
java.lang.Integer |
getIntegerParameterValue(java.lang.String parameterName)
Deprecated.
Gets the specified
Integer parameter. |
java.lang.Long |
getLongParameterValue(java.lang.String parameterName)
Deprecated.
Gets the specified
Long parameter. |
OpenCondition.Parameter[] |
getParameters()
Deprecated.
Gets the open condition parameters.
|
java.lang.String |
getParameterValue(java.lang.String parameterName)
Deprecated.
Gets the parameter value
|
com.ibm.commerce.rules.helpers.CatalogGroupResultBean[][] |
getPurchaseHistoryCatalogGroups(java.lang.String language)
Deprecated.
Gets the purchase history catalog groups for the specified language.
|
java.lang.String[] |
getPurchaseHistoryCategories(java.lang.String language)
Deprecated.
Gets the purchase history categories for a specified language.
|
OrderItemAccessBean[] |
getPurchaseHistoryOrderItems()
Deprecated.
Gets the purchase history order items.
|
boolean |
getResult()
Deprecated.
Gets the result.
|
OrderAccessBean |
getShoppingCartOrderAccessBean()
Deprecated.
Gets the shopping cart.
|
OrderItemAccessBean[] |
getShoppingCartOrderItems()
Deprecated.
Gets the order items for the shopping cart.
|
java.math.BigDecimal |
getShoppingCartTotal(java.lang.String currency)
Deprecated.
Gets the shopping cart total in the specified currency.
|
void |
log(java.lang.String text)
Deprecated.
Logs a string to System.out.
|
void |
setCommandContext(CommandContext commandContext)
Deprecated.
Sets the command context.
|
void |
setConditionName(java.lang.String conditionName)
Deprecated.
Sets the open condition name.
|
void |
setParameters(OpenCondition.Parameter[] parameters)
Deprecated.
Sets the open condition parameters.
|
void |
setResult(boolean result)
Deprecated.
Sets the open condition result.
|
public static final java.lang.String COPYRIGHT
public java.math.BigDecimal getBigDecimalParameterValue(java.lang.String parameterName)
BigDecimal
parameter.parameterName
- The name of the parameter.public java.lang.Integer getIntegerParameterValue(java.lang.String parameterName)
Integer
parameter.parameterName
- The name of the parameter.Integer
.public java.lang.Long getLongParameterValue(java.lang.String parameterName)
Long
parameter.parameterName
- The name of the parameter.Long
.public CommandContext getCommandContext()
public java.lang.String getConditionName()
public OpenCondition.Parameter[] getParameters()
public java.lang.String getParameterValue(java.lang.String parameterName)
parameterName
- The name of the parameter.public com.ibm.commerce.rules.helpers.CatalogGroupResultBean[][] getPurchaseHistoryCatalogGroups(java.lang.String language)
language
- A specified language identifier.CatalogGroupResultBean
objects.public java.lang.String[] getPurchaseHistoryCategories(java.lang.String language)
language
- A specified language identifier.public OrderItemAccessBean[] getPurchaseHistoryOrderItems()
OrderItemAccessBean
objects.public boolean getResult()
public OrderAccessBean getShoppingCartOrderAccessBean()
OrderAccessBean
for the shopping cart.public OrderItemAccessBean[] getShoppingCartOrderItems()
OrderItemAccessBean
objects.public java.math.BigDecimal getShoppingCartTotal(java.lang.String currency)
currency
- The desired currency.public void log(java.lang.String text)
text
- The text that you want to log.public void setCommandContext(CommandContext commandContext)
commandContext
- The command context.public void setConditionName(java.lang.String conditionName)
conditionName
- The open condition name.public void setParameters(OpenCondition.Parameter[] parameters)
parameters
- An array of Parameter
objects.public void setResult(boolean result)
result
- The result.