com.ibm.commerce.negotiation.commands
Class NotifyBidOverrideCmdImpl
com.ibm.commerce.negotiation.commands.NotifyAuctionBaseCmdImpl
|
+--com.ibm.commerce.negotiation.commands.NotifyBidOverrideCmdImpl
- All Implemented Interfaces:
- ECCommand, NotifyAuctionBaseCmd, NotifyBidOverrideCmd, TaskCommand
- public class NotifyBidOverrideCmdImpl
- extends NotifyAuctionBaseCmdImpl
- implements NotifyBidOverrideCmd
Default implementation of NotifyBidOverrideCmd.
Notify the bidders when their bids were overriden by creating new messages in their message box.
Field Summary |
protected com.ibm.commerce.negotiation.objimpl.BidDataLight |
bidDataLight
|
static java.lang.String |
COPYRIGHT
|
Method Summary |
com.ibm.commerce.negotiation.objimpl.BidDataLight |
getBidDataLight()
Get a BidDataLight instance. |
void |
performExecute()
This method calls Commerce Suite messaging system
to load jsp's and generate a message, then writes
the message into message table, and adds an entry into
msgmemrel table for the corresponding recipients |
void |
reset()
This resets the output properties to the values they had
prior to calling the execute method, so that the get methods
no longer work but the isReadyToCallExecute returns true. |
void |
setBidDataLight(com.ibm.commerce.negotiation.objimpl.BidDataLight newBidDataLight)
Set a BidDataLight instance. |
Methods inherited from class com.ibm.commerce.negotiation.commands.NotifyAuctionBaseCmdImpl |
getAuctionAccessBean, getAuctionReferenceNumber, getDelayDays, getDelayHours, getDelayMins, getPreferredLanguageId, parseDelayString, setAuctionAccessBean, setAuctionReferenceNumber, setDelayDays, setDelayHours, setDelayMins |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
bidDataLight
protected com.ibm.commerce.negotiation.objimpl.BidDataLight bidDataLight
COPYRIGHT
public static final java.lang.String COPYRIGHT
NotifyBidOverrideCmdImpl
public NotifyBidOverrideCmdImpl()
- NotifyBidOverrideCmdImpl default constructor.
getBidDataLight
public com.ibm.commerce.negotiation.objimpl.BidDataLight getBidDataLight()
- Get a BidDataLight instance.
- Returns:
- com.ibm.commerce.negotiation.objimpl.BidDataLight
performExecute
public void performExecute()
throws ECException
- This method calls Commerce Suite messaging system
to load jsp's and generate a message, then writes
the message into message table, and adds an entry into
msgmemrel table for the corresponding recipients
- Specified by:
performExecute
in interface ECCommand
- Throws:
com.ibm.commerce.exception.ECException.
-
reset
public void reset()
- This resets the output properties to the values they had
prior to calling the execute method, so that the get methods
no longer work but the isReadyToCallExecute returns true.
It provides a convenient and efficient way to reuse the same
command instance with changes in some input properties or in
the CommandTarget.
setBidDataLight
public void setBidDataLight(com.ibm.commerce.negotiation.objimpl.BidDataLight newBidDataLight)
- Set a BidDataLight instance.
- Parameters:
newBidDataLight
- com.ibm.commerce.negotiation.objimpl.BidDataLight