java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.negotiation.commands.SetWinnerCmdImpl
Set winner command implementation. This command calls the following TaskCommands:
Field Summary |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.negotiation.commands.SetWinnerCmd |
defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
SetWinnerCmdImpl() SetWinnerCmdImpl constructor. |
Method Summary | |
AuctionAccessBean | getAuctionAccessBean() Gets the auction access bean associated with the current auction reference number. |
java.lang.Long | getAuctionReferenceNumber() Gets auction ID. |
java.lang.Long | getItemReferenceNumber() Gets the item reference number. |
java.util.Vector | getWinningBids() Fetches a list of the winning bids. |
void | performExecute() Determines the winning bids. |
void | refundDeposit(java.lang.Long bidId, java.math.BigDecimal amount) Refunds the auction deposit for the incoming bid. |
void | reset() Method initializes/resets the command. |
void | setAuctionAccessBean(AuctionAccessBean newAuctionAccessBean) Sets the auction access bean. |
void | setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber) Sets the auction ID. |
void | setItemReferenceNumber(java.lang.Long newItemReferenceNumber) Sets the item reference number. |
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, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SetWinnerCmdImpl()
Method Detail |
public AuctionAccessBean getAuctionAccessBean() throws FinderException, java.rmi.RemoteException, javax.naming.NamingException, CreateException
public java.lang.Long getAuctionReferenceNumber()
public java.lang.Long getItemReferenceNumber()
public java.util.Vector getWinningBids()
public void performExecute() throws ECException
public void refundDeposit(java.lang.Long bidId, java.math.BigDecimal amount) throws ECException, java.rmi.RemoteException, FinderException, javax.naming.NamingException, CreateException
public void reset()
public void setAuctionAccessBean(AuctionAccessBean newAuctionAccessBean) throws FinderException, java.rmi.RemoteException, javax.naming.NamingException, CreateException
public void setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber) throws FinderException, java.rmi.RemoteException, javax.naming.NamingException, CreateException
public void setItemReferenceNumber(java.lang.Long newItemReferenceNumber)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.