public class BidCreateFormCmdImpl extends ControllerCommandImpl implements BidCreateFormCmd, com.ibm.commerce.negotiation.util.AuctionConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | EC_BID_FORM_CREATE_ERROR_VIEW_CMD
The default error view
|
Constructor and Description |
---|
BidCreateFormCmdImpl()
BidCreateFormImpl default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String | genBidReferenceKey()
Generates and returns a unique bid reference key.
|
protected java.lang.Long | getAuctionReferenceNumber()
Returns the auction reference number for which a bid is to be created.
|
protected java.lang.String | getBidType()
Returns this bid type.
|
protected java.lang.String | getLocalErrorTaskName()
Returns this command's error task name.
|
protected void | handleException(java.lang.Exception e)
Formats an ECException based on the input exception value.
|
protected boolean | isBidderQualified()
Checks if current bidder (user) is qualified to bid on the current auction.
|
boolean | isReadyToCallExecute()
Verifies that the this command is ready to be executed.
|
void | performExecute()
Executes a bid form create task.
|
protected void | setAuctionReferenceNumber(java.lang.String auctionReferenceKey)
Sets the auction reference number for which a bid is to be created.
|
protected void | setBidType(java.lang.String bidType)
Sets this bid type.
|
protected void | setLocalErrorTaskName(java.lang.String errorTaskName)
Sets this command's error task name
|
void | setRequestProperties(TypedProperty requestParam)
Saves the Mandatory and optional command parameter values.
|
protected boolean | validBidderStatus()
Checks that the bidder status is valid for the current auction.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String EC_BID_FORM_CREATE_ERROR_VIEW_CMD
public BidCreateFormCmdImpl()
protected java.lang.String genBidReferenceKey() throws ECException
protected java.lang.Long getAuctionReferenceNumber()
protected java.lang.String getBidType()
protected java.lang.String getLocalErrorTaskName()
protected void handleException(java.lang.Exception e) throws ECException
protected boolean isBidderQualified() throws ECException
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
protected void setAuctionReferenceNumber(java.lang.String auctionReferenceKey) throws InvalidParameterValueException
protected void setBidType(java.lang.String bidType)
protected void setLocalErrorTaskName(java.lang.String errorTaskName)
public void setRequestProperties(TypedProperty requestParam) throws ECApplicationException
protected boolean validBidderStatus() throws ECException