public class CalculateBestBidCmdImpl extends TaskCommandImpl implements CalculateBestBidCmd, com.ibm.commerce.negotiation.util.AuctionConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
CalculateBestBidCmdImpl()
CalculateBestBidCmdImpl default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long | getHighestWinningBid()
Gets the highest winning bid ID for the specified auction.
|
java.lang.Long | getLowestWinningBid()
Gets the lowest winning bid (also known as Best Bid) ID for the specified auction
|
protected void | handleException(java.lang.Exception e)
Formats an ECException based on the input exception value.
|
boolean | isReadyToCallExecute()
Verifies that the this command is ready to be executed.
|
void | performExecute()
Determines the current highest and lowest winning bids for the specified auction.
|
void | reset()
Resets this command to allow for future reuse.
|
void | setActiveBids(java.util.Vector bids)
Sets the list of active bids to be processed.
|
void | setAuctionId(java.lang.Long id)
Sets the current auction ID value,
|
void | setErrorTaskName(java.lang.String errorTaskName)
Sets error task name that will be returned by the exceptions.
|
void | setQuantityOnAuction(java.lang.Double quantity)
Sets the quantity available for auction.
|
public static final java.lang.String COPYRIGHT
public CalculateBestBidCmdImpl()
public java.lang.Long getHighestWinningBid()
public java.lang.Long getLowestWinningBid()
protected void handleException(java.lang.Exception e) throws ECException
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void reset()
public void setActiveBids(java.util.Vector bids)
public void setAuctionId(java.lang.Long id)
public void setErrorTaskName(java.lang.String errorTaskName)
public void setQuantityOnAuction(java.lang.Double quantity)