|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines a stateless API for providing inventory related
functionality. This interface is exposed as a stateless session EJB
that can be created using the InventoryProviderHome
.
InventoryProviderHome
Method Summary | |
int |
checkInventory(java.lang.String aProductSKU)
Checks the quantity in stock for a given product (sku) |
java.util.List |
getProductInventory(java.util.List skus)
Returns a list of Inventory objects for a given list of SKUs |
java.util.List |
getProductPartInventory(java.lang.String aSKU)
Returns a list of Inventory objects for a given SKU |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
Method Detail |
public int checkInventory(java.lang.String aProductSKU) throws java.rmi.RemoteException, java.lang.IllegalArgumentException, ApplicationException
aProductSKU
- sku (unique identifier for a given product)aProductSKU
is null
public java.util.List getProductInventory(java.util.List skus) throws java.rmi.RemoteException, java.lang.IllegalArgumentException, ApplicationException
Inventory
objects for a given list of SKUs
skus
is null
or
of zero-length.public java.util.List getProductPartInventory(java.lang.String aSKU) throws java.rmi.RemoteException, java.lang.IllegalArgumentException, ApplicationException
Inventory
objects for a given SKU
aSKU
is null
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |