public class StartAuctionCmdImpl extends TaskCommandImpl implements StartAuctionCmd
ProductPageRelationAccessBeanAuctionAccessBeanAuctionInfoAccessBeanAuctionLogAccessBeandefaultCommandClassName, 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, validateParametersexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic StartAuctionCmdImpl()
public java.lang.String fetchBidReferenceCode()
getAuctionAccessBean().public AuctionAccessBean getAuctionAccessBean()
public java.lang.Long getAuctionReferenceNumber()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException - 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 StartAuctionCmdnewAuctionAccessBean - The auction access bean.public void setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber)
throws java.lang.NullPointerException,
java.lang.NumberFormatException
setAuctionReferenceNumber in interface StartAuctionCmdnewAuctionReferenceNumber - The auction ID.java.lang.NullPointerException - exception.java.lang.NumberFormatException - exception.