com.ibm.commerce.returns.commands
Class CalculateReturnAdjustmentNonePolicyCmdImpl
- 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
-
- com.ibm.commerce.returns.commands.CalculateReturnAdjustmentNonePolicyCmdImpl
-
- All Implemented Interfaces:
- BusinessPolicyCommand, com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, CalculateReturnAdjustmentPolicyCmd, 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
public class CalculateReturnAdjustmentNonePolicyCmdImpl extends BusinessPolicyCommandImpl implements CalculateReturnAdjustmentPolicyCmd
Calculate the adjustment for a return merchandise authorization (RMA). This implementation does not calculate nor apply any charges.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.ibm.commerce.returns.commands.CalculateReturnAdjustmentPolicyCmd
COPYRIGHT, defaultCommandClassName, NAME
-
-
Constructor Summary
Constructors Constructor and Description CalculateReturnAdjustmentNonePolicyCmdImpl()
CalculateReturnAdjustmentNonePolicyCmdImpl constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
performExecute()
Execute the command.void
reset()
Reset the command.void
setRequestProperties(TypedProperty requestProperties)
Set the request properties for the policy.void
setRMAAB(RMAAccessBean anRMAAB)
Set the RMA access bean which will have its adjustment updated.void
validateParameters()
Check mandatory parameters.-
Methods inherited from class com.ibm.commerce.command.BusinessPolicyCommandImpl
getPolicyId, getRequestProperties, setPolicyId
-
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, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
-
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.commerce.command.BusinessPolicyCommand
getPolicyId, getRequestProperties, setPolicyId
-
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, 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, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
-
-
-
-
Constructor Detail
-
CalculateReturnAdjustmentNonePolicyCmdImpl
public CalculateReturnAdjustmentNonePolicyCmdImpl()
CalculateReturnAdjustmentNonePolicyCmdImpl constructor.
-
-
Method Detail
-
performExecute
public void performExecute() throws ECException
Execute the command.- Specified by:
performExecute
in interfaceECCommand
- Specified by:
performExecute
in interfacecom.ibm.websphere.command.TargetableCommand
- Overrides:
performExecute
in classAbstractECTargetableCommand
- Throws:
ECException
-
reset
public void reset()
Reset the command.- Specified by:
reset
in interfacecom.ibm.websphere.command.Command
- Overrides:
reset
in classAbstractECTargetableCommand
-
setRequestProperties
public void setRequestProperties(TypedProperty requestProperties)
Set the request properties for the policy.- Specified by:
setRequestProperties
in interfaceBusinessPolicyCommand
- Overrides:
setRequestProperties
in classBusinessPolicyCommandImpl
- Parameters:
requestProperties
- The request properties.
-
setRMAAB
public void setRMAAB(RMAAccessBean anRMAAB)
Set the RMA access bean which will have its adjustment updated.- Specified by:
setRMAAB
in interfaceCalculateReturnAdjustmentPolicyCmd
- Parameters:
anRMAAB
- The RMA access bean.
-
validateParameters
public void validateParameters() throws ECException
Check mandatory parameters.- Specified by:
validateParameters
in interfaceECCommand
- Overrides:
validateParameters
in classAbstractECTargetableCommand
- Throws:
ECException
-
-