com.ibm.commerce.command
Interface BusinessPolicyCommand

All Superinterfaces:
ECCommand, TaskCommand
All Known Subinterfaces:
ApplyCalculationUsageCmd, ApplyCalculationUsageTIKCmd, ApplyCouponUsageCmd, ApplyShippingCmd, ApproveRefundPolicyCmd, AutoApproveReturnItemPolicyCmd, CalculateReturnAdjustmentPolicyCmd, CalculateReturnItemAdjustmentPolicyCmd, CalculationCmd, CalculationCodeApplyCmd, CalculationCodeCalculateCmd, CalculationCodeCombineCmd, CalculationCodeQualifyCmd, CalculationRangeCmd, CalculationRuleCalculateCmd, CalculationRuleCombineCmd, CalculationRuleQualifyCmd, CalculationScaleLookupCmd, CheckPaymentAcceptPolicyCmd, CSRDisplayRefundPaymentInfoCmd, DiscountCalculationCodeApplyCmd, DiscountCalculationRuleQualifyCmd, DoCancelPolicyCmd, DoDepositPolicyCmd, DoPaymentPolicyCmd, DoRefundPolicyCmd, FinalizeCalculationUsageCmd, FinalizeCouponUsageCmd, FixedAmountCalculationRangeCmd, InitializeAdjustmentCmd, InitializeCalculationUsageCmd, InitializeCouponUsageCmd, InitializeSalesTaxCmd, InitializeShippingCmd, InitializeShippingTaxCmd, NetPriceCalculationScaleLookupCmd, NetPriceWithQuantityAsResultMultiplierCalculationScaleLookupCmd, NetShippingCalculationScaleLookupCmd, NonDiscountedPriceCalculationScaleLookupCmd, PercentageCalculationRangeCmd, PerUnitAmountCalculationRangeCmd, QuantityCalculationScaleLookupCmd, QuantitySpreadByNetPriceCalculationScaleLookupCmd, RefundPaymentPolicyCmd, ResolvePriceListsCmd, RetrievePricesCmd, SalesTaxCalculationCodeApplyCmd, ShippingCalculationCodeApplyCmd, ShippingCalculationRuleQualifyCmd, ShippingTaxCalculationCodeApplyCmd, SummarizeAdjustmentCmd, SummarizeCalculationUsageCmd, SummarizeCouponUsageCmd, SummarizeSalesTaxCmd, SummarizeShippingCmd, SummarizeShippingTaxCmd, TaxableNetPriceCalculationScaleLookupCmd, TaxableNetPricePlusNetShippingCalculationScaleLookupCmd, TaxableUnitPriceCalculationScaleLookupCmd, TaxableUnitPricePlusUnitShippingCalculationScaleLookupCmd, TaxCalculationCodeCombineCmd, TaxCalculationRuleQualifyCmd, UnitPriceCalculationScaleLookupCmd, UnitShippingCalculationScaleLookupCmd, WeightCalculationScaleLookupCmd, WeightSpreadByNetPriceCalculationScaleLookupCmd
All Known Implementing Classes:
BusinessPolicyCommandImpl

public interface BusinessPolicyCommand
extends TaskCommand

Provides the base interface for any Business Policy Task Command.


Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Method Summary
 java.lang.Long getPolicyId()
          Gets the policy id.
 TypedProperty getRequestProperties()
          This method is called to retrieve the request properties associated with this command.
 void setPolicyId(java.lang.Long newPolicyId)
          Sets the policy Id.
 void setRequestProperties(TypedProperty requestProperties)
          Sets the request properties for the Business Policy Command.
 
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
Method Detail

getPolicyId

public java.lang.Long getPolicyId()
Gets the policy id.

Returns:
java.lang.Long

getRequestProperties

public TypedProperty getRequestProperties()
This method is called to retrieve the request properties associated with this command. The requestProperties is set by the setRequestProperties() method.

Returns:
com.ibm.commerce.datatype.TypedProperty

setPolicyId

public void setPolicyId(java.lang.Long newPolicyId)
Sets the policy Id. This method is called by the command factory to initialize the policy Id associated with this command.

Parameters:
newPolicyId - java.lang.Long

setRequestProperties

public void setRequestProperties(TypedProperty requestProperties)
Sets the request properties for the Business Policy Command.

Parameters:
requestProperties - com.ibm.commerce.datatype.TypedProperty