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.


Fields inherited from class com.ibm.commerce.command.BusinessPolicyCommandImpl
policyId, requestProperties
 
Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.returns.commands.CalculateReturnAdjustmentPolicyCmd
COPYRIGHT, defaultCommandClassName, NAME
 
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.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.BusinessPolicyCommand
getPolicyId, getRequestProperties, setPolicyId
 
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
 

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