java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.fulfillment.commands.DeallocateExistingInventoryCmdImpl
The default implementation of the
DeallocateExistingInventory
task command interface.
Refer to the
performExecute
method for a description of its behaviour.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
protected
static java.lang.String |
istrCheckParametersFunc Deprecated. Will be changed to private. |
protected
static java.lang.String |
istrPerformFunc Deprecated. Will be changed to private. |
protected
static java.lang.String |
istrThisClass Deprecated. Will be changed to private. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.fulfillment.commands. DeallocateExistingInventoryCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
DeallocateExistingInventoryCmdImpl() |
Method Summary | |
---|---|
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. |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
protected static java.lang.String istrThisClass
protected static java.lang.String istrPerformFunc
protected static java.lang.String istrCheckParametersFunc
Constructor Detail |
---|
public DeallocateExistingInventoryCmdImpl()
Method Detail |
---|
public OrderItemAccessBean getOrderItem()
setOrderItem
method, or null.
public void performExecute() throws ECException
reverseinventory
database
stored procedure.
performExecute
in interface
ECCommand
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 orderitem was not
set.