com.ibm.commerce.negotiation.commands
Interface CheckBidControlCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
CheckBidControlCmdImpl

public interface CheckBidControlCmd
extends TaskCommand

Defines the interface used by task commands that check bids for compliance with auction rules.


Field Summary
static java.lang.String COPYRIGHT
          Copyright statement.
static java.lang.String defaultCommandClassName
          The default implementation class name.
static java.lang.String NAME
          The full class name for this interface file.
 
Method Summary
 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.
 void setAuction(AuctionAccessBean auction)
          Sets the auction access bean.
 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.
 

Field Detail
public static final java.lang.String COPYRIGHT
Copyright statement.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The full class name for this interface file.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class name. This is used if there is no record found in the CMDREG table.
See Also:
Constant Field Values
Method Detail

getBidQuantity

public java.lang.String getBidQuantity()
Gets the bid quantity.
Returns:
The bid quantity.

getBidValue

public java.lang.String getBidValue()
Gets the bid value.
Returns:
The bid value.

getErrorTaskName

public java.lang.String getErrorTaskName()
Gets the error task name; if null, returns the default error task name.
Returns:
The error task name.

getLowestWinningBid

public java.lang.String getLowestWinningBid()
Gets the lowest winning bid.
Returns:
The lowest winning bid.

isBidOkay

public boolean isBidOkay()
Returns the status of bid-control compliance test.
Returns:
true if the bid control compliance test is met, false otherwise.

setAuction

public void setAuction(AuctionAccessBean auction)
                throws ECApplicationException
Sets the auction access bean.
Parameters:
auction - AuctionAcessBean
Throws:
ECApplicationException - if any problems are encountered.

setBidQuantity

public void setBidQuantity(java.lang.String newBidQuantity)
                    throws ECApplicationException
Sets the bid quantity.
Parameters:
newBidQuantity - The bid quantity.
Throws:
ECApplicationException - if any problems are encountered.

setBidValue

public void setBidValue(java.lang.String newBidValue)
                 throws ECApplicationException
Sets the bid value.
Parameters:
newBidValue - The bid value.
Throws:
ECApplicationException - if any problems are encountered.

setErrorTaskName

public void setErrorTaskName(java.lang.String newErrorTaskName)
Sets the error task name.
Parameters:
newErrorTaskName - The error task name.

setLowestWinningBid

public void setLowestWinningBid(java.lang.String newLowestWinningBid)
Sets the lowest winning bid.
Parameters:
newLowestWinningBid - The lowest winning bid.