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, 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 OrderAccessBean getOrder()
getOrder
in interface CancelPONumberCmd
public void setOrder(OrderAccessBean anOrder)
setOrder
in interface CancelPONumberCmd
anOrder
- An OrderAccessBean that represents the order to set.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
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 setPurge(java.lang.String sPurge)
setPurge
in interface CancelPONumberCmd
sPurge
- 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.