com.ibm.commerce.command
Class BusinessPolicyCommandImpl
- java.lang.Object
-
- com.ibm.websphere.command.TargetableCommandImpl
-
- com.ibm.websphere.command.CacheableCommandImpl
-
- com.ibm.commerce.command.MeasuredCacheableCommandImpl
-
- com.ibm.commerce.command.AbstractECTargetableCommand
-
- com.ibm.commerce.command.TaskCommandImpl
-
- com.ibm.commerce.command.BusinessPolicyCommandImpl
-
- All Implemented Interfaces:
- BusinessPolicyCommand, com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable
- Direct Known Subclasses:
- AbstractCleanupRankingPolicyCmdImpl, AbstractGenerateRankingPolicyCmdImpl, ApproveRefundAlwaysPolicyCmdImpl, AutoApproveReturnItemByDaysPolicyCmdImpl, CalculateReturnAdjustmentNonePolicyCmdImpl, CalculateReturnItemAdjustmentPolicyCmdImpl, CalculationCmdImpl, CheckPaymentAcceptCLCmdImpl, CheckPaymentAcceptTestCmdImpl, CSRDisplayRefundPaymentInfoCmdImpl, DoCancelCLCmdImpl, DoCancelTestCmdImpl, DoDepositCLCmdImpl, DoDepositTestCmdImpl, DoPaymentActionsCompatiblePolicyCmdImpl, DoPaymentActionsPolicyCmdImpl, DoPaymentCLCmdImpl, DoPaymentTestCmdImpl, DoRefundCLCmdImpl, DoRefundTestCmdImpl, EditPaymentInstructionCompatiblePolicyCmdImpl, EditPaymentInstructionPolicyCmdImpl, GetBatchAvailabilityCmdImpl, GetPriceAndAvailabilityCmdImpl, GetUOMCodePolicyCmdImpl, PreparePIsForEditPolicyCmdImpl, QueryPaymentsInfoCompatiblePolicyCmdImpl, QueryPaymentsInfoPolicyCmdImpl, com.ibm.commerce.returns.commands.RefundByMethodPolicyCmdImpl, RefundPaymentPolicyCmdImpl, ResolvePriceListsCmdImpl, RetrievePricesCmdImpl, TransferShopcartCmdImpl
public class BusinessPolicyCommandImpl extends TaskCommandImpl implements BusinessPolicyCommand
Default implementation for a Business Policy Task Command.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description BusinessPolicyCommandImpl()
Constructor for BusinessPolicyCommandImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description 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.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
Methods inherited from class com.ibm.websphere.command.CacheableCommandImpl
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
-
Methods inherited from class com.ibm.websphere.command.TargetableCommandImpl
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.ibm.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
-
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
-
-
-
Constructor Detail
-
BusinessPolicyCommandImpl
public BusinessPolicyCommandImpl()
Constructor for BusinessPolicyCommandImpl.
-
-
Method Detail
-
getPolicyId
public java.lang.Long getPolicyId()
Gets the policy id.- Specified by:
getPolicyId
in interfaceBusinessPolicyCommand
- Returns:
- business policy ID
-
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 interfaceBusinessPolicyCommand
- Returns:
- request Properties
-
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 interfaceBusinessPolicyCommand
- Parameters:
newPolicyId
- business policy ID
-
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 interfaceBusinessPolicyCommand
- Parameters:
aRrequestProperties
- com.ibm.commerce.datatype.TypedProperty
-
-