public class UpdateSpendingLimitCmdImpl extends TaskCommandImpl implements UpdateSpendingLimitCmd
UpdateSpendingLimitCmd task command.
null .
defaultCommandClassName, NAME| Constructor and Description |
|---|
UpdateSpendingLimitCmdImpl() |
| 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.
|
boolean |
isAllowPONumberAsNull()
This method returns if allow purchase order number as Null.
|
void |
performExecute()
This method executes the business logic of this command implementation.
|
void |
reset()
This method resets the instance variables of the command.
|
void |
setAllowPONumberAsNull(boolean bAllowPONumberAsNull)
This method sets if allow purchase order number as Null.
|
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 extracts and validates the input parameters of this command implementation.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException - This exception is thrown in case of a failure.public OrderAccessBean getOrder()
This method gets the order access bean associated with this command.
OrderAccessBean that corresponds to the order associated with this
request.public void setOrder(OrderAccessBean bean)
setOrder in interface UpdateSpendingLimitCmdbean - The OrderAccessBean that corresponds to the order associated with this
request.public void setPONumber(java.lang.String sPONumber)
setPONumber in interface UpdateSpendingLimitCmdsPONumber - The purchase order number specified by the buyer.public 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.Commandreset in class AbstractECTargetableCommandpublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionpublic boolean isAllowPONumberAsNull()
isAllowPONumberAsNull in interface UpdateSpendingLimitCmdpublic void setAllowPONumberAsNull(boolean bAllowPONumberAsNull)
setAllowPONumberAsNull in interface UpdateSpendingLimitCmdbAllowPONumberAsNull - A boolean indicating if allow purchase order number as Null.