com.ibm.commerce.negotiation.commands
Class DoDepositPaymentCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.TaskCommandImpl
                    |
                    +--com.ibm.commerce.negotiation.commands.RecordAuctionPaymentCmdImpl
                          |
                          +--com.ibm.commerce.negotiation.commands.DoDepositPaymentCmdImpl
All Implemented Interfaces:
DoDepositPaymentCmd, ECCommand, ECTargetableCommand, RecordAuctionPaymentCmd, TaskCommand

public class DoDepositPaymentCmdImpl
extends RecordAuctionPaymentCmdImpl
implements DoDepositPaymentCmd

Records the deposit for a bid

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright statement.
 
Fields inherited from class com.ibm.commerce.negotiation.commands. RecordAuctionPaymentCmdImpl
amount, bankName, bidAccessBean, bidId, bidPaymentId, cardNumber, comment, encryptedPaymentInfo, encryption, expirationDate, payMethod
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.negotiation.commands. DoDepositPaymentCmd
defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
DoDepositPaymentCmdImpl()
          DoDepositPaymentCmdImpl constructor comment.
 
Method Summary
static void handleDeposit(BidAccessBean bid, java.math.BigDecimal amount, boolean refund, CommandContext cmdcontxt)
          Calls the DoDepositPaymentCmd task command to handle auction desposits.
 void performExecute()
          Process deposit.
 
Methods inherited from class com.ibm.commerce.negotiation.commands. RecordAuctionPaymentCmdImpl
getAmount, getBidAccessBean, getBidId, getBidPaymentId, getComment, getEncryptedPaymentInfo, getEncryption, getPaymentType, isReadyToCallExecute, recordPayment, reset, setActionType, setAmount, setBidAccessBean, setBidId, setComment, setEncryptedPaymentInfo, setEncryption, setExpirationDate, setPaymentType, setPayMethod, validateParameters
 
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, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, 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.negotiation.commands. RecordAuctionPaymentCmd
getAmount, getBidId, getBidPaymentId, getComment, getEncryptedPaymentInfo, getEncryption, getPaymentType, setActionType, setAmount, setBidId, setComment, setEncryptedPaymentInfo, setEncryption, setPaymentType
 

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

DoDepositPaymentCmdImpl

public DoDepositPaymentCmdImpl()
DoDepositPaymentCmdImpl constructor comment.
Method Detail

handleDeposit

public static void handleDeposit(BidAccessBean bid,
                                 java.math.BigDecimal amount,
                                 boolean refund,
CommandContext cmdcontxt)
                          throws ECException,
                                 java.rmi.RemoteException,
                                 FinderException,
                                 javax.naming.NamingException,
                                 CreateException
Calls the DoDepositPaymentCmd task command to handle auction desposits.
Parameters:
bid - com.ibm.commerce.negotiation.objects.BidAccessBean
amount - java.math.BigDecimal
refund - boolean
Throws:
java.lang.Exception - The exception description.
java.rmi.RemoteException
FinderException
javax.naming.NamingException
CreateException
ECException

performExecute

public void performExecute()
                    throws ECException
Process deposit.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class RecordAuctionPaymentCmdImpl
Throws:
ECException - This exception is allowed to percolate.