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

📄 jfdao.java

📁 Struts+jdbc开发的合同管理系统,用的SQL Server 2000做为后台数据库!
💻 JAVA
字号:
/*
 * Author :Cao guangxin
 * on 26-三月-2005 at 09:54:55
 * 
 * Mail:relationinfo@hotmail.com
 * 
 * visit:www.relaioninfo.com or www.helpsoft.org
 */

package org.helpsoft.contract.dao;

import org.helpsoft.contract.dto.*;
import org.helpsoft.contract.exceptions.*;

public interface JfDao
{
	/** 
	 * Inserts a new row in the jf table.
	 */
	public JfPk insert(Jf dto) throws JfDaoException;

	/** 
	 * Updates a single row in the jf table.
	 */
	public void update(JfPk pk, Jf dto) throws JfDaoException;

	/** 
	 * Deletes a single row in the jf table.
	 */
	public void delete(JfPk pk) throws JfDaoException;

	/** 
	 * Returns the rows from the jf table that matches the specified primary-key value.
	 */
	public Jf findByPrimaryKey(JfPk pk) throws JfDaoException;

	/** 
	 * Returns all rows from the jf table that match the criteria ''.
	 */
	public Jf[] findAll() throws JfDaoException;

	/** 
	 * Returns all rows from the jf table that match the criteria 'jfbm = :jfbm'.
	 */
	public Jf findByPrimaryKey(String jfbm) throws JfDaoException;

	/** 
	 * Returns all rows from the jf table that match the criteria 'jfbm = :jfbm'.
	 */
	public Jf[] findWhereJfbmEquals(String jfbm) throws JfDaoException;

	/** 
	 * Returns all rows from the jf table that match the criteria 'jfmc = :jfmc'.
	 */
	public Jf[] findWhereJfmcEquals(String jfmc) throws JfDaoException;

	/** 
	 * Sets the value of maxRows
	 */
	public void setMaxRows(int maxRows);

	/** 
	 * Gets the value of maxRows
	 */
	public int getMaxRows();

	/** 
	 * Returns all rows from the jf table that match the specified arbitrary SQL statement
	 */
	public Jf[] findByDynamicSelect(String sql, Object[] sqlParams) throws JfDaoException;

	/** 
	 * Returns all rows from the jf table that match the specified arbitrary SQL statement
	 */
	public Jf[] findByDynamicWhere(String sql, Object[] sqlParams) throws JfDaoException;

}

⌨️ 快捷键说明

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