public class DoCancelPMCmdImpl extends BusinessPolicyCommandImpl implements DoCancelPolicyCmd
Only Order that has no payment in the deposited state (or above) can be canceled.
This command uses the following AccessBeans:
This command does not call other TaskCommand.
Constructor and Description |
---|
DoCancelPMCmdImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String | getErrorViewName()
Deprecated.
Returns the name of the error view to use for reporting error.
|
protected OrderAccessBean | getOrder()
Deprecated.
Returns the OrderAccessBean representing the order whose payment is to be canceled.
|
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 | setErrorViewName(java.lang.String sEVN)
Deprecated.
Sets the error view to be used to report error.
|
void | setOrder(OrderAccessBean ab)
Deprecated.
Sets the order property of the command.
|
protected java.lang.String getErrorViewName()
protected OrderAccessBean getOrder()
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 setErrorViewName(java.lang.String sEVN)
public void setOrder(OrderAccessBean ab)