public class StartAuctionCmdImpl extends TaskCommandImpl implements StartAuctionCmd
ProductPageRelationAccessBean
AuctionAccessBean
AuctionInfoAccessBean
AuctionLogAccessBean
defaultCommandClassName, NAME
Constructor and Description |
---|
StartAuctionCmdImpl()
StartAuctionCmdImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
fetchBidReferenceCode()
Deprecated.
Bid reference number can be got from auction AccessBean by using method
getAuctionAccessBean() . |
AuctionAccessBean |
getAuctionAccessBean()
Retrieves the access bean corresponding to the auction ID.
|
java.lang.Long |
getAuctionReferenceNumber()
Gets the auction ID.
|
void |
performExecute()
Starts auctions and turns auction status from future into current
|
void |
setAuctionAccessBean(AuctionAccessBean newAuctionAccessBean)
Sets the auction access bean.
|
void |
setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber)
Sets the auction ID.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public StartAuctionCmdImpl()
public java.lang.String fetchBidReferenceCode()
getAuctionAccessBean()
.public AuctionAccessBean getAuctionAccessBean()
public java.lang.Long getAuctionReferenceNumber()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- Raised with message _ERR_BAD_MISSING_CMD_PARAMETER if a parameter is missing,
_ERR_INVALID_AUCTION_STATUS if the auction is not in the future status.public void setAuctionAccessBean(AuctionAccessBean newAuctionAccessBean)
setAuctionAccessBean
in interface StartAuctionCmd
newAuctionAccessBean
- The auction access bean.public void setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber) throws java.lang.NullPointerException, java.lang.NumberFormatException
setAuctionReferenceNumber
in interface StartAuctionCmd
newAuctionReferenceNumber
- The auction ID.java.lang.NullPointerException
- exception.java.lang.NumberFormatException
- exception.