com.ibm.commerce.returns.commands
Class CalculateReturnAdjustmentNonePolicyCmdImpl
java.lang.Object
|
+--CacheableCommandImpl
|
+--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,
CalculateReturnAdjustmentPolicyCmd,
ECCommand,
ECTargetableCommand,
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.
- See Also:
-
Serialized Form
Methods inherited from class
com.ibm.commerce.command.
AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
CalculateReturnAdjustmentNonePolicyCmdImpl
public CalculateReturnAdjustmentNonePolicyCmdImpl()
- CalculateReturnAdjustmentNonePolicyCmdImpl constructor.
getRMAAB
protected RMAAccessBean getRMAAB()
- Get the RMA access bean.
-
- Returns:
- The RMA access bean.
public void performExecute()
throws ECException
- Execute the command.
-
- Specified by:
-
performExecute
in interface
ECCommand
- Overrides:
-
performExecute
in class
AbstractECTargetableCommand
-
-
ECException
reset
public void reset()
- Reset the command.
-
- Overrides:
-
reset
in class
AbstractECTargetableCommand
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
AbstractECTargetableCommand
-
-
ECException