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

All Superinterfaces:
EJBLocalHome

public interface LocalAccountHome
extends EJBLocalHome


Method Summary
 LocalAccount create(Integer accountID, String userID, String password, BigDecimal openBalance, String fullname, String address, String email, String creditcard)
           
 LocalAccount create(int accountID, String userID, String password, BigDecimal openBalance, String fullname, String address, String email, String creditcard)
           
 Collection findAll()
           
 LocalAccount findByPrimaryKey(Integer accountID)
           
 LocalAccount findByPrimaryKeyForUpdate(Integer accountID)
           
 LocalAccount findByUserID(String userID)
           
 LocalAccount findByUserIDForUpdate(String userID)
           
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Method Detail

create

LocalAccount create(int accountID,
                    String userID,
                    String password,
                    BigDecimal openBalance,
                    String fullname,
                    String address,
                    String email,
                    String creditcard)
                    throws CreateException
Throws:
CreateException

create

LocalAccount create(Integer accountID,
                    String userID,
                    String password,
                    BigDecimal openBalance,
                    String fullname,
                    String address,
                    String email,
                    String creditcard)
                    throws CreateException
Throws:
CreateException

findByPrimaryKey

LocalAccount findByPrimaryKey(Integer accountID)
                              throws FinderException
Throws:
FinderException

findByPrimaryKeyForUpdate

LocalAccount findByPrimaryKeyForUpdate(Integer accountID)
                                       throws FinderException
Throws:
FinderException

findAll

Collection findAll()
                   throws FinderException
Throws:
FinderException

findByUserID

LocalAccount findByUserID(String userID)
                          throws FinderException
Throws:
FinderException

findByUserIDForUpdate

LocalAccount findByUserIDForUpdate(String userID)
                                   throws FinderException
Throws:
FinderException


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