| java.lang.Object com.sun.j2ee.blueprints.lineitem.ejb.LineItemEJB
LineItemEJB | abstract public class LineItemEJB implements EntityBean(Code) | | This is the main Entity Bean class for LineItemEJB
|
Method Summary | |
public void | ejbActivate() | public Object | ejbCreate(String catId, String prodId, String itemId, String lineNo, int qty, float price, int qtyShipped) | public Object | ejbCreate(LineItem lineItem, int qty) | public void | ejbLoad() | public void | ejbPassivate() | public void | ejbPostCreate(String catId, String prodId, String itemId, String lineNo, int qty, float price, int qtyShipped) | public void | ejbPostCreate(LineItem lineItem, int qty) | public void | ejbRemove() | public void | ejbStore() | abstract public String | getCategoryId() | public LineItem | getData() | abstract public String | getItemId() | abstract public String | getLineNumber() | abstract public String | getProductId() | abstract public int | getQuantity() | abstract public int | getQuantityShipped() | abstract public float | getUnitPrice() | abstract public void | setCategoryId(String id) | public void | setEntityContext(EntityContext c) | abstract public void | setItemId(String id) | abstract public void | setLineNumber(String num) | abstract public void | setProductId(String id) | abstract public void | setQuantity(int qty) | abstract public void | setQuantityShipped(int qty) | abstract public void | setUnitPrice(float price) | public void | unsetEntityContext() |
ejbActivate | public void ejbActivate()(Code) | | |
ejbCreate | public Object ejbCreate(String catId, String prodId, String itemId, String lineNo, int qty, float price, int qtyShipped) throws CreateException(Code) | | The ejb create method - returns object because there is primary key
|
ejbCreate | public Object ejbCreate(LineItem lineItem, int qty) throws CreateException(Code) | | |
ejbLoad | public void ejbLoad()(Code) | | |
ejbPassivate | public void ejbPassivate()(Code) | | |
ejbPostCreate | public void ejbPostCreate(String catId, String prodId, String itemId, String lineNo, int qty, float price, int qtyShipped) throws CreateException(Code) | | |
ejbPostCreate | public void ejbPostCreate(LineItem lineItem, int qty) throws CreateException(Code) | | |
ejbRemove | public void ejbRemove() throws RemoveException(Code) | | |
ejbStore | public void ejbStore()(Code) | | |
getCategoryId | abstract public String getCategoryId()(Code) | | Accessor for line item's category id
String the category id |
getData | public LineItem getData()(Code) | | |
getItemId | abstract public String getItemId()(Code) | | Accessor for line item's item id
String the item id |
getLineNumber | abstract public String getLineNumber()(Code) | | Accessor for line item's line number
String the linenumber |
getProductId | abstract public String getProductId()(Code) | | Accessor for line item's product id
String the product id |
getQuantity | abstract public int getQuantity()(Code) | | Accessor for line item's quantity
int the quantity |
getQuantityShipped | abstract public int getQuantityShipped()(Code) | | Accessor for line item's qty that is shipped
int the qty already shipped |
getUnitPrice | abstract public float getUnitPrice()(Code) | | Accessor for line item's unit price
float the unit price |
setCategoryId | abstract public void setCategoryId(String id)(Code) | | Setter for line item's category id
Parameters: String - the category id |
setEntityContext | public void setEntityContext(EntityContext c)(Code) | | Other life cycle methods
|
setItemId | abstract public void setItemId(String id)(Code) | | Setter for line item's item id
Parameters: String - the item id |
setLineNumber | abstract public void setLineNumber(String num)(Code) | | Setter for line item's line number
Parameters: String - the line number |
setProductId | abstract public void setProductId(String id)(Code) | | Setter for line item's product id
Parameters: String - the product id |
setQuantity | abstract public void setQuantity(int qty)(Code) | | Setter for line item's quantity
int the quantity |
setQuantityShipped | abstract public void setQuantityShipped(int qty)(Code) | | Setter for line item's quantity that is already shipped
int the qty already shipped |
setUnitPrice | abstract public void setUnitPrice(float price)(Code) | | Setter for line item's unit price
float the unit price |
unsetEntityContext | public void unsetEntityContext()(Code) | | |
|
|