com.ibm.commerce.negotiation.commands
Class MonitorAuctionCmdImpl
com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.ControllerCommandImpl
|
+--com.ibm.commerce.negotiation.commands.MonitorAuctionCmdImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, MonitorAuctionCmd, Protectable
- public class MonitorAuctionCmdImpl
- extends ControllerCommandImpl
- implements MonitorAuctionCmd
MonotorAuctionCmd interface implementation
which be called once auction is in current status or future status
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRequestProperties, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
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.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
auctionsWithAutobid
protected java.util.Hashtable auctionsWithAutobid
lastestBidTimestamps
protected java.util.Hashtable lastestBidTimestamps
MonitorAuctionCmdImpl
public MonitorAuctionCmdImpl()
- MonitorAuctionCmdImpl constructor comment.
getAuctionsWithAutobid
public java.util.Hashtable getAuctionsWithAutobid()
- Get a hashtable that contains all the auctions having autobids.
- Returns:
- java.util.Hashtable
getLastestBidTimestamps
protected java.util.Hashtable getLastestBidTimestamps()
- Returns a hashtable that has lastest bid time for open-cry/sealed bid auctions.
- Returns:
- java.util.Hashtable
performExecute
public void performExecute()
throws ECException
- Monitors future and current auction. Starts auctions when it is time to start. Closes Auctions when it is time to close.
Invokes StartAuctionCmd.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECTargetableCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
setAuctionsWithAutobid
protected void setAuctionsWithAutobid(java.util.Hashtable newAuctionsWithAutobid)
- Parameters:
newAuctionsWithAutobid
- java.util.Hashtable
setLastestBidTimestamps
protected void setLastestBidTimestamps(java.util.Hashtable newLastestBidTimestamps)
- Parameters:
newLastestBidTimestamps
- java.util.Hashtable