public class CheckOrderCmdImpl extends TaskCommandImpl implements CheckOrderCmd
If the order has an OrdPayMthd entry, the command throws an ECApplicationException with the error code CheckOrderCmd.ERR_CODE_RESUBMIT_NOT_ALLOWED indicating that the order has already been processed. The error view specified in CheckOrderCmd.ERRTASK_NAME is used to display an error page to the shopper.
This command uses the following AccessBeans:
This command does not call other TaskCommand.
Constructor and Description |
---|
CheckOrderCmdImpl()
Deprecated.
CheckOrderCmdImpl default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Long | getOrderId()
Deprecated.
Gets the orderId property of the command.
|
boolean | isReadyToCallExecute()
Deprecated.
This method is called by the Command Framework to check if all basic mandatory parameters have been set for this command.
|
void | performExecute()
Deprecated.
Performs the main business logic of the command.
|
void | reset()
Deprecated.
Resets the instance variables of the command.
|
void | setOrderId(java.lang.Long orderId)
Deprecated.
Sets the orderId property of the command.
|
public CheckOrderCmdImpl()
protected java.lang.Long getOrderId()
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void reset()
This is useful if the command instance is to be called multiple times with different command parameters.
public void setOrderId(java.lang.Long orderId)