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


Field Summary
static String JNDI_NAME
           
 
Method Summary
 Account create(String cardNumber, String accountNumber, String accountName)
          This method creates a new Account entity instance.
 Account findByPrimaryKey(AccountPK primaryKey)
          This method retrieves the Account entity instance for the specified primary key.
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 
Methods inherited from interface com.bankframe.examples.bo.account.AccountFinders
findAll
 

Field Detail

JNDI_NAME

static final String JNDI_NAME
See Also:
Constant Field Values
Method Detail

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.