com.ibm.commerce.negotiation.commands
Class DoDepositPaymentCmdImpl

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

public class DoDepositPaymentCmdImpl
extends RecordAuctionPaymentCmdImpl
implements DoDepositPaymentCmd

Records the deposit for a bid


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.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.negotiation.commands.DoDepositPaymentCmd
COPYRIGHT, defaultCommandClassName, NAME
 
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()
          Contains the actual business logic of the command It should be implemented by all the command writer.
 
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.AbstractECCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, 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.negotiation.commands.RecordAuctionPaymentCmd
getAmount, getBidId, getBidPaymentId, getComment, getEncryptedPaymentInfo, getEncryption, getPaymentType, setActionType, setAmount, setBidId, setComment, setEncryptedPaymentInfo, setEncryption, setPaymentType
 
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

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,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException,
                                 javax.ejb.CreateException
Calls the DoDepositPaymentCmd task command to handle auction desposits.
Parameters:
bid - com.ibm.commerce.negotiation.objects.BidAccessBean
amount - java.math.BigDecimal
refund - boolean
cmdContext - CommandContext
Throws:
java.lang.Exception - The exception description.

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 RecordAuctionPaymentCmdImpl
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
com.ibm.commerce.command.CommandException - The superclass for all ECExceptions.