public class ExternalInventoryBaseTaskCmdImpl extends TaskCommandImpl implements ExternalInventoryBaseTaskCmd
Name | Description |
---|---|
CallerCommandName | the command that invokes the DoInventoryAction |
action | the action that indicates how to deal with inventory |
orderId | the Id of the order that need perform inventory action |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
ExternalInventoryBaseTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected boolean | checkLocalCache(OrderAccessBean iabOrder)
This method checks whether the local inventory cache has cached the availability of the product.
|
protected java.sql.Timestamp | checkLocalExpectedInventory(CatalogEntryAccessBean foundCatEntryAB, java.lang.Double askQuantity)
This method checks whether the local expected inventory cache has cached the availability of the product
|
int | getAction()
This method gets the action
|
java.lang.String | getCallerCommandName()
This method gets the CallerCommandName
|
protected boolean | getCallInventory(java.lang.Long parentCatEntryId)
This method checks if the requested product is an empty kit or nested kit
|
protected com.ibm.commerce.foundation.datatypes.CommerceFoundationFactory | getCommerceFoundationFactory()
This method gets CommerceFoundationFactory
|
ExpectedInventoryRecordsAccessBean | getExternalOMSRA()
This method gets the expected inventory records found by the checkLocalExpectedInventory() method
|
protected InventoryClientFacadeImpl | getInventoryClientFacade()
This method gets the inventory client facade
|
com.ibm.commerce.inventory.datatypes.InventoryFactory | getInventoryFacotry()
This method gets the InventoryFactory
|
protected InventoryStatusConvertor | getInventoryStatusConvertor()
This method gets the InventoryStatus Convertor
|
protected OrderClientFacadeImpl | getOrderClientFacade()
This method gets Order client facade.
|
protected com.ibm.commerce.order.datatypes.OrderFactory | getOrderFactory()
This method gets OrderFactory
|
java.lang.String[] | getOrderIds()
This method gets the OrderIds
|
void | reset()
This method resets the parameters
|
protected void | resetItemAllocation(OrderItemAccessBean oIAB)
This method resets the AllocatedQuantity,InventoryStatus, AllocatedFulfillmentCenterId,PromisedAvailableTime and LastAllocatedUpdate fields of order item.
|
void | setAction(int argAction)
This method sets the action
|
void | setCallerCommandName(java.lang.String argCallerCommandName)
This method sets the callerCommandName
|
void | setOrderIds(java.lang.String[] argIstrOrderIds)
This method sets OrderIds
|
void | validateParameters()
This method performs server side parameter checking.
|
public static final java.lang.String COPYRIGHT
public ExpectedInventoryRecordsAccessBean getExternalOMSRA()
public java.lang.String[] getOrderIds()
public void setOrderIds(java.lang.String[] argIstrOrderIds)
public void setCallerCommandName(java.lang.String argCallerCommandName)
protected InventoryStatusConvertor getInventoryStatusConvertor()
public java.lang.String getCallerCommandName()
public com.ibm.commerce.inventory.datatypes.InventoryFactory getInventoryFacotry()
protected InventoryClientFacadeImpl getInventoryClientFacade()
protected com.ibm.commerce.foundation.datatypes.CommerceFoundationFactory getCommerceFoundationFactory()
protected OrderClientFacadeImpl getOrderClientFacade()
protected com.ibm.commerce.order.datatypes.OrderFactory getOrderFactory()
protected boolean checkLocalCache(OrderAccessBean iabOrder) throws ECException, java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean getCallInventory(java.lang.Long parentCatEntryId) throws ECException
protected java.sql.Timestamp checkLocalExpectedInventory(CatalogEntryAccessBean foundCatEntryAB, java.lang.Double askQuantity) throws ECException, java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void validateParameters() throws ECException
public void reset()
public int getAction()
public void setAction(int argAction)
protected void resetItemAllocation(OrderItemAccessBean oIAB) throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException