java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.negotiation.commands.CheckAutoBidDeleteAuthorizationCmdImpl
Determines if the bidder is allowed to delete the autobid. There could be many reasons to disallowing autobid delete operation:
AutoBidAccessBean
Field Summary | |
---|---|
protected
boolean |
bidderAuthorized The authorization status of the bidder. |
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. CheckAutoBidDeleteAuthorizationCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
CheckAutoBidDeleteAuthorizationCmdImpl() CheckBidDeleteAuthorizationImpl default constructor. |
Method Summary | |
---|---|
java.lang.String |
getAutoBidId() Gets the auto bid identifier. |
boolean |
isBidderAuthorized() Gets the bidder authorized status. |
boolean |
isReadyToCallExecute() Verifies that the this command is ready to be executed. |
void |
performExecute() Determine if current bidder is authorized to Delete the autobid specified by the autobid id. |
void |
setAutoBidId(java.lang.String newAutoBidId) Sets the auto bid identifier. |
protected
void |
setBidderAuthorized(boolean newBidderAuthorized) Sets the bidder authorized status. |
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
protected boolean bidderAuthorized
Constructor Detail |
---|
public CheckAutoBidDeleteAuthorizationCmdImpl()
Method Detail |
---|
public java.lang.String getAutoBidId()
public boolean isBidderAuthorized()
isBidderAuthorized
in interface
CheckAutoBidDeleteAuthorizationCmd
public boolean isReadyToCallExecute()
isReadyToCallExecute
in class
AbstractECTargetableCommand
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
- if any problems are encountered.public void setAutoBidId(java.lang.String newAutoBidId)
setAutoBidId
in interface
CheckAutoBidDeleteAuthorizationCmd
newAutoBidId
- The auto bid identifier.protected void setBidderAuthorized(boolean newBidderAuthorized)
newBidderAuthorized
- The bidder authorized
status.