com.ibm.commerce.negotiation.commands
Class ProcessAutoBidsCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.ControllerCommandImpl
                    |
                    +--com.ibm.commerce.negotiation.commands.ProcessControllerCmdImpl
                          |
                          +--com.ibm.commerce.negotiation.commands.ProcessAutoBidsCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, ProcessAutoBidsCmd, ProcessControllerCmd

public class ProcessAutoBidsCmdImpl
extends ProcessControllerCmdImpl
implements ProcessAutoBidsCmd

Process Auto Bids (submitted by users).

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright statement.
static java.lang.String EC_PROCESS_AUTO_BIDS_ERROR_VIEW_CMD
          AutoBidSubmitCmd default Error View
 
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. ProcessAutoBidsCmd
defaultCommandClassName, NAME
 
Constructor Summary
ProcessAutoBidsCmdImpl()
          ProcessOpenCryBidsCmdImpl default constructor.
 
Method Summary
 void performExecute()
          Retrieve all active Open Cry (AutoBid) 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 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, getResources, getStoreId, getUser, getUserId, 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.negotiation.commands. ProcessControllerCmd
getAllExceptions, setErrorTaskName
 
Methods inherited from interface com.ibm.commerce.command. ControllerCommand
checkPermission, 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, 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, validateParameters
 

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

EC_PROCESS_AUTO_BIDS_ERROR_VIEW_CMD

public static final java.lang.String EC_PROCESS_AUTO_BIDS_ERROR_VIEW_CMD
AutoBidSubmitCmd default Error View
See Also:
Constant Field Values
Constructor Detail

ProcessAutoBidsCmdImpl

public ProcessAutoBidsCmdImpl()
ProcessOpenCryBidsCmdImpl default constructor.
Method Detail

performExecute

public void performExecute()
                    throws ECException
Retrieve all active Open Cry (AutoBid) auctions sorted by earliest book-keeping time first. For each auction: Create an Open Cry Auto Bids runner, and set the auction data handle, task command name, command context and error task name. Create and start a thread on behalf of the runner. * For special case auction quantity equals to 1, process is skipped, since realtime evaluation has been implemented for it.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException - - Exception during procesing auctions.