inetstore.java

来自「基于servlet/xml开发的网上书店 下载有需写web.xml配置」· Java 代码 · 共 34 行

JAVA
34
字号
package netstore.service.ejb;

import java.rmi.RemoteException;
import java.util.List;
import netstore.businessobjects.*;
import netstore.framework.exceptions.*;

/**
 * The business interface for the Netstore session bean
 */
public interface INetstore {

  public Customer authenticate(String email, String password) throws
  InvalidLoginException,ExpiredPasswordException,AccountLockedException,DatastoreException,RemoteException;

  public List getItems(int beginIndex,int length) throws DatastoreException, RemoteException;

  public Item getItemById( Long id )
    throws DatastoreException, RemoteException;

  public Customer getCustomerById( Long id )
    throws DatastoreException, RemoteException;

  public void saveOrUpdateCustomer(Customer customer )
    throws DatastoreException, RemoteException;

  public void saveOrder(Order order)
    throws DatastoreException, RemoteException;
  
  public void destroy( ) throws RemoteException;

 
}

⌨️ 快捷键说明

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