com.ibm.commerce.negotiation.commands
Interface CheckBidControlCmd

All Superinterfaces:
ECCommand, 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
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
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.
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName

NAME

public static final java.lang.String NAME
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.