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

📄 goodiado.java

📁 Java项目开发与毕业设计指导 朱福喜, 黄昊编著 清华大学出版社 项目2
💻 JAVA
字号:
package iado;

import java.sql.Date;
import java.sql.SQLException;
import java.util.Collection;


/**
 * @author lixiaoqing
 *
 */
public interface GoodIAdo {
	/**
	 * @param goodID
	 * @return
	 */
	public Collection selectGoodByID(int goodID) throws SQLException;
	
	/**
	 * @return
	 */
	public Collection selectGoods() throws SQLException;
	
	/**
	 * @param categoryID
	 * @param goodName
	 * @param goodPrice
	 * @param userID
	 * @param datetime
	 * @param description
	 * @param picID
	 * @return
	 * @throws SQLException
	 */
	public void addGood(int categoryID,String goodName,double goodPrice,int userID,Date datetime,String description,int picID) throws SQLException;

	/**
	 * @param goodID
	 * @param goodName
	 * @param goodPrice
	 * @param description
	 */
	public void updateGoodBasicInfo(int goodID,String goodName,double goodPrice,String description) throws SQLException;

	/**
	 * @param goodID
	 * @param category
	 */
	public void updateGoodCategory(int goodID,int categoryID) throws SQLException;
	
	/**
	 * @param goodID
	 */
	public void deleteGoodByID(int goodID) throws SQLException;
	
	/**
	 * @throws SQLException
	 */
	public void close() throws SQLException;
}

⌨️ 快捷键说明

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