com.ibm.commerce.negotiation.commands
Class NotifyCloseAuctionCmdImpl
com.ibm.commerce.negotiation.commands.NotifyAuctionBaseCmdImpl
|
+--com.ibm.commerce.negotiation.commands.NotifyCloseAuctionCmdImpl
- All Implemented Interfaces:
- ECCommand, NotifyAuctionBaseCmd, NotifyCloseAuctionCmd, TaskCommand
- public class NotifyCloseAuctionCmdImpl
- extends NotifyAuctionBaseCmdImpl
- implements NotifyCloseAuctionCmd
Default implementation of NotifyCloseAuctionCmd.
Notify the winners by creating new messages in their message box.
Method Summary |
java.util.Vector |
getBids()
Get a vector of bids for which we need to
generate messages. |
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 |
setBids(java.util.Vector newBids)
|
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 |
NotifyCloseAuctionCmdImpl
public NotifyCloseAuctionCmdImpl()
- NotifyCloseAuctionCmdImpl default constructor.
getBids
public java.util.Vector getBids()
- Get a vector of bids for which we need to
generate messages.
- Parameters:
newBids
- java.util.Vector
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.
setBids
public void setBids(java.util.Vector newBids)
- Specified by:
setBids
in interface NotifyCloseAuctionCmd