|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface InventoryHome
| Method Summary | |
|---|---|
Inventory |
create(InventoryKey key,
java.lang.String name,
java.lang.String heading,
java.lang.String desc,
java.lang.String pkginfo,
java.lang.String image,
float price,
float cost,
int quantity,
int category,
java.lang.String notes,
int isPublic)
Create a new Inventory. |
Inventory |
create(StoreItem item)
Create a new Inventory. |
Inventory |
create(java.lang.String inventoryID)
Creates an instance from a key for Entity Bean: Inventory |
java.util.Collection |
findByCategory(int category)
Finds all Inventory beans by category type. |
java.util.Collection |
findByNameLikeness(java.lang.String name)
Finds all Inventory beans by whose name contains the given string. |
Inventory |
findByPrimaryKey(InventoryKey key)
Finds the Inventory bean with the specified key. |
Inventory |
findByPrimaryKeyUpdate(java.lang.String inventoryID)
Finds the Inventory bean with the specified key. |
| Methods inherited from interface javax.ejb.EJBLocalHome |
|---|
remove |
| Method Detail |
|---|
Inventory findByPrimaryKeyUpdate(java.lang.String inventoryID)
throws javax.ejb.FinderException
inventoryID - InventoryKey of Inventory bean desired.
javax.ejb.FinderException
Inventory create(InventoryKey key,
java.lang.String name,
java.lang.String heading,
java.lang.String desc,
java.lang.String pkginfo,
java.lang.String image,
float price,
float cost,
int quantity,
int category,
java.lang.String notes,
int isPublic)
throws javax.ejb.CreateException
key - InventoryKeyname - Name of inventory item.heading - Description heading of inventory item.desc - Description of inventory item.pkginfo - Package info of inventory item.image - Image of inventory item.price - Price of inventory item.cost - Cost of inventory item.quantity - Quantity of inventory items in stock.category - Category of inventory item.notes - Notes of inventory item.isPublic - Access permission of inventory item.
javax.ejb.CreateException
Inventory create(StoreItem item)
throws javax.ejb.CreateException
item - StoreItem to use to make a new inventory item.
javax.ejb.CreateException
Inventory findByPrimaryKey(InventoryKey key)
throws javax.ejb.FinderException
key - InventoryKey of Inventory bean desired.
javax.ejb.FinderException
java.util.Collection findByCategory(int category)
throws javax.ejb.FinderException
category - Category of Inventory bean wanted.
javax.ejb.FinderException
java.util.Collection findByNameLikeness(java.lang.String name)
throws javax.ejb.FinderException
name - Name of Inventory bean wanted.
javax.ejb.FinderException
Inventory create(java.lang.String inventoryID)
throws javax.ejb.CreateException
javax.ejb.CreateException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||