com.ibm.commerce.negotiation.commands
Class AutoBidUpdateFormCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.ControllerCommandImpl
                    |
                    +--com.ibm.commerce.negotiation.commands.BidUpdateFormCmdImpl
                          |
                          +--com.ibm.commerce.negotiation.commands.AutoBidUpdateFormCmdImpl
All Implemented Interfaces:
AccCommand, AutoBidUpdateFormCmd, BidUpdateFormCmd, ControllerCommand, ECCommand, ECTargetableCommand

public class AutoBidUpdateFormCmdImpl
extends BidUpdateFormCmdImpl
implements AutoBidUpdateFormCmd

Displays the Auto Bid Update Form page after completing the following tasks:

  1. 1. Generate a bid reference number.
  2. 2. Verify that the user is authorized to participate in the bidding process.
  3. 3. Verify that the user has viewed the Auction rules.
See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright statement.
static java.lang.String EC_AUTOBID_FORM_UPDATE_ERROR_VIEW_CMD
          The error task name.
 
Fields inherited from class com.ibm.commerce.negotiation.commands. BidUpdateFormCmdImpl
EC_BID_FORM_UPDATE_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. AutoBidUpdateFormCmd
defaultCommandClassName, NAME
 
Constructor Summary
AutoBidUpdateFormCmdImpl()
          AutoBidCreateFormImpl constructor.
 
Method Summary
  AccessVector getResources()
          This method returns the resources resources accessed by this command It will return null if no resource if being accessed by this command.
 void performExecute()
          Executes auto bid form update task.
 void setRequestProperties( TypedProperty requestParam)
          Saves the Mandatory and optional command parameter values.
 
Methods inherited from class com.ibm.commerce.negotiation.commands. BidUpdateFormCmdImpl
getBidId, getBidType, getLocalErrorTaskName, handleException, isBidderQualified, isReadyToCallExecute, saveRequestProp, setBidId, setBidType, setLocalErrorTaskName, validBidderStatus
 
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, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 
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, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 

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

EC_AUTOBID_FORM_UPDATE_ERROR_VIEW_CMD

public static final java.lang.String EC_AUTOBID_FORM_UPDATE_ERROR_VIEW_CMD
The error task name.
See Also:
Constant Field Values
Constructor Detail

AutoBidUpdateFormCmdImpl

public AutoBidUpdateFormCmdImpl()
AutoBidCreateFormImpl constructor.
Method Detail

getResources

public AccessVector getResources()
                          throws ECException
This method returns the resources resources accessed by this command It will return null if no resource if being accessed by this command.
Specified by:
getResources in interface ECCommand
Overrides:
getResources in class BidUpdateFormCmdImpl
Returns:
Object[] - an array of protectable resources
Throws:
ECException - is raised with message ERR_INVALID_BID_REF_NUM if the bid reference number is not valid.

performExecute

public void performExecute()
                    throws ECException
Executes auto bid form update task.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class BidUpdateFormCmdImpl
Throws:
ECException - -

setRequestProperties

public void setRequestProperties(TypedProperty requestParam)
                          throws ECApplicationException
Saves the Mandatory and optional command parameter values.
Specified by:
setRequestProperties in interface ControllerCommand
Overrides:
setRequestProperties in class BidUpdateFormCmdImpl
Parameters:
requestParam - TypedProperty - Request parameters table.
Throws:
ECApplicationException: - An exception is returned if the mandatory parameter (bid id) is missing, or invalid
ECApplicationException