public class CheckPaymentTCsCmdImpl extends TaskCommandImpl implements CheckPaymentTCsCmd
defaultCommandClassName, NAME
Constructor and Description |
---|
CheckPaymentTCsCmdImpl() |
Modifier and Type | Method and Description |
---|---|
OrderAccessBean |
getOrder()
This method gets the order access bean associated with this command.
|
java.lang.String |
getPONumber()
This method gets the PONumber attribute passed to the command by the caller.
|
void |
performExecute()
This method executes some check (TCs) before payments.
|
void |
reset()
The method resets the instance variables of the command.
|
void |
setOrder(OrderAccessBean bean)
This method sets the order access bean associated with this command.
|
void |
setPONumber(java.lang.String sPONumber)
This method sets the purchase order number.
|
void |
validateParameters()
This method performs server side parameter checking.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, 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
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
public void performExecute() throws ECException
This method executes some check (TCs) before payments. It performs the following:
null
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- in case of a failurepublic OrderAccessBean getOrder()
This method gets the order access bean associated with this command.
OrderAccessBean
that corresponds to the order associated with this
requestpublic void setOrder(OrderAccessBean bean)
setOrder
in interface CheckPaymentTCsCmd
bean
- The OrderAccessBean
that corresponds to the order associated with this
requestpublic void setPONumber(java.lang.String sPONumber)
setPONumber
in interface CheckPaymentTCsCmd
sPONumber
- the purchase order number specified by the buyerpublic java.lang.String getPONumber()
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 validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
- The ECException