|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.command.AbstractECCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.negotiation.commands.SetWinnerCmdImpl
Set winner command implementation.
Fields inherited from class com.ibm.commerce.command.AbstractECCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.negotiation.commands.SetWinnerCmd |
COPYRIGHT, defaultCommandClassName, NAME |
Constructor Summary | |
SetWinnerCmdImpl()
SetWinnerCmdImpl constructor. |
Method Summary | |
AuctionAccessBean |
getAuctionAccessBean()
Gets the auction access bean associated with the current auction reference number. |
java.lang.Long |
getAuctionReferenceNumber()
Mutation method to get auction reference number. |
java.lang.Long |
getItemReferenceNumber()
Mutation method to get item reference number. |
java.util.Vector |
getWinningBids()
Fetches a list of the winning bids. |
void |
performExecute()
Determines the winning bids. |
void |
refundDeposit(java.lang.Long bidId,
java.math.BigDecimal amount)
Refunds the auction deposit for the incoming bid. |
void |
reset()
Method initializes/resets the command. |
void |
setAuctionAccessBean(AuctionAccessBean newAuctionAccessBean)
Mutation method sets the auction access bean. |
void |
setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber)
Mutation method to set auction reference number. |
void |
setItemReferenceNumber(java.lang.Long newItemReferenceNumber)
Mutation method to set item reference number. |
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, 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.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Constructor Detail |
public SetWinnerCmdImpl()
Method Detail |
public AuctionAccessBean getAuctionAccessBean() throws javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.CreateException
javax.ejb.FinderException
- if thrown by the EJB.java.rmi.RemoteException
- if thrown by the EJB.javax.naming.NamingException
- if thrown by the EJB.javax.ejb.CreateException
- if thrown by the EJB.public java.lang.Long getAuctionReferenceNumber()
public java.lang.Long getItemReferenceNumber()
public java.util.Vector getWinningBids()
getWinningBids
in interface SetWinnerCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in class AbstractECCommand
com.ibm.commerce.command.ECCommand
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.public void refundDeposit(java.lang.Long bidId, java.math.BigDecimal amount) throws ECException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException
bidId
- java.lang.Longamount
- java.math.BigDecimalpublic void reset()
reset
in class AbstractECCommand
public void setAuctionAccessBean(AuctionAccessBean newAuctionAccessBean) throws javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.CreateException
setAuctionAccessBean
in interface SetWinnerCmd
newAuctionAccessBean
- com.ibm.commerce.negotiation.objects.AuctionAccessBeanjavax.ejb.FinderException
- if thrown by the EJB.java.rmi.RemoteException
- if thrown by the EJB.javax.naming.NamingException
- if thrown by the EJB.javax.ejb.CreateException
- if thrown by the EJB.public void setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber) throws javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.CreateException
setAuctionReferenceNumber
in interface SetWinnerCmd
newAuctionReferenceNumber
- java.lang.Integerpublic void setItemReferenceNumber(java.lang.Long newItemReferenceNumber)
setItemReferenceNumber
in interface SetWinnerCmd
newItemReferenceNumber
- java.lang.Integer
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |