org.apache.geronimo.samples.daytrader.ejb
Interface LocalHoldingHome

All Superinterfaces:
EJBLocalHome

public interface LocalHoldingHome
extends EJBLocalHome


Method Summary
 LocalHolding create(Integer holdingID, LocalAccount account, LocalQuote quote, double quantity, BigDecimal purchasePrice)
           
 LocalHolding create(int holdingID, LocalAccount account, LocalQuote quote, double quantity, BigDecimal purchasePrice)
           
 Collection findAll()
           
 Collection findByAccountID(Integer AccountID)
           
 LocalHolding findByPrimaryKey(Integer holdingID)
           
 LocalHolding findByPrimaryKeyForUpdate(Integer holdingID)
           
 Collection findByUserID(String userID)
           
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Method Detail

create

LocalHolding create(Integer holdingID,
                    LocalAccount account,
                    LocalQuote quote,
                    double quantity,
                    BigDecimal purchasePrice)
                    throws CreateException
Throws:
CreateException

create

LocalHolding create(int holdingID,
                    LocalAccount account,
                    LocalQuote quote,
                    double quantity,
                    BigDecimal purchasePrice)
                    throws CreateException
Throws:
CreateException

findByPrimaryKeyForUpdate

LocalHolding findByPrimaryKeyForUpdate(Integer holdingID)
                                       throws FinderException
Throws:
FinderException

findByPrimaryKey

LocalHolding findByPrimaryKey(Integer holdingID)
                              throws FinderException
Throws:
FinderException

findAll

Collection findAll()
                   throws FinderException
Throws:
FinderException

findByAccountID

Collection findByAccountID(Integer AccountID)
                           throws FinderException
Throws:
FinderException

findByUserID

Collection findByUserID(String userID)
                        throws FinderException
Throws:
FinderException


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.