com.ibm.commerce.negotiation.commands
Class ProcessOpenCryBidsCmdImpl
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.ProcessOpenCryBidsCmdImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, ProcessControllerCmd, ProcessOpenCryBidsCmd, Protectable
- public class ProcessOpenCryBidsCmdImpl
- extends ProcessControllerCmdImpl
- implements ProcessOpenCryBidsCmd
This task retrieves all of the Open Cry active (Current) auctions, and loop through the auctions to process bids submitted for each auction.
- See Also:
- Serialized Form
Method Summary |
protected void |
notifyBidOverride(java.math.BigDecimal oldBestBidVal, java.math.BigDecimal newBestBidVal, java.util.Vector activeBids)
Notifies bidders if their bid has just been overridden by others. |
void |
performExecute()
Retrieve all active Open Cry auctions sorted by earliest book-keeping time first. |
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.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.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright statement.
- See Also:
- Constant Field Values
EC_PROCESS_OPEN_CRY_BIDS_ERROR_VIEW_CMD
public static final java.lang.String EC_PROCESS_OPEN_CRY_BIDS_ERROR_VIEW_CMD
- AutoBidSubmitCmd default Error View
- See Also:
- Constant Field Values
ProcessOpenCryBidsCmdImpl
public ProcessOpenCryBidsCmdImpl()
- ProcessOpenCryBidsCmdImpl default constructor.
notifyBidOverride
protected void notifyBidOverride(java.math.BigDecimal oldBestBidVal,
java.math.BigDecimal newBestBidVal,
java.util.Vector activeBids)
throws java.lang.Exception
- Notifies bidders if their bid has just been overridden by others. A given bid is considered overridden when its price is found below the new best bid price and above (or equal) the old best bid value.
-
- Throws:
- java.lang.Exception - -
performExecute
public void performExecute()
throws ECException
- Retrieve all active Open Cry auctions sorted by earliest book-keeping time first. For each auction: Create a Open Cry Bids runner, and set the auction data handle. Create and start a thread on behalf of the runner.
-
- Specified by:
- performExecute in interface ECCommand
- Overrides:
- performExecute in class AbstractECTargetableCommand
-
- Throws:
- ECException - - Exception during procesing auctions.
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.