public class CancelPONumberCmdImpl extends TaskCommandImpl implements CancelPONumberCmd
CancelPONumberCmd task command.
defaultCommandClassName, NAME, NOT_PURGE, PURGE| Constructor and Description |
|---|
CancelPONumberCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
OrderAccessBean |
getOrder()
This method returns the order whose relative purchase order number will be canceled.
|
void |
performExecute()
This method executes the business logic of this command implementation.
|
void |
reset()
This method resets the instance variables of the command.
|
void |
setOrder(OrderAccessBean anOrder)
This method sets the order whose relative purchase order number will be canceled.
|
void |
setPurge(java.lang.String sPurge)
This method sets the purge property of the command.
|
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 OrderAccessBean getOrder()
getOrder in interface CancelPONumberCmdpublic void setOrder(OrderAccessBean anOrder)
setOrder in interface CancelPONumberCmdanOrder - An OrderAccessBean that represents the order to set.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic 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 setPurge(java.lang.String sPurge)
setPurge in interface CancelPONumberCmdsPurge - A String indicating if purge is needed. If it's set to "1", it will remove the field BUYERPO_ID from the tables orders for the canceled PO number.
Otherwise, the field BUYERPO_ID for the order is left intact.