com.ibm.websphere.samples.i18nctx.currencyexchangeejb
Interface LocalCustomerHome

All Superinterfaces:
javax.ejb.EJBLocalHome

public interface LocalCustomerHome
extends javax.ejb.EJBLocalHome

This is a Local Home interface for the Entity Bean


Method Summary
 LocalCustomer findByPrimaryKey(java.lang.String account)
          find a customer in DB by primary key (account)
 LocalCustomer findByPrincipal(java.lang.String account, java.lang.String password)
          find a customer in DB by principal (account & password)
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Method Detail

findByPrimaryKey

LocalCustomer findByPrimaryKey(java.lang.String account)
                               throws javax.ejb.FinderException
find a customer in DB by primary key (account)

Parameters:
account - java.lang.String
Returns:
com.ibm.websphere.samples.i18nctx.currencyexchangeejb.LocalCustomer
Throws:
javax.ejb.FinderException

findByPrincipal

LocalCustomer findByPrincipal(java.lang.String account,
                              java.lang.String password)
                              throws javax.ejb.FinderException
find a customer in DB by principal (account & password)

Parameters:
account - java.lang.String
password - java.lang.String
Returns:
com.ibm.websphere.samples.i18nctx.currencyexchangeejb.LocalCustomer
Throws:
javax.ejb.FinderException