picturedao.java

来自「Jsp网站开发四库全书中的blog网站设计」· Java 代码 · 共 94 行

JAVA
94
字号
/*
 * 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 + =
减小字号Ctrl + -
显示快捷键?