com.ibm.commerce.negotiation.commands
Class AutoBidsInitTaskCmdImpl
com.ibm.commerce.negotiation.commands.AutoBidsInitTaskCmdImpl
- All Implemented Interfaces:
- AutoBidsInitTaskCmd, ECCommand
- public class AutoBidsInitTaskCmdImpl
- implements AutoBidsInitTaskCmd
This task initializes the active auto bids created for future auctions.
Method Summary |
boolean |
isReadyToCallExecute()
Verifies that the this command is ready to be executed. |
void |
performExecute()
Looks up all Auto Bids previously created for Future auctions, and currently
has a Current status. |
void |
setAuction(AuctionAccessBean auction)
Sets the current auction Id value, |
void |
setErrorTaskName(java.lang.String errorTaskName)
Set error task name that will be returned by the exceptions. |
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 |
COPYRIGHT
public static final java.lang.String COPYRIGHT
EC_AUTOBIDS_INIT_ERROR_VIEW_CMD
public static final java.lang.String EC_AUTOBIDS_INIT_ERROR_VIEW_CMD
AutoBidsInitTaskCmdImpl
public AutoBidsInitTaskCmdImpl()
- ProcessAutoBidsInitCmdImpl default constructor.
isReadyToCallExecute
public boolean isReadyToCallExecute()
- Verifies that the this command is ready to be executed.
- Returns:
- boolean =true if command is ready, otherwise false.
performExecute
public void performExecute()
throws ECException
- Looks up all Auto Bids previously created for Future auctions, and currently
has a Current status. Creates a new Bid for each of these Auto Bids, and builds
the double link association between the Auto Bid and new Bid Ids.
- Specified by:
performExecute
in interface ECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
setAuction
public void setAuction(AuctionAccessBean auction)
- Sets the current auction Id value,
- Specified by:
setAuction
in interface AutoBidsInitTaskCmd
- Parameters:
auction
- AuctionAccessBean - Auction bean
setErrorTaskName
public void setErrorTaskName(java.lang.String errorTaskName)
- Set error task name that will be returned by the exceptions.
- Specified by:
setErrorTaskName
in interface AutoBidsInitTaskCmd
- Parameters:
errorTaskName
- java.lang.String