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

Field Summary
 
Fields inherited from class com.ibm.commerce.command. BusinessPolicyCommandImpl
policyId, requestProperties
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.returns.commands. CalculateReturnAdjustmentPolicyCmd
COPYRIGHT, defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand
COPYRIGHT
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
CalculateReturnAdjustmentNonePolicyCmdImpl()
          CalculateReturnAdjustmentNonePolicyCmdImpl constructor.
 
Method Summary
protected   RMAAccessBean getRMAAB()
          Get the RMA access bean.
 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, 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
 
Methods inherited from interface com.ibm.commerce.command. BusinessPolicyCommand
getPolicyId, getRequestProperties, setPolicyId
 

Constructor Detail

CalculateReturnAdjustmentNonePolicyCmdImpl

public CalculateReturnAdjustmentNonePolicyCmdImpl()
CalculateReturnAdjustmentNonePolicyCmdImpl constructor.
Method Detail

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 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