com.parsec.ejbs.portfolio
Class PortfolioEJB
java.lang.Object
|
+--com.parsec.ejbs.portfolio.PortfolioEJB
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable
- public class PortfolioEJB
- extends java.lang.Object
- implements javax.ejb.EntityBean
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortfolioEJB
public PortfolioEJB()
getCustomerId
public java.lang.String getCustomerId()
getShareId
public java.lang.String getShareId()
getHolding
public int getHolding()
getAvgBuyingPrice
public float getAvgBuyingPrice()
setCustomerId
public void setCustomerId(java.lang.String a)
setShareId
public void setShareId(java.lang.String a)
setHolding
public void setHolding(int a)
setAvgBuyingPrice
public void setAvgBuyingPrice(float a)
ejbCreate
public ItemKey ejbCreate(java.lang.String customerId,
java.lang.String shareId,
int holding,
float avgBuyingPrice)
throws javax.ejb.CreateException
ejbFindByPrimaryKey
public ItemKey ejbFindByPrimaryKey(ItemKey primaryKey)
throws javax.ejb.FinderException
ejbFindByCustomerId
public java.util.Collection ejbFindByCustomerId(java.lang.String customerId)
throws javax.ejb.FinderException
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemove in interface javax.ejb.EntityBean
setEntityContext
public void setEntityContext(javax.ejb.EntityContext context)
- Specified by:
setEntityContext in interface javax.ejb.EntityBean
unsetEntityContext
public void unsetEntityContext()
- Specified by:
unsetEntityContext in interface javax.ejb.EntityBean
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate in interface javax.ejb.EntityBean
ejbPassivate
public void ejbPassivate()
- Specified by:
ejbPassivate in interface javax.ejb.EntityBean
ejbLoad
public void ejbLoad()
- Specified by:
ejbLoad in interface javax.ejb.EntityBean
ejbStore
public void ejbStore()
- Specified by:
ejbStore in interface javax.ejb.EntityBean
ejbPostCreate
public void ejbPostCreate(java.lang.String customerId,
java.lang.String shareId,
int holding,
float avgBuyingPrice)