java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.negotiation.commands.DeleteAuctionTaskCmdImpl
Delete Auction Command. This command retracts auctions.
This command calls the following Commands:
CatalogEntryAccessBean
ProductPageRelationAccessBean
AuctionAccessBean
BidAccessBean
AutoBidAccessBean
AutoBidAccessBean
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. DeleteAuctionTaskCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
DeleteAuctionTaskCmdImpl() DeleteAuctionCmdImpl constructor comment. |
Method Summary | |
---|---|
java.util.Vector |
getAuctionIdList() Returns the list of auction identifiers. |
java.util.Hashtable |
getErrorContent() Returns a hashtable of error codes. |
java.lang.Integer |
getFulfillmentCenterId() Gets the fullfillment center identifier. |
protected
boolean |
inventoryUpdate(AuctionAccessBean abean,
java.lang.Double qua) Check inventory update or not. |
boolean |
isReadyToCallExecute() Determine if the command can be executed. |
void |
performExecute() Implementation for DeleteAuctionCmd. |
void |
setAuctionIdList(java.util.Vector newAuctionIdList) Stores the incoming list of auction identifiers. |
void |
setErrorContent(java.util.Hashtable newErrorContent) Stores the incoming hashtable containing error codes. |
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 DeleteAuctionTaskCmdImpl()
Method Detail |
---|
public java.util.Vector getAuctionIdList()
public java.util.Hashtable getErrorContent()
getErrorContent
in interface
DeleteAuctionTaskCmd
public java.lang.Integer getFulfillmentCenterId()
protected boolean inventoryUpdate(AuctionAccessBean abean, java.lang.Double qua) throws ECException
abean
- AuctionAccessBean.qua
- The quantity.ECException
- if any problems are encountered.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 setAuctionIdList(java.util.Vector newAuctionIdList)
setAuctionIdList
in interface
DeleteAuctionTaskCmd
newAuctionIdList
- The list of auction
identifiers.public void setErrorContent(java.util.Hashtable newErrorContent)
newErrorContent
- The hashtable containing error
codes.