java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.negotiation.commands.CheckBidDeleteAuthorizationCmdImpl
Determines if a bidder is allowed to Delete a bid. There are several reasons to disallow bid Delete operation:
BidAccessBean
Field Summary | |
---|---|
protected
boolean |
bidderAuthorized The bidder authorization status. |
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. CheckBidDeleteAuthorizationCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
CheckBidDeleteAuthorizationCmdImpl() CheckBidDeleteAuthorizationImpl default constructor. |
Method Summary | |
---|---|
java.lang.String |
getBidId() Gets the bid identifier field. |
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 bid specified by the bid ID. |
protected
void |
setBidderAuthorized(boolean newBidderAuthorized) Sets the bidder authorized status. |
void |
setBidId(java.lang.String newBidId) Sets the bid identifier field. |
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 CheckBidDeleteAuthorizationCmdImpl()
Method Detail |
---|
public java.lang.String getBidId()
public boolean isBidderAuthorized()
isBidderAuthorized
in interface
CheckBidDeleteAuthorizationCmd
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.protected void setBidderAuthorized(boolean newBidderAuthorized)
newBidderAuthorized
- The bidder's authorization
status.public void setBidId(java.lang.String newBidId)
setBidId
in interface
CheckBidDeleteAuthorizationCmd
newBidId
- The bid identifier.