public class OpenCryBidsTaskCmdImpl extends ProcessTaskCmdImpl implements OpenCryBidsTaskCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
protected java.math.BigDecimal | newBestBidPrice
The best bid price after this task is executed.
|
protected java.math.BigDecimal | oldBestBidPrice
The best bid price before this task is executed.
|
Constructor and Description |
---|
OpenCryBidsTaskCmdImpl()
ProcessDutchBidsCmdImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Vector | calcWinningBidsRange()
Determines the highest and lowest winning bids reference number.
|
java.math.BigDecimal | getNewBestBidPrice()
Returns the best bid price after this task is executed.
|
java.math.BigDecimal | getOldBestBidPrice()
Returns the best bid price before this task is executed.
|
void | performExecute()
Currently, determines highest and lowest (best) winning bids, updates the current auction if necessary, and notifies bidders about any overridden bids.
|
void | reset()
Resets the command's instance variables for the reuse of this command.
|
protected java.math.BigDecimal | retrieveBestBidVal(java.lang.Long bestBidId)
Lookups the bid specified by the bid ID, and return its current prices.
|
protected void | setNewBestBidPrice(java.math.BigDecimal newNewBestBidPrice)
Sets the new best bid price.
|
protected void | setOldBestBidPrice(java.math.BigDecimal newOldBestBidPrice)
Sets old best bid price.
|
public static final java.lang.String COPYRIGHT
protected java.math.BigDecimal oldBestBidPrice
protected java.math.BigDecimal newBestBidPrice
public OpenCryBidsTaskCmdImpl()
protected java.util.Vector calcWinningBidsRange() throws java.lang.Exception
public java.math.BigDecimal getNewBestBidPrice()
public java.math.BigDecimal getOldBestBidPrice()
public void performExecute() throws ECException
public void reset()
protected java.math.BigDecimal retrieveBestBidVal(java.lang.Long bestBidId) throws java.lang.Exception
protected void setNewBestBidPrice(java.math.BigDecimal newNewBestBidPrice)
protected void setOldBestBidPrice(java.math.BigDecimal newOldBestBidPrice)