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

All Superinterfaces:
EJBLocalHome

public interface LocalOrderHome
extends EJBLocalHome


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

Method Detail

create

LocalOrder create(int orderID,
                  LocalAccount account,
                  LocalQuote quote,
                  LocalHolding holding,
                  String orderType,
                  double quantity)
                  throws CreateException
Throws:
CreateException

create

LocalOrder create(Integer orderID,
                  LocalAccount account,
                  LocalQuote quote,
                  LocalHolding holding,
                  String orderType,
                  double quantity)
                  throws CreateException
Throws:
CreateException

findByPrimaryKeyForUpdate

LocalOrder findByPrimaryKeyForUpdate(Integer orderID)
                                     throws FinderException
Throws:
FinderException

findByPrimaryKey

LocalOrder findByPrimaryKey(Integer orderID)
                            throws FinderException
Throws:
FinderException

findAll

Collection findAll()
                   throws FinderException
Throws:
FinderException

findByUserID

Collection findByUserID(String userID)
                        throws FinderException
Throws:
FinderException

findClosedOrders

Collection findClosedOrders(String userID)
                            throws FinderException
Throws:
FinderException

findClosedOrdersForUpdate

Collection findClosedOrdersForUpdate(String userID)
                                     throws FinderException
Throws:
FinderException


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