com.ibm.commerce.fulfillment.commands
Class DeallocateExpectedInventoryCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.fulfillment.commands.DeallocateExpectedInventoryCmdImpl
- All Implemented Interfaces:
- DeallocateExpectedInventoryCmd, ECCommand, TaskCommand
- public class DeallocateExpectedInventoryCmdImpl
- extends TaskCommandImpl
- implements DeallocateExpectedInventoryCmd
Deallocates expected inventory for a particular order item at a particular fulfillment center.
Behaviour
If the order item is currently backordered, the amount backordered is returned back to expected inventory.
The order item is updated to indicate that it is no longer backordered.
Otherwise, the order item is not changed.
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
COPYRIGHT
public static final java.lang.String COPYRIGHT
istrCheckParametersFunc
protected static java.lang.String istrCheckParametersFunc
istrPerformFunc
protected static java.lang.String istrPerformFunc
istrThisClass
protected static java.lang.String istrThisClass
DeallocateExpectedInventoryCmdImpl
public DeallocateExpectedInventoryCmdImpl()
getOrderItem
public OrderItemAccessBean getOrderItem()
- Gets an order item for which expected inventory is to be deallocated.
performExecute
public void performExecute()
throws ECException
- Contains the actual business logic of the command.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
setOrderItem
public void setOrderItem(OrderItemAccessBean newOrderItem)
- Sets an order item for which expected inventory is to be deallocated.
- Specified by:
setOrderItem
in interface DeallocateExpectedInventoryCmd
validateParameters
public void validateParameters()
throws ECException
- Performs server side parameter checking.
- Specified by:
validateParameters
in interface ECCommand
- Overrides:
validateParameters
in class AbstractECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
ECException.
-