java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.negotiation.commands.CheckBidderStatusCmdImpl
Checks the bidder status. Currently, we make sure that the the user (shopper) has viewed the auction rules.
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. CheckBidderStatusCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
CheckBidderStatusCmdImpl() CheckBidderStatusImpl constructor. |
Method Summary | |
---|---|
java.lang.Long |
getAuctionReferenceNumber() Returns the auction reference number for which a bidder status is being checked. |
protected
void |
handleException(java.lang.Exception e) Formats an ECException based on the input exception value. |
boolean |
hasSeenAuctionRules() Returns a flag which indicates whether the user has viewed the current auction rules. |
boolean |
isReadyToCallExecute() Verifies that the this command is ready to be executed. |
void |
performExecute() Check if the user has seen the auction rules. |
void |
setAuctionReferenceNumber(java.lang.Long auctionReferenceNumber) Sets the Auction Reference Number. |
void |
setErrorTaskName(java.lang.String errorTaskName) Set error task name that will be returned by the exceptions. |
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,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public CheckBidderStatusCmdImpl()
Method Detail |
---|
public java.lang.Long getAuctionReferenceNumber()
protected void handleException(java.lang.Exception e) throws ECException
e
- Exception - The exception instance to be formatted.ECException
- - could be one of many diffrenet exceptions: ECApplicationException.
RemoteException, CreateException, FinderException, or
NamingException.public boolean hasSeenAuctionRules()
hasSeenAuctionRules
in interface
CheckBidderStatusCmd
public boolean isReadyToCallExecute()
isReadyToCallExecute
in class
AbstractECTargetableCommand
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
CommandException
- - Error retrieving auction-user interaction
info from the base.ECException
public void setAuctionReferenceNumber(java.lang.Long auctionReferenceNumber)
setAuctionReferenceNumber
in interface
CheckBidderStatusCmd
auctionReferenceNumber
- Long - Auction reference
number.public void setErrorTaskName(java.lang.String errorTaskName)
setErrorTaskName
in interface
CheckBidderStatusCmd
errorTaskName
- java.lang.String