public class BidUpdateFormCmdImpl extends ControllerCommandImpl implements BidUpdateFormCmd, 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_UPDATE_ERROR_VIEW_CMD
The default error view for this command.
|
Constructor and Description |
---|
BidUpdateFormCmdImpl()
BidUpdateFormCmdImpl default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Long | getBidId()
Returns the bid ID for which a bid is to be updated.
|
protected java.lang.String | getBidType()
Returns this bid type.
|
protected java.lang.String | getLocalErrorTaskName()
Returns this command's error task name.
|
AccessVector | getResources()
Returns the resources accessed by this command It will return null if no resource if being accessed by this command.
|
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 update task.
|
protected void | saveRequestProp(TypedProperty reqProp)
Saves current request properties
|
protected void | setBidId(java.lang.String bidId)
Sets the bid ID for which a bid is to be updated.
|
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(java.lang.String auctionRefKey)
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_UPDATE_ERROR_VIEW_CMD
public BidUpdateFormCmdImpl()
protected java.lang.Long getBidId()
protected java.lang.String getBidType()
protected java.lang.String getLocalErrorTaskName()
public AccessVector getResources() throws ECException
protected void handleException(java.lang.Exception e) throws ECException
protected boolean isBidderQualified() throws ECException
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
protected void saveRequestProp(TypedProperty reqProp)
protected void setBidId(java.lang.String bidId) 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(java.lang.String auctionRefKey) throws ECException