java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.negotiation.commands.CloseAuctionCmdImpl
Implementation of CloseAuctionCmd which set auction status into Bidding Close
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT Copyright statement. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.negotiation.commands. CloseAuctionCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
CloseAuctionCmdImpl() CloseAuctionCmdImpl default constructor. |
Method Summary | |
---|---|
com.ibm.commerce.negotiation.objects.AuctionAccessBean |
getAuctionAccessBean() Gets the auction access bean. |
java.lang.Long |
getAuctionReferenceNumber() Returns the reference number of the auction. |
java.util.Vector |
getWinningBids() Gets the winning bids vector after set winners. |
protected
void |
inventoryPutBack(AuctionAccessBean aBean) Once auction closed, put remaining quantity back to inventory. |
void |
performExecute() performExecute method comment. |
void |
reset() reset method comment. |
void |
setAuctionAccessBean(com.ibm.commerce.negotiation.objects.AuctionAccessBean newAuctionAccessBean) |
void |
setAuctionReferenceNumber(java.lang.Long s) Stores the incoming auction reference number. |
void |
setWinningBids(java.util.Vector v) Set the winning bids. |
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,
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.negotiation.commands. CloseAuctionCmd |
setAuctionAccessBean |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public CloseAuctionCmdImpl()
Method Detail |
---|
public com.ibm.commerce.negotiation.objects.AuctionAccessBean getAuctionAccessBean() throws FinderException, java.rmi.RemoteException, javax.naming.NamingException, CreateException
FinderException
java.rmi.RemoteException
javax.naming.NamingException
CreateException
public java.lang.Long getAuctionReferenceNumber()
public java.util.Vector getWinningBids()
getWinningBids
in interface
CloseAuctionCmd
protected void inventoryPutBack(AuctionAccessBean aBean) throws ECException, CreateException, javax.naming.NamingException, FinderException, java.rmi.RemoteException
aBean
- The auction access bean.ECException
CreateException
javax.naming.NamingException
FinderException
java.rmi.RemoteException
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void reset()
reset
in class
AbstractECTargetableCommand
public void setAuctionAccessBean(com.ibm.commerce.negotiation.objects.AuctionAccessBean newAuctionAccessBean) throws FinderException, java.rmi.RemoteException, javax.naming.NamingException, CreateException
newAuctionAccessBean
-
com.ibm.commerce.negotiation.objects.AuctionAccessBeanFinderException
NamingException,
java.rmi.RemoteException
CreateException
javax.naming.NamingException
public void setAuctionReferenceNumber(java.lang.Long s)
setAuctionReferenceNumber
in interface
CloseAuctionCmd
s
- The auction reference number.public void setWinningBids(java.util.Vector v)
v
- The vector contains the winning bids in the form of
BidAccessBean object.