com.bankframe.examples.bo.impl.account
Interface AccountHome
- All Superinterfaces:
- AccountFinders, EJBHome, Remote
public interface AccountHome
- extends EJBHome, AccountFinders
This interface defines the methods for obtaining Account Entity instances
JNDI_NAME
static final String JNDI_NAME
- See Also:
- Constant Field Values
create
Account create(String cardNumber,
String accountNumber,
String accountName)
throws CreateException,
ValidationException,
ProcessingErrorException,
RemoteException
- This method creates a new Account entity instance.
- Parameters:
cardNumber
- accountNumber
- accountName
-
- Throws:
ProcessingErrorException
RemoteException
ValidationException
CreateException
findByPrimaryKey
Account findByPrimaryKey(AccountPK primaryKey)
throws FinderException,
ValidationException,
RemoteException
- This method retrieves the Account entity instance for the specified primary key.
- Parameters:
primaryKey
-
- Throws:
FinderException
RemoteException
ValidationException
Copyright © 2005, 2007, Oracle. All rights reserved.