com.ibm.commerce.order.commands
Class GetOrderPaymentInfoCmdImpl

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

public class GetOrderPaymentInfoCmdImpl
extends TaskCommandImpl
implements GetOrderPaymentInfoCmd

This is the default implementation of the GetOrderPaymentInfoCmd task command. The payment info is read from 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.GetOrderPaymentInfoCmd
defaultCommandClassName, NAME
 
Constructor Summary
GetOrderPaymentInfoCmdImpl()
           
 
Method Summary
 TypedProperty getOrderPaymentInfo()
          The payment info of the order, as a set of NVPs.
 void performExecute()
          Contains the actual business logic of the command It should be implemented by all the command writer.
 void setOrderId(java.lang.Long anOrderId)
          Set the order reference number.
 
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, validateParameters
 
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, validateParameters
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Constructor Detail

GetOrderPaymentInfoCmdImpl

public GetOrderPaymentInfoCmdImpl()
Method Detail

getOrderPaymentInfo

public TypedProperty getOrderPaymentInfo()
Description copied from interface: GetOrderPaymentInfoCmd
The payment info of the order, as a set of NVPs.
Specified by:
getOrderPaymentInfo in interface GetOrderPaymentInfoCmd

performExecute

public void performExecute()
                    throws ECException
Description copied from interface: ECCommand
Contains the actual business logic of the command It should be implemented by all the command writer.
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)
Description copied from interface: GetOrderPaymentInfoCmd
Set the order reference number.
Specified by:
setOrderId in interface GetOrderPaymentInfoCmd