public class ValidatePaymentMethodCmdImpl extends TaskCommandImpl implements ValidatePaymentMethodCmd
ValidatePaymentMethodCmd
task command.
The rules are: Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ValidatePaymentMethodCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
This method executes the actual business logic of the command, which
validate the passed payment method for the given order.
|
void |
setErrorViewName(java.lang.String errorViewName)
This method sets the error view name.
|
void |
setOrderId(java.lang.Long orderId)
This method is mandatory, specifying the order on which the payment method
will be validate.
|
void |
setPolicyId(java.lang.Long policyId)
This method is mandatory, specifying the policy ID of the payment method to
be validate.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public void setOrderId(java.lang.Long orderId)
setOrderId
in interface ValidatePaymentMethodCmd
orderId
- public void setPolicyId(java.lang.Long policyId)
setPolicyId
in interface ValidatePaymentMethodCmd
policyId
- public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- if something failspublic void setErrorViewName(java.lang.String errorViewName)
setErrorViewName
in interface ValidatePaymentMethodCmd
errorViewName
-