public class CheckBidControlCmdImpl extends TaskCommandImpl implements CheckBidControlCmd, com.ibm.commerce.negotiation.util.AuctionConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
CheckBidControlCmdImpl()
CheckBidControlCmdImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getBidQuantity()
Gets the bid quantity.
|
java.lang.String | getBidValue()
Gets the bid value.
|
java.lang.String | getErrorTaskName()
Gets the error task name; if null, returns the default error task name.
|
java.lang.String | getLowestWinningBid()
Gets the lowest winning bid.
|
boolean | isBidOkay()
Returns the status of bid-control compliance test.
|
boolean | isReadyToCallExecute()
Verifies that the this command is ready to be executed.
|
void | performExecute()
Determines whether the bid complies with the applicable bid control rules.
|
void | setAuction(AuctionAccessBean auction)
Sets the auction access bean.
|
protected void | setBidOkay(boolean newBidOkay)
Sets a flag indicating whether the bid complies with its control rules.
|
void | setBidQuantity(java.lang.String newBidQuantity)
Sets the bid quantity.
|
void | setBidValue(java.lang.String newBidValue)
Sets the bid value.
|
void | setErrorTaskName(java.lang.String newErrorTaskName)
Sets the error task name.
|
void | setLowestWinningBid(java.lang.String newLowestWinningBid)
Sets the lowest winning bid.
|
protected void | validateAuction()
Validates the bid (quantity and value) against the auction specification.
|
void | validateParameters()
Determines whether required parameters have been supplied.
|
public static final java.lang.String COPYRIGHT
public CheckBidControlCmdImpl()
public java.lang.String getBidQuantity()
public java.lang.String getBidValue()
public java.lang.String getErrorTaskName()
public java.lang.String getLowestWinningBid()
public boolean isBidOkay()
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void setAuction(AuctionAccessBean auction)
protected void setBidOkay(boolean newBidOkay)
public void setBidQuantity(java.lang.String newBidQuantity) throws ECApplicationException
public void setBidValue(java.lang.String newBidValue) throws ECApplicationException
public void setErrorTaskName(java.lang.String newErrorTaskName)
public void setLowestWinningBid(java.lang.String newLowestWinningBid)
protected void validateAuction() throws java.lang.Exception
public void validateParameters() throws ECException