📄 inetstoreservice.java
字号:
package netstore.service;
import javax.servlet.ServletContext;
import java.util.List;
import netstore.framework.exceptions.DatastoreException;
import netstore.framework.security.IAuthentication;
import netstore.businessobjects.*;
import netstore.framework.ShoppingCart;
/**
* The business interface for the Netstore Application. It defines all
* of the methods that a client may call on the Netstore application.
*
* This interface extends the IAuthentication interface to create a
* cohesive interface for the Netstore application.
*/
public interface INetstoreService extends IAuthentication {
public List getItems(int beginIndex,int length) throws DatastoreException;
public Item getItemById( Long id )
throws DatastoreException;
public Customer getCustomerById( Long id )
throws DatastoreException;
public void saveOrUpdateCustomer(Customer customer )
throws DatastoreException;
public void saveOrder(Order order)
throws DatastoreException;
public void setServletContext( ServletContext ctx );
public void destroy();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -