com.ibm.commerce.negotiation.commands
Class AutoBidUpdateFormCmdImpl

com.ibm.commerce.negotiation.commands.AutoBidUpdateFormCmdImpl
All Implemented Interfaces:
AccCommand, AutoBidUpdateFormCmd, BidUpdateFormCmd, ControllerCommand, ECCommand, Protectable

public class AutoBidUpdateFormCmdImpl
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.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String EC_AUTOBID_FORM_UPDATE_ERROR_VIEW_CMD
           
 
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 interface com.ibm.commerce.command.ControllerCommand
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, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

EC_AUTOBID_FORM_UPDATE_ERROR_VIEW_CMD

public static final java.lang.String EC_AUTOBID_FORM_UPDATE_ERROR_VIEW_CMD
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
Returns:
Object[] - an array of protectable resources

performExecute

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

setRequestProperties

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