com.bankframe.examples.bo.impl.account
Interface AccountHome
- All Superinterfaces: 
 - AccountFinders, javax.ejb.EJBHome, java.rmi.Remote
 
- public interface AccountHome
- extends javax.ejb.EJBHome, AccountFinders
  
This interface defines the methods for obtaining Account Entity instances
- Author:
 
  - ETU
 
| 
Field Summary | 
static java.lang.String | 
JNDI_NAME
 
            | 
 
| 
Method Summary | 
 Account | 
create(java.lang.String cardNumber,
       java.lang.String accountNumber,
       java.lang.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 | 
 
 
JNDI_NAME
public static final java.lang.String JNDI_NAME
- See Also:
 - Constant Field Values
 
create
public Account create(java.lang.String cardNumber,
                      java.lang.String accountNumber,
                      java.lang.String accountName)
               throws javax.ejb.CreateException,
                      ValidationException,
                      ProcessingErrorException,
                      java.rmi.RemoteException
- This method creates a new Account entity instance.
 
- Parameters:
 cardNumber - accountNumber - accountName - 
- Throws:
 ProcessingErrorException
java.rmi.RemoteException
ValidationException
javax.ejb.CreateException
 
 
findByPrimaryKey
public Account findByPrimaryKey(AccountPK primaryKey)
                         throws javax.ejb.FinderException,
                                ValidationException,
                                java.rmi.RemoteException
- This method retrieves the Account entity instance for the specified primary key.
 
- Parameters:
 primaryKey - 
- Throws:
 java.rmi.RemoteException
ValidationException
javax.ejb.FinderException
 
 
Copyright © 2004 Siebel Systems, Inc. All rights reserved.