public class SetWinnerCmdImpl extends TaskCommandImpl implements SetWinnerCmd
Constructor and Description |
---|
SetWinnerCmdImpl()
SetWinnerCmdImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public AuctionAccessBean getAuctionAccessBean() throws javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.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, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException
public void reset()
public void setAuctionAccessBean(AuctionAccessBean newAuctionAccessBean) throws javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.CreateException
public void setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber) throws javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.CreateException
public void setItemReferenceNumber(java.lang.Long newItemReferenceNumber)