java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.command.BusinessPolicyCommandImpl
com.ibm.commerce.order.calculation.CalculationCmdImpl
This is an abstract command implementation that implements the base interface CalculationCmd.
Field Summary | |
static java.lang.String | COPYRIGHT The IBM copyright notice field. |
Fields inherited from class com.ibm.commerce.command.BusinessPolicyCommandImpl |
policyId, requestProperties |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.order.calculation.CalculationCmd |
NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
CalculationCmdImpl() Constructor for CalculationCmdImpl. |
Method Summary | |
protected CalculationCmd | createCommand(CalculationMethodAccessBean aabMethod) Creates the command corresponding to a calculation method. |
java.lang.String | getCurrency() Returns the currency to use during execution. |
java.util.HashMap | getCustomProperties() Returns the custom properties as a HashMap. |
java.lang.Object | getCustomProperty(java.lang.String astrName) Returns the value of a custom property. |
java.sql.Timestamp | getTimestamp() Returns the timestamp to use during execution. |
java.lang.Integer | getUsageId() Returns the calculation usage. |
protected void | recycleCommand(CalculationCmd aCalculationCmd, CalculationMethodAccessBean aabMethod) Saves a command created using the createCommand method. |
void | reset() This method should be called after a command has been executed to reset its states variables. |
void | setCurrency(java.lang.String astrCurrency) Sets the currency to use during execution. |
void | setCustomProperties(java.util.HashMap ahshCustomProperties) Sets the custom properties. |
void | setCustomProperty(java.lang.String astrName, java.lang.Object aValue) Sets the value of a custom property. |
void | setTimestamp(java.sql.Timestamp aTimestamp) Sets the timestamp to use during execution. |
void | setUsageId(java.lang.Integer anUsageId) Sets the calculation usage. |
Methods inherited from class com.ibm.commerce.command.BusinessPolicyCommandImpl |
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.BusinessPolicyCommand |
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public CalculationCmdImpl()
Method Detail |
protected CalculationCmd createCommand(CalculationMethodAccessBean aabMethod) throws ECException
protected void recycleCommand(CalculationCmd aCalculationCmd, CalculationMethodAccessBean aabMethod) throws ECException
public java.lang.String getCurrency()
public java.util.HashMap getCustomProperties()
public java.lang.Object getCustomProperty(java.lang.String astrName)
public java.sql.Timestamp getTimestamp()
public java.lang.Integer getUsageId()
public void reset()
public void setCurrency(java.lang.String astrCurrency)
public void setCustomProperties(java.util.HashMap ahshCustomProperties)
public void setCustomProperty(java.lang.String astrName, java.lang.Object aValue)
public void setTimestamp(java.sql.Timestamp aTimestamp)
public void setUsageId(java.lang.Integer anUsageId)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.