com.ibm.commerce.inventory.commands
Interface GenericInventoryReserveCmd

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

public interface GenericInventoryReserveCmd
extends TaskCommand

The purpose of this command is to reserve inventory for a specified 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.GenericInventoryReserveCmdImpl".
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.inventory.commands.GenericInventoryReserveCmd".
 
Method Summary
 java.lang.Integer getFulfillmentCenterId()
          Returns the id of the fulfillment center that the inventory reservation took place.
 java.lang.Long getReservationId()
          Returns the reservation id for ATP enabled stores.
 void setCatEntryId(java.lang.Long param)
          Set the catalog Id of the product to reserve.
 void setDescription(java.lang.String param)
          Set the description for this reservation.
 void setQuantity(java.lang.Integer argQuantity)
          Set the quantity of the product to reserve.
 void setReservationType(java.lang.Long param)
          Set the type of reservation.
 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.GenericInventoryReserveCmdImpl".

NAME

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

getFulfillmentCenterId

public java.lang.Integer getFulfillmentCenterId()
Returns the id of the fulfillment center that the inventory reservation took place. Creation date: (9/6/2001 4:39:57 PM)
Returns:
java.lang.Integer

getReservationId

public java.lang.Long getReservationId()
Returns the reservation id for ATP enabled stores. Returns null for the non-ATP stores. Creation date: (9/6/2001 4:39:30 PM)
Returns:
java.lang.Long

setCatEntryId

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

setDescription

public void setDescription(java.lang.String param)
Set the description for this reservation. Creation date: (9/7/2001 1:25:39 PM)
Parameters:
param - java.lang.String

setQuantity

public void setQuantity(java.lang.Integer argQuantity)
Set the quantity of the product to reserve. Creation date: (4/19/2001 11:59:48 AM)
Parameters:
argQuantity - java.lang.Long

setReservationType

public void setReservationType(java.lang.Long param)
Set the type of reservation. 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