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

📄 productdao.java

📁 Struts数据库项目中的一个实例
💻 JAVA
字号:
package com.relationinfo.dao;import java.util.List;import com.relationinfo.model.Product;public interface ProductDAO extends DAO {    /**     * Retrieves all of the products     */    public List getProducts(Product product);    /**     * Gets product's information based on primary key. An     * ObjectRetrievalFailureException Runtime Exception is thrown if      * nothing is found.     *      * @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 + -