com.ibm.commerce.negotiation.commands
Class DeleteAuctionTaskCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.negotiation.commands.DeleteAuctionTaskCmdImpl
- All Implemented Interfaces:
- DeleteAuctionTaskCmd, ECCommand, TaskCommand
- public class DeleteAuctionTaskCmdImpl
- extends TaskCommandImpl
- implements DeleteAuctionTaskCmd
Delete Auction Command. This command retracts auctions.
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
DeleteAuctionTaskCmdImpl
public DeleteAuctionTaskCmdImpl()
- DeleteAuctionCmdImpl constructor comment.
getAuctionIdList
public java.util.Vector getAuctionIdList()
- Returns the list of auction identifiers.
- Returns:
- The list of auction identifiers.
getErrorContent
public java.util.Hashtable getErrorContent()
- Returns a hashtable of error codes.
- Specified by:
getErrorContent
in interface DeleteAuctionTaskCmd
- Returns:
- The hashtable of error codes.
getFulfillmentCenterId
public java.lang.Integer getFulfillmentCenterId()
- Gets the fullfillment center identifier.
- Returns:
- The fullfillment center identifier.
inventoryUpdate
protected boolean inventoryUpdate(AuctionAccessBean abean,
java.lang.Double qua)
throws ECException
- Check inventory update or not.
- Parameters:
abean
- AuctionAccessBean.qua
- The quantity.- Throws:
ECException
- if any problems are encountered.
isReadyToCallExecute
public boolean isReadyToCallExecute()
- Determine if the command can be executed.
- Overrides:
isReadyToCallExecute
in class AbstractECCommand
- Returns:
- true if the command can be executed, false otherwise.
performExecute
public void performExecute()
throws ECException
- Implementation for DeleteAuctionCmd.
It will update the product for auction and pay back money if necessary,
then auction is retracted.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECCommand
- Throws:
ECException
- if any problems are encountered.
setAuctionIdList
public void setAuctionIdList(java.util.Vector newAuctionIdList)
- Stores the incoming list of auction identifiers.
- Specified by:
setAuctionIdList
in interface DeleteAuctionTaskCmd
- Parameters:
newAuctionIdList
- The list of auction identifiers.
setErrorContent
public void setErrorContent(java.util.Hashtable newErrorContent)
- Stores the incoming hashtable containing error codes.
- Parameters:
newErrorContent
- The hashtable containing error codes.