com.ibm.commerce.returns.commands
Class CalculateReturnAdjustmentNonePolicyCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.command.BusinessPolicyCommandImpl
|
+--com.ibm.commerce.returns.commands.CalculateReturnAdjustmentNonePolicyCmdImpl
- All Implemented Interfaces:
- BusinessPolicyCommand, CalculateReturnAdjustmentPolicyCmd, ECCommand, TaskCommand
- public class CalculateReturnAdjustmentNonePolicyCmdImpl
- extends BusinessPolicyCommandImpl
- implements CalculateReturnAdjustmentPolicyCmd
Calculate the adjustment for a return mechandise authorization (RMA). This implementation does not calculate nor apply any charges.
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
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, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
CalculateReturnAdjustmentNonePolicyCmdImpl
public CalculateReturnAdjustmentNonePolicyCmdImpl()
- CalculateReturnAdjustmentNonePolicyCmdImpl constructor.
getRMAAB
protected RMAAccessBean getRMAAB()
- Get the RMA access bean.
- Returns:
- The RMA access bean.
performExecute
public void performExecute()
throws ECException
- Execute the command.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
reset
public void reset()
- Reset the command.
- Overrides:
reset
in class AbstractECCommand
setRequestProperties
public void setRequestProperties(TypedProperty requestProperties)
- Set the request properties for the policy.
- Specified by:
setRequestProperties
in interface BusinessPolicyCommand
- Overrides:
setRequestProperties
in class BusinessPolicyCommandImpl
- 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 interface CalculateReturnAdjustmentPolicyCmd
- Parameters:
anRMAAB
- The RMA access bean.
validateParameters
public void validateParameters()
throws ECException
- Check mandatory parameters.
- Specified by:
validateParameters
in interface ECCommand
- Overrides:
validateParameters
in class AbstractECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
ECException.
-