com.ibm.commerce.inventory.commands
Interface ReserveInventoryCmd

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

public interface ReserveInventoryCmd
extends TaskCommand

This task command creates a reservation of a requested quantity of inventory of a given item from a given fulfillment center for a given store. Following a successful reservation, the reservation number may be obtained by calling the getReserveId() method. Required arguments are: requested quantity itemspec id fulfillment center id store id reservation type description (reservation instance)


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.ReserveInventoryCmdImpl".
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.inventory.commands.ReserveInventoryCmd".
 
Method Summary
 java.lang.Long getReserveId()
          method description: return the reserve_id.
 void setFFCId(java.lang.Integer argFFCId)
          method description: set the fulfillment center id.
 void setItemSpcId(java.lang.Long argItemSpcId)
          method description: set the itemspecid.
 void setQuantity(java.lang.Integer argQuantity)
          method description: set the quantity.
 void setReservationInstance(java.lang.String argReservationInstance)
          method description: set the reservation description.
 void setReservationType(java.lang.Long argReservationType)
          method description: set the reservation type.
 
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.ReserveInventoryCmdImpl".

NAME

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

getReserveId

public java.lang.Long getReserveId()
method description: return the reserve_id.

setFFCId

public void setFFCId(java.lang.Integer argFFCId)
method description: set the fulfillment center id.

setItemSpcId

public void setItemSpcId(java.lang.Long argItemSpcId)
method description: set the itemspecid.

setQuantity

public void setQuantity(java.lang.Integer argQuantity)
method description: set the quantity.

setReservationInstance

public void setReservationInstance(java.lang.String argReservationInstance)
method description: set the reservation description.

setReservationType

public void setReservationType(java.lang.Long argReservationType)
method description: set the reservation type.