accountlocalhome.java

来自「《J2EE企业级应用开发》一书的配套源代码」· Java 代码 · 共 30 行

JAVA
30
字号
package com.j2eeapp.cdstore.customer;

import javax.ejb.*;

public interface AccountLocalHome extends EJBLocalHome
{
    
    public static final String Active = "active";
    public static final String Disabled = "disabled";
    
    /**
     * @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.AccountLocal 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.AccountLocal create    (String userId,String status) 
                throws CreateException;
   public AccountLocal create(String userId,String status, ContactInfoLocal contactInfo,
    CreditCardLocal creditCard) throws CreateException;

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?