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

All Superinterfaces:
javax.ejb.EJBLocalHome

public interface LocalOrderHome
extends javax.ejb.EJBLocalHome


Method Summary
 LocalOrder create(java.lang.Integer orderID, LocalAccount account, LocalQuote quote, LocalHolding holding, java.lang.String orderType, double quantity)
           
 LocalOrder create(int orderID, LocalAccount account, LocalQuote quote, LocalHolding holding, java.lang.String orderType, double quantity)
           
 java.util.Collection findAll()
           
 LocalOrder findByPrimaryKey(java.lang.Integer orderID)
           
 LocalOrder findByPrimaryKeyForUpdate(java.lang.Integer orderID)
           
 java.util.Collection findByUserID(java.lang.String userID)
           
 java.util.Collection findClosedOrders(java.lang.String userID)
           
 java.util.Collection findClosedOrdersForUpdate(java.lang.String userID)
           
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Method Detail

create

public LocalOrder create(int orderID,
                         LocalAccount account,
                         LocalQuote quote,
                         LocalHolding holding,
                         java.lang.String orderType,
                         double quantity)
                  throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

create

public LocalOrder create(java.lang.Integer orderID,
                         LocalAccount account,
                         LocalQuote quote,
                         LocalHolding holding,
                         java.lang.String orderType,
                         double quantity)
                  throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

findByPrimaryKeyForUpdate

public LocalOrder findByPrimaryKeyForUpdate(java.lang.Integer orderID)
                                     throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

findByPrimaryKey

public LocalOrder findByPrimaryKey(java.lang.Integer orderID)
                            throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

findAll

public java.util.Collection findAll()
                             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

findClosedOrders

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

findClosedOrdersForUpdate

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


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