com.ibm.commerce.price.commands
Class DiscountCalculationRuleQualifyCmdImpl

java.lang.Object
  |
  +--com.ibm.commerce.order.utils.CalculationCmdImpl
        |
        +--com.ibm.commerce.price.commands.DiscountCalculationRuleQualifyCmdImpl
All Implemented Interfaces:
DiscountCalculationRuleQualifyCmd

public class DiscountCalculationRuleQualifyCmdImpl
extends com.ibm.commerce.order.utils.CalculationCmdImpl
implements DiscountCalculationRuleQualifyCmd

Check to see if the user is in any member group attached to the calculation rule for the order adjustment. The member group must also be recognized by the store (STOREMBRGP table).

This command calls the following TaskCommands:

This command uses the following AccessBeans:
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.ibm.commerce.price.commands. DiscountCalculationRuleQualifyCmd
COPYRIGHT, defaultCommandClassName, NAME
 
Constructor Summary
DiscountCalculationRuleQualifyCmdImpl()
          DiscountCalculationRuleQualifyCmdImpl constructor.
 
Method Summary
 java.util.Vector getOrderItemABHashVector()
          getOrderItemABHashVector method comment.
 void performExecute()
          Execute the command.
 void setCalculationRuleAB(CalculationRuleAccessBean calculationRuleAB)
          set the calculation rule access bean.
 void setOrderItemABHash(java.util.Hashtable orderItemABHash)
          set the orderItem access bean hash.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscountCalculationRuleQualifyCmdImpl

public DiscountCalculationRuleQualifyCmdImpl()
DiscountCalculationRuleQualifyCmdImpl constructor.
Method Detail

getOrderItemABHashVector

public java.util.Vector getOrderItemABHashVector()
getOrderItemABHashVector method comment.
Returns:
Vector a hashtable for OrderItem accessbean

performExecute

public void performExecute()
                    throws ECException
Execute the command.
Throws:
ECException

setCalculationRuleAB

public void setCalculationRuleAB(CalculationRuleAccessBean calculationRuleAB)
set the calculation rule access bean.
Parameters:
calculationRuleAB - a calculation rule access bean

setOrderItemABHash

public void setOrderItemABHash(java.util.Hashtable orderItemABHash)
set the orderItem access bean hash.
Parameters:
orderItemABHash - a hashtable for orderitem accessbean