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, 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
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- 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 UpdateSpendingLimitCmd
bean
- The OrderAccessBean
that corresponds to the order associated with this
request.public void setPONumber(java.lang.String sPONumber)
setPONumber
in interface UpdateSpendingLimitCmd
sPONumber
- 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.Command
reset
in class AbstractECTargetableCommand
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public boolean isAllowPONumberAsNull()
isAllowPONumberAsNull
in interface UpdateSpendingLimitCmd
public void setAllowPONumberAsNull(boolean bAllowPONumberAsNull)
setAllowPONumberAsNull
in interface UpdateSpendingLimitCmd
bAllowPONumberAsNull
- A boolean indicating if allow purchase order number as Null.