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. Generate a bid reference number.
- 2. Verify that the user is authorized to participate in the bidding process.
- 3. Verify that the user has viewed the Auction rules.
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.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
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
AutoBidUpdateFormCmdImpl
public AutoBidUpdateFormCmdImpl()
- AutoBidCreateFormImpl constructor.
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