📄 creditcardlocalhome.java
字号:
package com.j2eeapp.cdstore.customer;
import javax.ejb.*;
import java.util.Date;
import com.j2eeapp.cdstore.vo.CreditCard;
public interface CreditCardLocalHome extends EJBLocalHome
{
/**
* @J2EE_METHOD -- findByPrimaryKey
* Called by the client to find an EJB bean instance, usually find by primary key.
* @throws javax.ejb.FinderException
*/
public com.j2eeapp.cdstore.customer.CreditCardLocal findByPrimaryKey (String primaryKey)
throws FinderException;
/**
* @J2EE_METHOD -- create
* Called by the client to create an EJB bean instance. It requires a matching pair in
* the bean class, i.e. ejbCreate().
* @throws java.rmi.RemoteException
* @throws javax.ejb.CreateException
*/
public com.j2eeapp.cdstore.customer.CreditCardLocal create (String cardNumber) throws CreateException;
public CreditCardLocal create(String cardNumber, String cardType, Date expiryDate) throws CreateException;
public CreditCardLocal create(CreditCard creditCard) throws CreateException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -