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

All Superinterfaces:
EJBLocalHome

public interface LocalQuoteHome
extends EJBLocalHome


Method Summary
 LocalQuote create(String symbol, String companyName, BigDecimal price)
           
 Collection findAll()
           
 LocalQuote findByPrimaryKey(String symbol)
           
 LocalQuote findByPrimaryKeyForUpdate(String symbol)
           
 LocalQuote findOne()
           
 Collection findQuotes(String symbols)
           
 Collection findTSIAQuotes()
           
 Collection findTSIAQuotesOrderByChange()
           
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Method Detail

create

LocalQuote create(String symbol,
                  String companyName,
                  BigDecimal price)
                  throws CreateException
Throws:
CreateException

findByPrimaryKeyForUpdate

LocalQuote findByPrimaryKeyForUpdate(String symbol)
                                     throws FinderException
Throws:
FinderException

findByPrimaryKey

LocalQuote findByPrimaryKey(String symbol)
                            throws FinderException
Throws:
FinderException

findOne

LocalQuote findOne()
                   throws FinderException
Throws:
FinderException

findAll

Collection findAll()
                   throws FinderException
Throws:
FinderException

findTSIAQuotes

Collection findTSIAQuotes()
                          throws FinderException
Throws:
FinderException

findTSIAQuotesOrderByChange

Collection findTSIAQuotesOrderByChange()
                                       throws FinderException
Throws:
FinderException

findQuotes

Collection findQuotes(String symbols)
                      throws FinderException
Throws:
FinderException


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