public class StorePaymentConfigurationDeleteCtrlCmdImpl extends ToolsControllerCommandImpl implements StorePaymentConfigurationDeleteCtrlCmd, 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 |
---|
StorePaymentConfigurationDeleteCtrlCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String | getMethodType()
This method returns the method type, which could be payment or refund.
|
java.lang.String | getPaymentMethodName()
This method returns the payment method name in the current payment configuration.
|
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 association between the specified store with a payment configuration.
|
void | setMethodType(java.lang.String string)
This method sets the method type, which could be payment or refund.
|
void | setPaymentMethodName(java.lang.String string)
This method sets the payment method name in the current payment configuration.
|
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 StorePaymentConfigurationDeleteCtrlCmdImpl()
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 getMethodType()
public void setMethodType(java.lang.String string)
public java.lang.String getPaymentMethodName()
public void setPaymentMethodName(java.lang.String string)