|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.negotiation.commands.ProcessTaskCmdImpl
Process Task Command implementation.
Field Summary | |
static java.lang.String |
COPYRIGHT
|
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 interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
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
protected 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.com.ibm.commerce.command.CommandException
- - could be one of many diffrenet exceptions:
ECApplicationException. RemoteException, NullPointerException,
CreateException, FinderException, or NamingException.public boolean isReadyToCallExecute()
public void reset()
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
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |