java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.negotiation.commands.BidSubmitCmdImpl
com.ibm.commerce.negotiation.commands.AutoBidSubmitCmdImpl
Auto Bid Submit Command Implementation.
Field Summary | |
static java.lang.String | COPYRIGHT Copyright statement. |
static java.lang.String | EC_AUTOBID_SUBMIT_ERROR_VIEW_CMD AutoBidSubmitCmd default Error View |
Fields inherited from class com.ibm.commerce.negotiation.commands.BidSubmitCmdImpl |
EC_BID_EVALUATED, EC_BID_SUBMIT_ERROR_VIEW_CMD |
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl |
requestProperties, responseProperties, retriable, viewReqProperties |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.negotiation.commands.AutoBidSubmitCmd |
defaultCommandClassName, NAME |
Constructor Summary | |
AutoBidSubmitCmdImpl() AutoBidSubmitCmdImpl default constructor. |
Method Summary | |
protected AutoBidAccessBean | getAutoBid() Returns the new AutoBid object. |
protected java.math.BigDecimal | getAutoBidUpperLimit() Returns the auto bid upper limit value |
protected java.lang.String | getEvaluateType() Returns the evaluate type |
boolean | isReadyToCallExecute() Verifies that the this command is ready to be executed. |
void | performExecute() Executes the auto bid submit task. |
void | reset() This resets the output properties to the values they had prior to calling the execute method, so that the get methods no longer work but the isReadyToCallExecute returns true. |
protected void | setAutoBid(AutoBidAccessBean abAutoBid) Sets the Best AutoBid object of current Auction. |
protected void | setAutoBidUpperLimit(java.math.BigDecimal autoBidUpperLimit) Sets the auto bid upper limit value. |
protected void | setEvaluateType(java.lang.String evaluateType) Sets the evaluate type. |
void | setRequestProperties(TypedProperty requestParam) Saves the Mandatory and optional command parameter values. |
void | validateParameters() This is where parameter checking is done. |
protected void | validateUpperLimit(BidAccessBean abBid) Checks the auto bid upper limit value to be higher or equal to the current value for the bid previously generated on behalf of the auto bid. |
protected void | validateUpperLimit(java.lang.Long bidId) Checks the auto bid upper limit value to be higher or equal to the current value for the bid previously generated on behalf of the auto bid. |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.AccCommand |
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String EC_AUTOBID_SUBMIT_ERROR_VIEW_CMD
Constructor Detail |
public AutoBidSubmitCmdImpl()
Method Detail |
protected AutoBidAccessBean getAutoBid()
protected void setAutoBid(AutoBidAccessBean abAutoBid)
protected java.math.BigDecimal getAutoBidUpperLimit()
protected void setAutoBidUpperLimit(java.math.BigDecimal autoBidUpperLimit)
protected java.lang.String getEvaluateType()
protected void setEvaluateType(java.lang.String evaluateType)
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void setRequestProperties(TypedProperty requestParam) throws ECApplicationException
protected void validateUpperLimit(java.lang.Long bidId) throws ECException
protected void validateUpperLimit(BidAccessBean abBid) throws ECException
public void reset()
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.