⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 orderlocalhome.java

📁 《J2EE企业级应用开发》一书的配套源代码
💻 JAVA
字号:
package com.j2eeapp.cdstore.order;

import javax.ejb.*;
import java.util.*;

public interface OrderLocalHome 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 OrderLocal 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 OrderLocal create    (String orderId) 
                throws CreateException;
    
    /**
     * @J2EE_METHOD  --  findOrderBetweenDates
     * Called by the client to find an EJB bean instance, usually find by primary key.
     */
    public java.util.Collection findOrderBetweenDates    (long begin, long end) 
                throws FinderException;
    public Collection findAllUncomfirmedOrders(String userId)throws FinderException;
    public Collection findAllComfirmedOrders(String userId)throws FinderException;
    public Collection findAllPassedOrders(String userId)throws FinderException;
    public Collection findAllShippedOrders(String userId)throws FinderException;
    public Collection findAllCanceledOrders(String userId)throws FinderException;
    public Collection findAllUnPassedAndUnCanceled(String userId)throws FinderException;
    
}

⌨️ 快捷键说明

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