📄 inetstore.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -