📄 productmanager.java
字号:
package com.netshop.domain.service;
import java.util.List;
import com.netshop.domain.dao.ProductDao;
import com.netshop.domain.model.Category;
import com.netshop.domain.model.Item;
import com.netshop.domain.model.Product;
public interface ProductManager {
public void setProductDao (ProductDao dao);
public ProductDao getProductDao ();
List getCategoryList();
Category getCategory(int categoryId);
List getProductListByCategory(int categoryId);
List searchProductList(String keywords);
Product getProduct(int productId);
List getItemListByProduct(int productId);
Item getItem(int itemId);
boolean isItemInStock(int itemId);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -