java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.negotiation.commands.ProcessTaskCmdImpl
Process Task Command implementation.
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. ProcessTaskCmd |
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
ProcessTaskCmdImpl() |
Method Summary | |
---|---|
java.util.Vector |
getActiveBids() Get the list of active bids for processing. |
protected
AuctionAccessBean |
getAuction() Get the current auction Access Bean |
protected
java.lang.Long |
getAuctionId() Get the current auction Id |
protected
java.math.BigDecimal |
getDefaultBestBidValue() Get the defualt best bid value. |
protected
int |
getDefaultBidCount() Get the default number of bids to be retrieved. |
protected
java.lang.String |
getErrorTaskName() returns error task name that will be returned by the exceptions. |
protected
void |
handleException(java.lang.Exception e) Formats an ECException based on the input exception value. |
boolean |
isReadyToCallExecute() Verifies that the this command is ready to be executed. |
void |
reset() Resets this command to allow for future reuse. |
protected
void |
setActiveBids(java.util.Vector bids) Sets the list of active bids to be processed. |
void |
setDataHandle(java.lang.Object handle) Set the handle for the data. |
void |
setErrorTaskName(java.lang.String errorTaskName) Set error task name that will be returned by the exceptions. |
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,
performExecute,
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 ProcessTaskCmdImpl()
Method Detail |
---|
public java.util.Vector getActiveBids()
protected AuctionAccessBean getAuction() throws ECException
ECException
- - Error looking up auctionprotected java.lang.Long getAuctionId()
protected java.math.BigDecimal getDefaultBestBidValue()
protected int getDefaultBidCount()
protected java.lang.String getErrorTaskName()
protected void handleException(java.lang.Exception e) throws ECException
e
- Exception - The exception instance to be formatted.CommandException
- - could be one of many diffrenet
exceptions: ECApplicationException. RemoteException, NullPointerException,
CreateException, FinderException, or NamingException.ECException
public boolean isReadyToCallExecute()
isReadyToCallExecute
in class
AbstractECTargetableCommand
public void reset()
reset
in class
AbstractECTargetableCommand
protected void setActiveBids(java.util.Vector bids)
bids
- Vector - Active bids listpublic void setDataHandle(java.lang.Object handle)
setDataHandle
in interface
ProcessTaskCmd
handle
- Object - A handle to the auction data to be
processed.public void setErrorTaskName(java.lang.String errorTaskName)
setErrorTaskName
in interface
ProcessTaskCmd
errorTaskName
- java.lang.String