public class PaymentConfigurationDeleteCtrlCmdImpl extends ToolsControllerCommandImpl implements PaymentConfigurationDeleteCtrlCmd, ECConstants, ECToolsConstants, com.ibm.commerce.base.helpers.EJBConstants
If the redirect URL is not specified, calls GenericRedirectView upon successful completion, or GenericApplicationError, upon failure.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
PaymentConfigurationDeleteCtrlCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String | getConfigId()
This method returns the payment configuration identifier to delete.
|
java.lang.String | getMethodType()
This method returns the method type, which could be payment or refund.
|
AccessVector | getResources()
This method gets the access vector accessed by this command, which is called by WebSphere Commerce access control framework.
|
protected java.lang.String | getUrl()
This method returns the URL to be redirected to when this job finishes execution.
|
protected void | handleSubmitError(ECException e)
This method constructs and returns the error message.
|
void | performExecute()
This method performs the logic of deleting the payment configuration ,which invokes Payment Rules PaymentConfigurationUtil to perform this action.
|
void | setConfigId(java.lang.String string)
This method sets the payment configuration identifier to delete.
|
void | setMethodType(java.lang.String string)
This method sets the method type, which could be payment or refund.
|
void | setUrl(java.lang.String url)
This method sets the URL to be redirected to at the end of the command.
|
void | validateParameters()
This method validates the parameters passed in.
|
public static final java.lang.String COPYRIGHT
public PaymentConfigurationDeleteCtrlCmdImpl()
public void validateParameters() throws ECException
public AccessVector getResources() throws ECException
public void performExecute() throws ECException
protected void handleSubmitError(ECException e) throws ECApplicationException
public void setUrl(java.lang.String url)
protected java.lang.String getUrl()
public java.lang.String getConfigId()
public void setConfigId(java.lang.String string)
public java.lang.String getMethodType()
public void setMethodType(java.lang.String string)