beer4allservice.java
来自「采用Struts框架做的网上啤酒买卖系统」· Java 代码 · 共 23 行
JAVA
23 行
package com.cavaness.beer4all.service;import java.util.List;import com.cavaness.beer4all.common.exceptions.DatabaseException;import com.cavaness.beer4all.common.view.UserView;import com.cavaness.beer4all.common.exceptions.InvalidLoginException;import com.cavaness.beer4all.catalog.view.ItemView;//系统服务模型接口public interface Beer4AllService { public List getFeaturedItems() throws DatabaseException; //获取商品列表 public List getFeaturedCatalogs() throws DatabaseException; //获取商品目录 public UserView authenticate(String username, String password) throws DatabaseException, InvalidLoginException; //获取用户信息 public void logout(String email) throws DatabaseException; public ItemView getItemById( String itemId ) throws DatabaseException; //获取所购买的物品信息}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?