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

📄 picturedao.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 PictureDao
{
	/** 
	 * Inserts a new row in the Picture table.
	 */
	public PicturePk insert(Picture dto) throws PictureDaoException;

	/** 
	 * Updates a single row in the Picture table.
	 */
	public void update(PicturePk pk, Picture dto) throws PictureDaoException;

	/** 
	 * Deletes a single row in the Picture table.
	 */
	public void delete(PicturePk pk) throws PictureDaoException;

	/** 
	 * Returns the rows from the Picture table that matches the specified primary-key value.
	 */
	public Picture findByPrimaryKey(PicturePk pk) throws PictureDaoException;

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

	/** 
	 * Returns all rows from the Picture table that match the criteria 'PictureID = :pictureID'.
	 */
	public Picture findByPrimaryKey(int pictureID) throws PictureDaoException;

	/** 
	 * Returns all rows from the Picture table that match the criteria 'CategoryID = :categoryID'.
	 */
	public Picture[] findByCategory(int categoryID) throws PictureDaoException;

	/** 
	 * Returns all rows from the Picture table that match the criteria 'PictureID = :pictureID'.
	 */
	public Picture[] findWherePictureIDEquals(int pictureID) throws PictureDaoException;

	/** 
	 * Returns all rows from the Picture table that match the criteria 'CategoryID = :categoryID'.
	 */
	public Picture[] findWhereCategoryIDEquals(int categoryID) throws PictureDaoException;

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

	/** 
	 * Returns all rows from the Picture table that match the criteria 'FileName = :fileName'.
	 */
	public Picture[] findWhereFileNameEquals(String fileName) throws PictureDaoException;

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

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

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

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

}

⌨️ 快捷键说明

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