productmanager.java

来自「这是一个bookstore的应用」· Java 代码 · 共 26 行

JAVA
26
字号
package com.netshop.domain.service;


import java.util.List;

import com.netshop.domain.model.Category;
import com.netshop.domain.model.Item;
import com.netshop.domain.model.Product;

public interface ProductManager {
    List getCategoryList();

    Category getCategory(String categoryId);

    List getProductListByCategory(String categoryId);

    List searchProductList(String keywords);

    Product getProduct(String productId);

    List getItemListByProduct(String productId);

    Item getItem(String itemId);

    boolean isItemInStock(String itemId);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?