com.ibm.commerce.negotiation.commands
Class MonitorAuctionCmdImpl
java.lang.Object
|
+--CacheableCommandImpl
|
+--com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.ControllerCommandImpl
|
+--com.ibm.commerce.negotiation.commands.MonitorAuctionCmdImpl
- All Implemented Interfaces:
-
AccCommand,
ControllerCommand,
ECCommand,
ECTargetableCommand,
MonitorAuctionCmd
- public class MonitorAuctionCmdImpl
- extends
ControllerCommandImpl
- implements
MonitorAuctionCmd
MonotorAuctionCmd interface implementation which be called once auction is
in current status or future status
- See Also:
- Serialized
Form
Field Summary |
protected
java.util.Hashtable |
auctionsWithAutobid
A hashtable that contains all the auctions having autobids. |
static java.lang.String |
COPYRIGHT
Copyright statement. |
protected
java.util.Hashtable |
lastestBidTimestamps
The lastest bid time for open-cry/sealed bid
auctions. |
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,
setRequestProperties,
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,
isReadyToCallExecute,
reset,
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 |
lastestBidTimestamps
protected java.util.Hashtable lastestBidTimestamps
- The lastest bid time for open-cry/sealed bid auctions.
auctionsWithAutobid
protected java.util.Hashtable auctionsWithAutobid
- A hashtable that contains all the auctions having autobids.
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright statement.
- See Also:
-
Constant Field Values
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
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
-
- Throws:
-
ECException
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