com.ibm.commerce.inventory.commands
Class GenericInventoryAdjustCmdImpl
java.lang.Object
|
+--CacheableCommandImpl
|
+--com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.inventory.commands.GenericInventoryBaseCmdImpl
|
+--com.ibm.commerce.inventory.commands.GenericInventoryAdjustCmdImpl
- All Implemented Interfaces:
-
ECCommand,
ECTargetableCommand,
GenericInventoryAdjustCmd,
TaskCommand
- public class GenericInventoryAdjustCmdImpl
- extends
GenericInventoryBaseCmdImpl
- implements
GenericInventoryAdjustCmd
This command adjusts(increases/releases) inventory for the specified
product. This command can be used for both ATP and non-ATP stores.
- See Also:
- Serialized
Form
Methods inherited from class
com.ibm.commerce.inventory.commands.
GenericInventoryBaseCmdImpl |
getCatEntryId,
getFulfillmentCenterId,
getItemSpecId,
getQuantity,
getReservationId,
getStore,
isGeneric,
isReadyToCallExecute,
resetParameters,
setCatEntryId,
setFulfillmentCenterId,
setItemSpecId,
setQuantity,
setReservationId,
setStore,
updateInventoryForNonATP |
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,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
GenericInventoryAdjustCmdImpl
public GenericInventoryAdjustCmdImpl()
- Default constructor.
adjustInventoryForATP
protected void adjustInventoryForATP()
throws ECException
- Adjust a reservation's quantity. Positive quantity for increase
reservation, Negative for decrease. Creation date: (9/7/2001 4:42:27 PM)
-
-
ECException
initParameters
public void initParameters()
throws ECSystemException
- Initialize some parameters for the command. Creation date: (9/7/2001
10:38:06 AM)
-
- Overrides:
-
initParameters
in class
GenericInventoryBaseCmdImpl
-
-
ECSystemException
public void performExecute()
throws ECException
- Adjust inventory reservation. When a positive quantity is set that means
increasing reservation. When a negative quantity is set that means releasing
reservation.
-
- Specified by:
-
performExecute
in interface
ECCommand
- Overrides:
-
performExecute
in class
AbstractECTargetableCommand
-
-
ECException
reset
public void reset()
- Reset command's parameter.
-
- Overrides:
-
reset
in class
GenericInventoryBaseCmdImpl
validateParameters
public void validateParameters()
throws ECException
- Validate the command's parameters.
-
- Specified by:
-
validateParameters
in interface
ECCommand
- Overrides:
-
validateParameters
in class
GenericInventoryBaseCmdImpl
-
-
ECException