⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 productmanager.java

📁 Struts数据库项目中的一个实例
💻 JAVA
字号:
package com.relationinfo.service;import java.util.List;import com.relationinfo.model.Product;import com.relationinfo.dao.ProductDAO;public interface ProductManager extends Manager {    /**     * Setter for DAO, convenient for unit testing     */    public void setProductDAO(ProductDAO productDAO);    /**     * Retrieves all of the products     */    public List getProducts(Product product);    /**     * Gets product's information based on productid.     * @param productid the product's productid     * @return product populated product object     */    public Product getProduct(final String productid);    /**     * Saves a product's information     * @param product the object to be saved     */    public void saveProduct(Product product);    /**     * Removes a product from the database by productid     * @param productid the product's productid     */    public void removeProduct(final String productid);}

⌨️ 快捷键说明

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