|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Inventory
Local interface for Inventory entity bean.
| Method Summary | |
|---|---|
int |
decreaseInventory(int quantity)
Decrease the quantity of this inventory item. |
int |
getCategory()
Get the inventory category. |
float |
getCost()
Get the inventory item cost. |
java.lang.String |
getDescription()
Get the inventory item description. |
java.lang.String |
getHeading()
Get the inventory item description heading. |
java.lang.String |
getID()
Get the inventory ID. |
java.lang.String |
getImage()
Get the inventory item image file name. |
byte[] |
getImgbytes()
Get the inventory item image binary data. |
int |
getMaxThreshold()
Get accessor for persistent attribute: maxThreshold |
int |
getMinThreshold()
Get accessor for persistent attribute: minThreshold |
java.lang.String |
getName()
Get the inventory item name. |
java.lang.String |
getNotes()
Get the notes of inventory in stock. |
java.lang.String |
getPkginfo()
Get the inventory item package info. |
float |
getPrice()
Get the inventory item price. |
int |
getQuantity()
Get the quantity of inventory in stock. |
void |
increaseInventory(int quantity)
Increase the quantity of this inventory item. |
boolean |
isPublic()
Is this inventory item viewable by the public? |
void |
setCategory(int category)
Set the inventory item's category. |
void |
setCost(float cost)
Set the inventory item's cost. |
void |
setDescription(java.lang.String desc)
Set the inventory item's description. |
void |
setHeading(java.lang.String heading)
Set the inventory item's description heading. |
void |
setImage(java.lang.String image)
Set the inventory item's image file name. |
void |
setImgbytes(byte[] imgbytes)
Set the inventory item's image binary data. |
void |
setMaxThreshold(int newMaxThreshold)
Set accessor for persistent attribute: maxThreshold |
void |
setMinThreshold(int newMinThreshold)
Set accessor for persistent attribute: minThreshold |
void |
setName(java.lang.String name)
Set the inventory item's name. |
void |
setNotes(java.lang.String note)
Set the inventory item's notes. |
void |
setPkginfo(java.lang.String pkginfo)
Set the inventory item's package info. |
void |
setPrice(float price)
Set the inventory item's price. |
void |
setPrivacy(boolean isPublic)
Set the inventory item's public availability. |
void |
setQuantity(int amount)
Set the inventory item's quantity in stock. |
| Methods inherited from interface javax.ejb.EJBLocalObject |
|---|
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
| Method Detail |
|---|
java.lang.String getID()
java.lang.String getName()
java.lang.String getHeading()
java.lang.String getDescription()
java.lang.String getPkginfo()
java.lang.String getImage()
byte[] getImgbytes()
float getPrice()
float getCost()
int getQuantity()
int getCategory()
java.lang.String getNotes()
boolean isPublic()
void setName(java.lang.String name)
void setHeading(java.lang.String heading)
void setDescription(java.lang.String desc)
void setPkginfo(java.lang.String pkginfo)
void setCategory(int category)
void setImage(java.lang.String image)
void setImgbytes(byte[] imgbytes)
void setPrice(float price)
void setCost(float cost)
void setQuantity(int amount)
void setNotes(java.lang.String note)
void setPrivacy(boolean isPublic)
void increaseInventory(int quantity)
quantity - The number to increase the inventory by.int decreaseInventory(int quantity)
quantity - The number to decrease the inventory by.
int getMinThreshold()
void setMinThreshold(int newMinThreshold)
int getMaxThreshold()
void setMaxThreshold(int newMaxThreshold)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||