com.ibm.commerce.payment.commands
Class UpdateTADepositRecordsCmdImpl

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.payment.commands.UpdateTADepositRecordsCmdImpl
All Implemented Interfaces:
ECCommand, TaskCommand, UpdateTADepositRecordsCmd

public class UpdateTADepositRecordsCmdImpl
extends TaskCommandImpl
implements UpdateTADepositRecordsCmd

Default UpdateTADepositRecords task command implementation.


Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.payment.commands.UpdateTADepositRecordsCmd
COPYRIGHT, defaultCommandClassName, ERRTASK_NAME, NAME
 
Constructor Summary
UpdateTADepositRecordsCmdImpl()
           
 
Method Summary
 void performExecute()
          Performs the main business logic of the command.
 void reset()
          This method is called after a command has been executed to reset its states variables.
 void setDepositAmount(java.math.BigDecimal depositAmount)
          Sets the nDepositAmount property of the command.
 void setOrder(OrderAccessBean ab)
          The order to be deposited.
 
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, 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
 

Constructor Detail

UpdateTADepositRecordsCmdImpl

public UpdateTADepositRecordsCmdImpl()
Method Detail

performExecute

public void performExecute()
                    throws ECException
Performs the main 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.

reset

public void reset()
Description copied from class: AbstractECCommand
This method is called after a command has been executed to reset its states variables. After the call to reset, we should be able to execute the command again.
Overrides:
reset in class AbstractECCommand

setDepositAmount

public void setDepositAmount(java.math.BigDecimal depositAmount)
Description copied from interface: UpdateTADepositRecordsCmd
Sets the nDepositAmount property of the command.
Specified by:
setDepositAmount in interface UpdateTADepositRecordsCmd
Following copied from interface: com.ibm.commerce.payment.commands.UpdateTADepositRecordsCmd
Parameters:
nDepositAmount - the amount to be deposited.

setOrder

public void setOrder(OrderAccessBean ab)
The order to be deposited.
Specified by:
setOrder in interface UpdateTADepositRecordsCmd
Following copied from interface: com.ibm.commerce.payment.commands.UpdateTADepositRecordsCmd
Parameters:
abOrder - the OrderAccessBean of the Order.