com.parsec.ejbs.portfolio
Interface PortfolioHome

All Superinterfaces:
javax.ejb.EJBHome, java.rmi.Remote

public interface PortfolioHome
extends javax.ejb.EJBHome


Method Summary
 Portfolio create(java.lang.String customerId, java.lang.String shareId, int holding, float avgBuyingPrice)
           
 java.util.Collection findByCustomerId(java.lang.String customerId)
           
 Portfolio findByPrimaryKey(ItemKey primaryKey)
           
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

public Portfolio create(java.lang.String customerId,
                        java.lang.String shareId,
                        int holding,
                        float avgBuyingPrice)
                 throws java.rmi.RemoteException,
                        javax.ejb.CreateException

findByPrimaryKey

public Portfolio findByPrimaryKey(ItemKey primaryKey)
                           throws javax.ejb.FinderException,
                                  java.rmi.RemoteException

findByCustomerId

public java.util.Collection findByCustomerId(java.lang.String customerId)
                                      throws javax.ejb.FinderException,
                                             java.rmi.RemoteException