public abstract class GenericInventoryBaseCmdImpl extends TaskCommandImpl
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long | catEntryId |
protected java.lang.Integer | fulfillmentCenterId |
protected java.lang.Long | itemSpecId |
protected StoreAccessBean | origStore |
protected java.lang.Integer | quantity |
protected java.lang.Long | reservationId |
protected StoreAccessBean | store |
Constructor and Description |
---|
GenericInventoryBaseCmdImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long | getCatEntryId()
Get catalog entry id.
|
java.lang.Integer | getFulfillmentCenterId()
Returns the id of the fulfillment center that the inventory reservation took place.
|
java.lang.Long | getItemSpecId()
Get Item specification id.
|
java.lang.Integer | getQuantity()
Get Quantity.
|
java.lang.Long | getReservationId()
Returns the reservation id for ATP enabled stores.
|
StoreAccessBean | getStore()
Get store access bean.
|
void | initParameters()
Initialize some parameters for the command.
|
boolean | isGeneric() |
boolean | isReadyToCallExecute()
Returns true when it is ready to execute.
|
void | reset()
Reset the command's parameters.
|
protected void | resetParameters()
Reset to the original store for the command context.
|
void | setCatEntryId(java.lang.Long param)
Set the catalog Id of the product to reserve.
|
void | setFulfillmentCenterId(java.lang.Integer fid)
Set the fulfillment center that the inventory reservation took place.
|
void | setItemSpecId(java.lang.Long newItemSpecId)
Set the item specification id.
|
void | setQuantity(java.lang.Integer argQuantity)
Set the quantity of the product to reserve.
|
void | setReservationId(java.lang.Long rid)
Set the reservation id for ATP enabled stores.
|
void | setStore(StoreAccessBean param)
Set the store object in which this reservation is taking place.
|
void | updateInventoryForNonATP()
Update inventory for non-ATP store.
|
void | validateParameters()
Validate the command's parameters.
|
protected java.lang.Long catEntryId
protected java.lang.Long reservationId
protected java.lang.Integer fulfillmentCenterId
protected StoreAccessBean store
protected StoreAccessBean origStore
protected java.lang.Integer quantity
protected java.lang.Long itemSpecId
public GenericInventoryBaseCmdImpl()
public java.lang.Long getCatEntryId()
public java.lang.Integer getFulfillmentCenterId()
public java.lang.Long getItemSpecId()
public java.lang.Integer getQuantity()
public java.lang.Long getReservationId()
public StoreAccessBean getStore()
public void initParameters() throws ECSystemException
public boolean isGeneric()
public boolean isReadyToCallExecute()
public void reset()
protected void resetParameters()
public void setCatEntryId(java.lang.Long param)
public void setFulfillmentCenterId(java.lang.Integer fid)
public void setItemSpecId(java.lang.Long newItemSpecId)
public void setQuantity(java.lang.Integer argQuantity)
public void setReservationId(java.lang.Long rid)
public void setStore(StoreAccessBean param)
public void updateInventoryForNonATP() throws ECException
public void validateParameters() throws ECException