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, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic 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
ECSystemExceptionpublic boolean isGeneric()
public boolean isReadyToCallExecute()
isReadyToCallExecute in interface com.ibm.websphere.command.CommandisReadyToCallExecute in class AbstractECTargetableCommandpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic 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
ECExceptionpublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException