public class EvaluateSingleQuantityOpenCryBidCmdImpl extends TaskCommandImpl implements EvaluateSingleQuantityOpenCryBidCmd, com.ibm.commerce.negotiation.util.AuctionConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
EvaluateSingleQuantityOpenCryBidCmdImpl()
EvaluateSingleQuantityOpenCryBidCmdImpl default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected AutoBidAccessBean | getAutoBid()
Returns the new AutoBid object.
|
protected AutoBidAccessBean | getBestAutoBid()
Returns the best auto bid object of current Auction.
|
protected BidAccessBean | getBestBid()
Returns the best bid object of current Auction.
|
protected BidAccessBean | getBid()
Returns the new bid object.
|
protected java.lang.String | getErrorTaskName()
Returns error task name that will be returned by the exceptions.
|
BidAccessBean | getRecentLostWinningBid()
Returns the bid object that was a winner before this evaluation.
|
BidAccessBean | getWinningBid()
Returns the bid object that results of the evaluation.
|
boolean | isBidEvaluated()
Returns if the new bid has been evaluated.
|
void | performExecute()
Evaluates the 2 Bids, higher one becomes the winner.
|
void | reset()
This resets the output properties to the values they had prior to calling the execute method.
|
void | setAuction(AuctionAccessBean auction)
Sets the current auction ID value,
|
void | setAutoBid(AutoBidAccessBean abAutoBid)
Sets the Best AutoBid object of current Auction.
|
void | setBestAutoBid(AutoBidAccessBean abBestAutoBid)
Sets the best auto bid object of current Auction.
|
void | setBestBid(BidAccessBean abBestBid)
Sets the best bid object of current auction.
|
void | setBid(BidAccessBean abBid)
Sets the new bid object.
|
void | setErrorTaskName(java.lang.String errorTaskName)
Sets error task name that will be returned by the exceptions.
|
protected void | setRecentLostWinningBid(BidAccessBean abRecentLostWinningBid)
Sets the bid object that was a winner before this evaluation.
|
protected void | setWinningBid(BidAccessBean abWinningBid)
Sets the bid object that results of the evaluation.
|
void | validateParameters()
This is where parameter checking is done.
|
public static final java.lang.String COPYRIGHT
public EvaluateSingleQuantityOpenCryBidCmdImpl()
public void setAuction(AuctionAccessBean auction)
protected BidAccessBean getBid()
public void setBid(BidAccessBean abBid)
protected AutoBidAccessBean getAutoBid()
public void setAutoBid(AutoBidAccessBean abAutoBid)
protected BidAccessBean getBestBid()
public void setBestBid(BidAccessBean abBestBid)
protected AutoBidAccessBean getBestAutoBid()
public void setBestAutoBid(AutoBidAccessBean abBestAutoBid)
protected java.lang.String getErrorTaskName()
public void setErrorTaskName(java.lang.String errorTaskName)
public boolean isBidEvaluated()
public BidAccessBean getWinningBid()
protected void setWinningBid(BidAccessBean abWinningBid)
public BidAccessBean getRecentLostWinningBid()
protected void setRecentLostWinningBid(BidAccessBean abRecentLostWinningBid)
public void performExecute() throws ECException
public void reset()
public void validateParameters() throws ECException