public class DeallocateExistingInventoryCmdImpl extends TaskCommandImpl implements DeallocateExistingInventoryCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
DeallocateExistingInventoryCmdImpl() |
Modifier and Type | Method and Description |
---|---|
OrderItemAccessBean |
getOrderItem()
Deprecated.
Will be changed to protected.
|
void |
performExecute()
Performs the actual business logic of the command.
|
void |
setOrderItem(OrderItemAccessBean newOrderItem)
Sets the order item for which existing inventory is to be deallocated.
|
void |
validateParameters()
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, reset, 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 static final java.lang.String COPYRIGHT
public OrderItemAccessBean getOrderItem()
setOrderItem
method, or null.
public void performExecute() throws ECException
reverseinventory
database stored procedure.
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void setOrderItem(OrderItemAccessBean newOrderItem)
setOrderItem
in interface DeallocateExistingInventoryCmd
newOrderItem
- the order item for which existing inventory is to be deallocated.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
ECApplicationException
- Thrown with message _ERR_BAD_MISSING_CMD_PARAMETER when the order item
was not set.