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

📄 visitordao.java

📁 有简单的网上书店需求及设计流程
💻 JAVA
字号:
package org.wiely.dao;

import java.util.List;

import org.wiely.vo.Visitor;

/**
 * the interface named visitorDAO,two methods to provide opration the value
 * object for visitor
 */
public interface VisitorDAO {

	/**
	 * 
	 * @return List
	 * @throws Exception
	 * @describe get all Visitors from database
	 */
	@SuppressWarnings("unchecked")
	public List getVisitors(int currentPage, int pageSize) throws Exception;

	/**
	 * 
	 * @return int
	 * @throws Exception
	 * @describe getTotalRecords from database.
	 */
	public int getTotalRecords() throws Exception;

	/**
	 * @param visitor
	 * @throws Exception
	 * @describe insert into the new visitor to database
	 */
	public void insertVisitor(Visitor visitor) throws Exception;
}

⌨️ 快捷键说明

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