public abstract class GenericInventoryBaseCmdImpl extends TaskCommandImpl
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.
|
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.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
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
ECSystemException
public boolean isGeneric()
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setCatEntryId(java.lang.Long param)
param
- java.lang.Longpublic void setFulfillmentCenterId(java.lang.Integer fid)
public void setItemSpecId(java.lang.Long newItemSpecId)
newItemSpecId
- java.lang.Stringpublic void setQuantity(java.lang.Integer argQuantity)
argQuantity
- java.lang.Longpublic void setReservationId(java.lang.Long rid)
public void setStore(StoreAccessBean param)
param
- com.ibm.commerce.common.objects.StoreAccessBeanpublic void updateInventoryForNonATP() throws ECException
ECException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException