com.ibm.commerce.command
Class BusinessPolicyCommandImpl

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.command.BusinessPolicyCommandImpl
All Implemented Interfaces:
BusinessPolicyCommand, ECCommand, TaskCommand
Direct Known Subclasses:
ApproveRefundAlwaysPolicyCmdImpl, AutoApproveReturnItemByDaysPolicyCmdImpl, CalculateReturnAdjustmentNonePolicyCmdImpl, CalculateReturnItemAdjustmentPolicyCmdImpl, CalculationCmdImpl, CheckPaymentAcceptCLCmdImpl, CheckPaymentAcceptPMCmdImpl, CheckPaymentAcceptTestCmdImpl, CSRDisplayRefundPaymentInfoCmdImpl, DoCancelCLCmdImpl, DoCancelPMCmdImpl, DoCancelTestCmdImpl, DoDepositCLCmdImpl, DoDepositTestCmdImpl, DoPaymentCLCmdImpl, DoPaymentTestCmdImpl, DoRefundCLCmdImpl, DoRefundPMCmdImpl, DoRefundTestCmdImpl, RefundPaymentPolicyCmdImpl, ResolvePriceListsCmdImpl, RetrievePricesCmdImpl

public class BusinessPolicyCommandImpl
extends TaskCommandImpl
implements BusinessPolicyCommand

Default implementation for a Business Policy Task Command.


Field Summary
protected  java.lang.Long policyId
           
protected  TypedProperty requestProperties
           
 
Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.command.BusinessPolicyCommand
COPYRIGHT
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Constructor Summary
BusinessPolicyCommandImpl()
          BusinessPolicyCommandImpl constructor comment.
 
Method Summary
 java.lang.Long getPolicyId()
          Gets the policy id.
 TypedProperty getRequestProperties()
          This method is called to retrieve the request properties associated with a command.
 void setPolicyId(java.lang.Long newPolicyId)
          Sets the policy Id.
 void setRequestProperties(TypedProperty aRequestProperties)
          Sets the request properties for the Business Policy Command.
 
Methods inherited from class com.ibm.commerce.command.AbstractECCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, 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.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

policyId

protected java.lang.Long policyId

requestProperties

protected TypedProperty requestProperties
Constructor Detail

BusinessPolicyCommandImpl

public BusinessPolicyCommandImpl()
BusinessPolicyCommandImpl constructor comment.
Method Detail

getPolicyId

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

Specified by:
getPolicyId in interface BusinessPolicyCommand
Returns:
java.lang.Long

getRequestProperties

public TypedProperty getRequestProperties()
This method is called to retrieve the request properties associated with a command. the default implementation returns the protected parameter requestProperties set by setRequestProperties.

Specified by:
getRequestProperties in interface BusinessPolicyCommand
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.

Specified by:
setPolicyId in interface BusinessPolicyCommand
Parameters:
newPolicyId - java.lang.Long

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperties)
Sets the request properties for the Business Policy Command. The default implementation set the protected parameter requestProperties with the input value.

Specified by:
setRequestProperties in interface BusinessPolicyCommand
Parameters:
requestProperties - com.ibm.commerce.datatype.TypedProperty