com.ibm.commerce.order.calculation
Interface CalculationRuleQualifyCmd

All Superinterfaces:
BusinessPolicyCommand, CalculationCmd, ECCommand, TaskCommand
All Known Subinterfaces:
DiscountCalculationRuleQualifyCmd, ShippingCalculationRuleQualifyCmd, TaxCalculationRuleQualifyCmd

public interface CalculationRuleQualifyCmd
extends CalculationCmd

This command is called by CalculationRuleCombine to identify the items that qualify for a particular calculation rule.
Given a list of OrderItems, this method determines for which of them a particular CalculationRule applies. It returns a list of elements. Each element is a list of OrderItems that should be processed toegther by the CalculationRule.

See Also:
CalculationRuleCombineCmd, Item

Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String NAME
           
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Method Summary
 Item[] getQualifiedItems()
          Sets the items that qualify.
 void setItems(Item[] aItems)
          Sets the items.
 void setRule(CalculationRuleAccessBean aabRule)
          Sets the calculation rule.
 
Methods inherited from interface com.ibm.commerce.order.calculation.CalculationCmd
getCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageId
 
Methods inherited from interface com.ibm.commerce.command.BusinessPolicyCommand
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

NAME

public static final java.lang.String NAME
Method Detail

getQualifiedItems

public Item[] getQualifiedItems()
Sets the items that qualify.

setItems

public void setItems(Item[] aItems)
Sets the items.

setRule

public void setRule(CalculationRuleAccessBean aabRule)
Sets the calculation rule.