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

📄 feedbackdao.java

📁 这是jsp网站开发死酷全书的代码
💻 JAVA
字号:
/*
 * This source file was generated by FireStorm/DAO 3.0 (build 99)
 * on 26-十月-2005 at 09:50:56
 * 
 * If you purchase a full license for FireStorm/DAO you can customize this file header.
 * 
 * For more information please visit http://www.codefutures.com/products/firestorm
 */

package cn.wanfeng.myblog.dao;

import cn.wanfeng.myblog.dto.*;
import cn.wanfeng.myblog.exceptions.*;
import java.sql.CallableStatement;

public interface FeedbackDao
{
	/** 
	 * Inserts a new row in the Feedback table.
	 */
	public FeedbackPk insert(Feedback dto) throws FeedbackDaoException;

	/** 
	 * Updates a single row in the Feedback table.
	 */
	public void update(FeedbackPk pk, Feedback dto) throws FeedbackDaoException;

	/** 
	 * Deletes a single row in the Feedback table.
	 */
	public void delete(FeedbackPk pk) throws FeedbackDaoException;

	/** 
	 * Returns the rows from the Feedback table that matches the specified primary-key value.
	 */
	public Feedback findByPrimaryKey(FeedbackPk pk) throws FeedbackDaoException;

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

	/** 
	 * Returns all rows from the Feedback table that match the criteria 'ArticleID = :articleID'.
	 */
	public Feedback findByPrimaryKey(int articleID) throws FeedbackDaoException;

	/** 
	 * Returns all rows from the Feedback table that match the criteria 'ArticleID = :articleID'.
	 */
	public Feedback[] findByArticle(int articleID) throws FeedbackDaoException;

	/** 
	 * Returns all rows from the Feedback table that match the criteria 'ArticleID = :articleID'.
	 */
	public Feedback[] findWhereArticleIDEquals(int articleID) throws FeedbackDaoException;

	/** 
	 * Returns all rows from the Feedback table that match the criteria 'FeedBackID = :feedBackID'.
	 */
	public Feedback[] findWhereFeedBackIDEquals(int feedBackID) throws FeedbackDaoException;

	/** 
	 * Returns all rows from the Feedback table that match the criteria 'Subject = :subject'.
	 */
	public Feedback[] findWhereSubjectEquals(String subject) throws FeedbackDaoException;

	/** 
	 * Returns all rows from the Feedback table that match the criteria 'Content = :content'.
	 */
	public Feedback[] findWhereContentEquals(String content) throws FeedbackDaoException;

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

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

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

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

}

⌨️ 快捷键说明

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