com.ibm.commerce.inventory.commands
Interface GenericInventoryAdjustCmd

All Superinterfaces:
ECCommand, TaskCommand
All Known Implementing Classes:
GenericInventoryAdjustCmdImpl

public interface GenericInventoryAdjustCmd
extends TaskCommand

The purpose of this command is to adjust (release or increase) inventory for a speicifed product. This command can be used for both ATP and non-ATP stores.


Field Summary
static java.lang.String COPYRIGHT
          The internal copyright field.
static java.lang.String defaultCommandClassName
          The default implementation class is "com.ibm.commerce.inventory.commands.GenericInventoryAdjustCmdImpl".
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.inventory.commands.GenericInventoryAdjustCmd".
 
Method Summary
 void setCatEntryId(java.lang.Long param)
          Set the catalog entry Id of the product to reserve.
 void setFulfillmentCenterId(java.lang.Integer ffmcid)
          Set the Fulfill center id.
 void setQuantity(java.lang.Integer argQuantity)
          Set the quantity of the product to adjust.
 void setReservationId(java.lang.Long rid)
          Set the reservation id.
 void setStore(StoreAccessBean param)
          Set the store object in which this reservation is taking place.
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
The internal copyright field.

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class is "com.ibm.commerce.inventory.commands.GenericInventoryAdjustCmdImpl".

NAME

public static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.inventory.commands.GenericInventoryAdjustCmd".
Method Detail

setCatEntryId

public void setCatEntryId(java.lang.Long param)
Set the catalog entry Id of the product to reserve. Creation date: (9/7/2001 9:24:44 AM)
Parameters:
param - java.lang.Long

setFulfillmentCenterId

public void setFulfillmentCenterId(java.lang.Integer ffmcid)
Set the Fulfill center id. Creation date: (4/19/2001 11:59:48 AM)
Parameters:
ffmcid - java.lang.Integer

setQuantity

public void setQuantity(java.lang.Integer argQuantity)
Set the quantity of the product to adjust. Positive number means reserve more inventory. Negative number means release inventory. Creation date: (4/19/2001 11:59:48 AM)
Parameters:
argQuantity - java.lang.Long

setReservationId

public void setReservationId(java.lang.Long rid)
Set the reservation id. Not required for non-ATP store. Creation date: (9/7/2001 9:29:01 AM)
Parameters:
param - java.lang.Long

setStore

public void setStore(StoreAccessBean param)
Set the store object in which this reservation is taking place. Creation date: (9/6/2001 4:05:40 PM)
Parameters:
param - com.ibm.commerce.common.objects.StoreAccessBean