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

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

public interface QuoteHome
extends javax.ejb.EJBHome, java.rmi.Remote


Method Summary
 Quote create(java.lang.String symbol, java.lang.String companyName, java.math.BigDecimal price)
           
 java.util.Collection findAll()
           
 Quote findByPrimaryKey(java.lang.String symbol)
           
 Quote findByPrimaryKeyForUpdate(java.lang.String symbol)
           
 Quote findOne()
           
 java.util.Collection findQuotes(java.lang.String symbols)
           
 java.util.Collection findTSIAQuotes()
           
 java.util.Collection findTSIAQuotesOrderByChange()
           
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

public Quote create(java.lang.String symbol,
                    java.lang.String companyName,
                    java.math.BigDecimal price)
             throws javax.ejb.CreateException,
                    java.rmi.RemoteException
Throws:
javax.ejb.CreateException
java.rmi.RemoteException

findByPrimaryKeyForUpdate

public Quote findByPrimaryKeyForUpdate(java.lang.String symbol)
                                throws javax.ejb.FinderException,
                                       java.rmi.RemoteException
Throws:
javax.ejb.FinderException
java.rmi.RemoteException

findByPrimaryKey

public Quote findByPrimaryKey(java.lang.String symbol)
                       throws javax.ejb.FinderException,
                              java.rmi.RemoteException
Throws:
javax.ejb.FinderException
java.rmi.RemoteException

findOne

public Quote findOne()
              throws javax.ejb.FinderException,
                     java.rmi.RemoteException
Throws:
javax.ejb.FinderException
java.rmi.RemoteException

findAll

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

findTSIAQuotes

public java.util.Collection findTSIAQuotes()
                                    throws javax.ejb.FinderException,
                                           java.rmi.RemoteException
Throws:
javax.ejb.FinderException
java.rmi.RemoteException

findTSIAQuotesOrderByChange

public java.util.Collection findTSIAQuotesOrderByChange()
                                                 throws javax.ejb.FinderException,
                                                        java.rmi.RemoteException
Throws:
javax.ejb.FinderException
java.rmi.RemoteException

findQuotes

public java.util.Collection findQuotes(java.lang.String symbols)
                                throws javax.ejb.FinderException,
                                       java.rmi.RemoteException
Throws:
javax.ejb.FinderException
java.rmi.RemoteException


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