com.ibm.commerce.order.commands
Class GetOrderPaymentInfoCmdImpl

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

public class GetOrderPaymentInfoCmdImpl
extends TaskCommandImpl
implements GetOrderPaymentInfoCmd

Default implementation of the GetOrderPaymentInfoCmd task command interface. This command uses the following AccessBean(s):

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          IBM Copyright notice field.
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.order.commands. GetOrderPaymentInfoCmd
defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
GetOrderPaymentInfoCmdImpl()
          The default constructor.
 
Method Summary
  TypedProperty getOrderPaymentInfo()
          Gets the payment information of the Order.
 void performExecute()
          Executes the main business logic of the command.
 void setOrderId(java.lang.Long anOrderId)
          Sets the Order identifier.
 
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, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM Copyright notice field.
See Also:
Constant Field Values
Constructor Detail

GetOrderPaymentInfoCmdImpl

public GetOrderPaymentInfoCmdImpl()
The default constructor.
Method Detail

getOrderPaymentInfo

public TypedProperty getOrderPaymentInfo()
Gets the payment information of the Order.
Specified by:
getOrderPaymentInfo in interface GetOrderPaymentInfoCmd
Returns:
TypedProperty.
  • Key: payment information name (String).
  • Value: payment information values (String[] ) .

performExecute

public void performExecute()
                    throws ECException
Executes the main business logic of the command.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException

setOrderId

public void setOrderId(java.lang.Long anOrderId)
Sets the Order identifier.
Specified by:
setOrderId in interface GetOrderPaymentInfoCmd
Parameters:
anOrderId - the Order identifier.