public class PaymentConfigurationUpdateCtrlCmdImpl extends ToolsControllerCommandImpl implements PaymentConfigurationUpdateCtrlCmd, 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 |
---|
PaymentConfigurationUpdateCtrlCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String | getAction()
This method returns the action on the payment configuration, which could be "new" or "update".
|
java.lang.String | getConfigId()
This method returns the payment configuration id.
|
java.lang.String | getMethodName()
This method returns the payment/refund method name.
|
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 void | handleSubmitError(ECException e)
This method constructs and returns the error message.
|
void | performExecute()
This method performs the logic of adding/updating the payment configuration ,which invokes Payment Rules PaymentConfigurationUtil to perform this action.
|
void | setAction(java.lang.String string)
This method sets the action on the payment configuration, which could be "new" or "update".
|
void | setConfigId(java.lang.String string)
This method sets the payment configuration id.
|
void | setMethodName(java.lang.String string)
This method sets the payment/refund method name.
|
void | setMethodType(java.lang.String string)
This method sets the method type, which could be payment or refund.
|
void | validateParameters()
This method validates the parameters passed in.
|
public static final java.lang.String COPYRIGHT
public PaymentConfigurationUpdateCtrlCmdImpl()
public void validateParameters() throws ECException
public AccessVector getResources() throws ECException
public void performExecute() throws ECException
protected void handleSubmitError(ECException e) throws ECApplicationException
public java.lang.String getAction()
public java.lang.String getConfigId()
public java.lang.String getMethodName()
public void setAction(java.lang.String string)
public void setConfigId(java.lang.String string)
public void setMethodName(java.lang.String string)
public java.lang.String getMethodType()
public void setMethodType(java.lang.String string)