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

All Superinterfaces:
javax.ejb.EJBLocalHome

public interface LocalHoldingHome
extends javax.ejb.EJBLocalHome


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

Method Detail

create

public LocalHolding create(java.lang.Integer holdingID,
                           LocalAccount account,
                           LocalQuote quote,
                           double quantity,
                           java.math.BigDecimal purchasePrice)
                    throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

create

public LocalHolding create(int holdingID,
                           LocalAccount account,
                           LocalQuote quote,
                           double quantity,
                           java.math.BigDecimal purchasePrice)
                    throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

findByPrimaryKeyForUpdate

public LocalHolding findByPrimaryKeyForUpdate(java.lang.Integer holdingID)
                                       throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

findByPrimaryKey

public LocalHolding findByPrimaryKey(java.lang.Integer holdingID)
                              throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

findAll

public java.util.Collection findAll()
                             throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

findByAccountID

public java.util.Collection findByAccountID(java.lang.Integer AccountID)
                                     throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

findByUserID

public java.util.Collection findByUserID(java.lang.String userID)
                                  throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException


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