com.ibm.commerce.order.commands
Class SetOrderPaymentInfoCmdImpl

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.order.commands.SetOrderPaymentInfoCmdImpl
All Implemented Interfaces:
ECCommand, SetOrderPaymentInfoCmd, TaskCommand

public class SetOrderPaymentInfoCmdImpl
extends TaskCommandImpl
implements SetOrderPaymentInfoCmd

Sets the payment information of an order. The payment information is written to the ORDPAYINFO table.


Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.order.commands.SetOrderPaymentInfoCmd
defaultCommandClassName, NAME
 
Constructor Summary
SetOrderPaymentInfoCmdImpl()
           
 
Method Summary
 void performExecute()
          Contains the actual business logic of the command.
 void setOrderId(java.lang.Long anOrderId)
          Sets the order identifier for which payment information is being set.
 void setOrderPaymentInfo(java.util.Hashtable ahshOrderPaymentInfo)
          Sets the payment information name-value pairs.
 void validateParameters()
          Performs server side parameter checking.
 
Methods inherited from class com.ibm.commerce.command.AbstractECCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, 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
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Constructor Detail

SetOrderPaymentInfoCmdImpl

public SetOrderPaymentInfoCmdImpl()
Method Detail

performExecute

public void performExecute()
                    throws ECException
Contains the actual business logic of 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.

setOrderId

public void setOrderId(java.lang.Long anOrderId)
Sets the order identifier for which payment information is being set.
Specified by:
setOrderId in interface SetOrderPaymentInfoCmd

setOrderPaymentInfo

public void setOrderPaymentInfo(java.util.Hashtable ahshOrderPaymentInfo)
Sets the payment information name-value pairs.
Specified by:
setOrderPaymentInfo in interface SetOrderPaymentInfoCmd

validateParameters

public void validateParameters()
                        throws ECException
Performs server side parameter checking.
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
ECException. -