public class ProductAvailabilityDataBeanCmdImpl extends DataBeanCommandImpl implements ProductAvailabilityDataBeanCmd
Name | Description |
---|---|
ProductAvailabilityDataBean | a databean represents the productAvailability |
Name | Description |
---|---|
AvailableDate | available date |
FormattedTotalQuantityOnHand | total quantity of the product |
ExpectedInventory | expected inventory |
Constructor and Description |
---|
ProductAvailabilityDataBeanCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void | checkExternalInventory()
Check external inventory.
|
void | checkLocalExpectedInventory()
This method checks the local expected inventory cache
|
void | checkLocalOnHandInventory()
This method checks the local onhand inventory cache
|
java.sql.Timestamp | getAvailableDate()
This method gets the available date
|
java.util.List | getExpectedInventory()
This method gets the expected inventory
|
FormattedQuantityAmountDataBean | getFormattedTotalQuantityOnHand()
This method gets the formatted total on hand quantity
|
java.util.List | getFulfillmentCenterInventory()
This method gets the fulfillment center inventory
|
InventoryClientFacadeImpl | getInventoryClientFacade()
This method gets the inventory client facade.
|
java.lang.String | getInventoryStatus()
This method gets the inventory status
|
QuantityAmount | getTotalQuantityOnHand()
This method gets the total onhand quantity
|
void | performExecute()
This method performs the main logic of the task command
|
void | reset()
This method resets the command fields.
|
void | setFulfillmentCenterIds(java.lang.Integer[] argFulfillmentCenterIds)
This method sets the fulfillment center Ids
|
void | setRequestProperties(TypedProperty val)
This method sets the request properties
|
void | setSKU(java.lang.String argSku)
This method sets the sku
|
void | validateParameters()
Validate the parameters for the command.
|
public InventoryClientFacadeImpl getInventoryClientFacade()
public void checkLocalExpectedInventory() throws ECException, javax.ejb.FinderException, java.lang.NumberFormatException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.CreateException, java.sql.SQLException
public void checkLocalOnHandInventory() throws ECSystemException, ECApplicationException, javax.ejb.FinderException, java.lang.NumberFormatException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.CreateException, java.sql.SQLException
public java.lang.String getInventoryStatus()
public void setSKU(java.lang.String argSku)
public void setFulfillmentCenterIds(java.lang.Integer[] argFulfillmentCenterIds)
public java.util.List getFulfillmentCenterInventory()
public QuantityAmount getTotalQuantityOnHand()
public java.sql.Timestamp getAvailableDate()
public java.util.List getExpectedInventory()
public FormattedQuantityAmountDataBean getFormattedTotalQuantityOnHand()
public void performExecute() throws ECException
public void checkExternalInventory() throws ECApplicationException, java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setRequestProperties(TypedProperty val)
public void reset()
This method resets the command fields.
After this method is invoked, and proper attributes are set, the command can be executed again.
public void validateParameters() throws ECException