com.sun.j2ee.blueprints.petstore.control.web
Class InventoryWebImpl

java.lang.Object
  |
  +--com.sun.j2ee.blueprints.petstore.control.web.InventoryWebImpl

public class InventoryWebImpl
extends java.lang.Object

This class is the web tier representation of the Product Inventory.


Constructor Summary
InventoryWebImpl()
           
 
Method Summary
 int getInventory(java.lang.String itemId)
          Get the amount of an item available directly from the InventoryEJB.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InventoryWebImpl

public InventoryWebImpl()
Method Detail

getInventory

public int getInventory(java.lang.String itemId)
Get the amount of an item available directly from the InventoryEJB.
Returns:
the amount of an item in inventory. 0 is returned by default.
See Also:
InventoryModel, Inventory


Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.