QueryPaymentsInfoPolicyCmdImpl
.public class GetPaymentInfoCmdImpl extends ControllerCommandImpl implements GetPaymentInfoCmd
GetPaymentInfoCmd
controller command.
Name | Description |
---|---|
langId |
Sets or resets the preferred language for the duration of the session; the supported languages for a store are found in the STORELANG table storeId. |
storeId |
The reference number of the store associated with this command. |
orderId |
(Required) The reference number of the order about which payment information is being requested . |
URL |
(Required) The URL to be called when the command completes successfully. |
defaultCommandClassName, NAME
Constructor and Description |
---|
GetPaymentInfoCmdImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AccessVector |
getResources()
Deprecated.
This method returns the resources accessed by this command.
|
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.
This method executes the business logic of this command implementation.
|
void |
reset()
Deprecated.
This method resets the instance variables of the command.
|
void |
setOrderId(java.lang.Long orderId)
Deprecated.
This method sets the orderId property of the command.
|
void |
setUrl(java.lang.String astrUrl)
Deprecated.
This method sets the URL property of the command.
|
void |
validateParameters()
Deprecated.
This method extracts and validates the input parameters of this command implementation.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRequestProperties, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
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
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException.
ECException
public void reset()
This is useful if the command instance is to be called multiple times with different command parameters.
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setOrderId(java.lang.Long orderId)
setOrderId
in interface GetPaymentInfoCmd
orderId
- A Long that specifies the order reference number of the Order for which the
payment information is to be obtained.public void setUrl(java.lang.String astrUrl)
setUrl
in interface GetPaymentInfoCmd
astrUrl
- A String that specifies the URL to redirect to after the command completes its
processing. The payment information is to be appended to this URL
as additional name-value pairs in the query string.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException.
ECException