com.ibm.commerce.negotiation.commands
Class StartAuctionCmdImpl

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.negotiation.commands.StartAuctionCmdImpl
All Implemented Interfaces:
ECCommand, StartAuctionCmd, TaskCommand

public class StartAuctionCmdImpl
extends TaskCommandImpl
implements StartAuctionCmd

Implementation for StartAuctionCmd interface It will turn auction status from future into current


Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.negotiation.commands.StartAuctionCmd
COPYRIGHT, defaultCommandClassName, NAME
 
Constructor Summary
StartAuctionCmdImpl()
          StartAuctionCmdImplNew constructor comment.
 
Method Summary
 java.lang.String fetchBidReferenceCode()
          To get Bid reference number
 AuctionAccessBean getAuctionAccessBean()
          Retrieves the access bean corresponding to the auction reference number.
 java.lang.Long getAuctionReferenceNumber()
          Mutation method to get auction reference number
 void performExecute()
          Start auctions and turn auction status from future into current
 void setAuctionAccessBean(AuctionAccessBean newAuctionAccessBean)
          Abstract methoid for setting auction reference number
 void setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber)
          Mutation method to set auction 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, reset, 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

StartAuctionCmdImpl

public StartAuctionCmdImpl()
StartAuctionCmdImplNew constructor comment.
Method Detail

fetchBidReferenceCode

public java.lang.String fetchBidReferenceCode()
To get Bid reference number
Returns:
java.lang.String

getAuctionAccessBean

public AuctionAccessBean getAuctionAccessBean()
                                       throws javax.ejb.FinderException,
                                              java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.naming.NamingException
Retrieves the access bean corresponding to the auction reference number.
Parameters:
newAuctionAccessBean - com.ibm.commerce.negotiation.objects.AuctionAccessBean

getAuctionReferenceNumber

public java.lang.Long getAuctionReferenceNumber()
                                         throws javax.ejb.FinderException,
                                                java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.naming.NamingException
Mutation method to get auction reference number
Returns:
java.lang.String

performExecute

public void performExecute()
                    throws ECException
Start auctions and turn auction status from future into current
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
com.ibm.commerce.command.CommandException - The superclass for all ECExceptions.

setAuctionAccessBean

public void setAuctionAccessBean(AuctionAccessBean newAuctionAccessBean)
Description copied from interface: StartAuctionCmd
Abstract methoid for setting auction reference number
Specified by:
setAuctionAccessBean in interface StartAuctionCmd

setAuctionReferenceNumber

public void setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber)
                               throws java.lang.NullPointerException,
                                      java.lang.NumberFormatException
Mutation method to set auction reference number
Specified by:
setAuctionReferenceNumber in interface StartAuctionCmd
Parameters:
newAuctionReferenceNumber - java.lang.String