CreditCardPack

com.keyoti.creditCard.logic.ejb
Interface CreditCardLocalHome


public interface CreditCardLocalHome
extends javax.ejb.EJBLocalHome

Local home object interface for CreditCardEJB.

Author:
Keyoti

Method Summary
 CreditCardLocal create(String cardNumber)
          Creates an instance of the CreditCardBean class on the server, and returns a reference with CreditCard interface to the client.
 Collection findByCardName(String cardName)
          Creates a Collection of instances of CreditCardBean with card name == cardName
 Collection findByExpiryDate(Integer month, Integer year)
          Creates a Collection of instances of CreditCardBean with card expiry month == month AND expiry year == year
 CreditCardLocal findByPrimaryKey(String cardNumber)
          Creates an instance of the CreditCardBean class on the server where the object primary key == cardNumber, and returns a reference with CreditCard interface to the client.
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Method Detail

create

public CreditCardLocal create(String cardNumber)
                       throws javax.ejb.CreateException
Creates an instance of the CreditCardBean class on the server, and returns a reference with CreditCard interface to the client.

findByPrimaryKey

public CreditCardLocal findByPrimaryKey(String cardNumber)
                                 throws javax.ejb.FinderException
Creates an instance of the CreditCardBean class on the server where the object primary key == cardNumber, and returns a reference with CreditCard interface to the client.

findByCardName

public Collection findByCardName(String cardName)
                          throws javax.ejb.FinderException
Creates a Collection of instances of CreditCardBean with card name == cardName

findByExpiryDate

public Collection findByExpiryDate(Integer month,
                                   Integer year)
                            throws javax.ejb.FinderException
Creates a Collection of instances of CreditCardBean with card expiry month == month AND expiry year == year

CreditCardPack

Copyright © 2002 Keyoti All Rights Reserved.