com.sun.j2ee.blueprints.inventory.ejb
Interface Inventory
- public interface Inventory
- extends javax.ejb.EJBObject
This interface provides methods to view and modify inventory
information for a particular item.
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
getDetails
public InventoryModel getDetails()
throws java.rmi.RemoteException
- Returns:
- the inventory information for this item.
reduceQuantity
public void reduceQuantity(int qty)
throws java.rmi.RemoteException
- reduces the quantity in inventory by qty amount
addQuantity
public void addQuantity(int qty)
throws java.rmi.RemoteException
- increases the quantity in inventory by qty amount
Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.