?? 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 + -