com.ibm.commerce.negotiation.commands
Class ProcessDutchBidsCmdImpl

com.ibm.commerce.negotiation.commands.ProcessControllerCmdImpl
  |
  +--com.ibm.commerce.negotiation.commands.ProcessDutchBidsCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ProcessControllerCmd, ProcessDutchBidsCmd, Protectable

public class ProcessDutchBidsCmdImpl
extends ProcessControllerCmdImpl
implements ProcessDutchBidsCmd

This task retrieves all of active (Current ) Dutch auctions, and loop through the auctions to process bids submitted for each auction.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String EC_PROCESS_DUTCH_BIDS_ERROR_VIEW_CMD
           
 
Fields inherited from interface com.ibm.commerce.negotiation.commands.ProcessDutchBidsCmd
defaultCommandClassName, NAME
 
Constructor Summary
ProcessDutchBidsCmdImpl()
          ProcessAuctionsCmdImpl default constructor.
 
Method Summary
 void performExecute()
          Retrieve all active Dutch auctions sorted by earliest book-keeping time first.
 
Methods inherited from class com.ibm.commerce.negotiation.commands.ProcessControllerCmdImpl
dispatchJob, getAllExceptions, getErrorTaskName, handleException, isReadyToCallExecute, reset, retrieveActiveAuctions, setErrorTaskName, setRequestProperties
 
Methods inherited from interface com.ibm.commerce.negotiation.commands.ProcessControllerCmd
getAllExceptions, setErrorTaskName
 
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, 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, getResources, 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_PROCESS_DUTCH_BIDS_ERROR_VIEW_CMD

public static final java.lang.String EC_PROCESS_DUTCH_BIDS_ERROR_VIEW_CMD
Constructor Detail

ProcessDutchBidsCmdImpl

public ProcessDutchBidsCmdImpl()
ProcessAuctionsCmdImpl default constructor.
Method Detail

performExecute

public void performExecute()
                    throws ECException
Retrieve all active Dutch auctions sorted by earliest book-keeping time first. For each auction: Create a Ducth Bids runner, and set the auction data handle. Create and start a thread on behalf of the runner.
Specified by:
performExecute in interface ECCommand
Throws:
ECException - - Exception during procesing auctions.